Skip to main content

A simple Python Package for Model Evalutaion

Project description

Table of Contents

About The Project

A very elegant and simple library to evaluate models.

This module builds the BarPlot, BoxPlot, CountPlot, DistPlot, HeatMap, PairPlot and ViolinPlot only with one line of code. A folder is created 'Plots' where the pdf files of all the plots are stored. Along with this, a pdf file will be generated 'FinalPlots.pdf' which contains all the plots with which EDA can be performed easily.

This module will evaulate the Classification problems and Regression problems with 12 and 6 algorithms respectively.

The Classification algorithms are KNN,LogisticRegression,DecisionTreeClassifier, RandomForestClassifier, SupportVectorClassifier, QuadraticDiscriminantSnalysis, SGDClassifier, AdaBoost, CalibratedClassifier, MultinomialNB, BernoulliNB, GaussianNB.

The Regression algorithms are LinearRegression, PolynomialRegression, RidgeRegression, LassoRegression, SupportVectorRegressor, GradientBoostingRegression.

We also have implemented the Adjusted R Squared method as the Regression Metric Evaluation.

In Classification , Highest Accuracy is Highlighted in Yellow colour.

In Regression , Least Error is Highlighted in Yellow colour.

Installation

  1. Clone the repo
gh repo clone Anand-gokul/pyevals
  1. Install using pip or pip3
pip3 install pyevals

(or)

pip install pyevals

Usage

import pyevals

# For Exploratory Data Analysis (or) For building the plots

pyevals.BuildPlots(data,CategoricalFeatures,ContinuousFeatures)

'''CategoricalFeatures and the ContinuousFeatures are the lists of the Categorical
and Continuous Features of the dataset respectively. '''


# For Classification

Object = pyevals.build(x_train,x_test,y_train,y_test,'classification')
Object.evaluate()

# For Regression

Object = pyevals.build(x_train,x_test,y_train,y_test,'regression')
Object.evaluate()

Future Work

In this version we are only providing the reports and the plots as many as possible. We are working on improving the plots for better EDA.We will try to implement hyperparameter optimization techniques to get the better results. We will also try to implement other algorithms in classification and regression soon.

Contact

Githublink - https://github.com/Anand-gokul/pyevals

Sai Gokul Krishna Reddy Talla - @Krish - gokulkrishna.talla@gmail.com

Ananda Datta Sai Phanindra Tangirala - @Anand - tangiralaphanindra@gmail.com

Anirudh Palaparthi - @Anirudh - aniruddhapnbb@gmail.com

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyevals-1.3.8.tar.gz (11.7 kB view details)

Uploaded Source

Built Distribution

pyevals-1.3.8-py3-none-any.whl (11.8 kB view details)

Uploaded Python 3

File details

Details for the file pyevals-1.3.8.tar.gz.

File metadata

  • Download URL: pyevals-1.3.8.tar.gz
  • Upload date:
  • Size: 11.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for pyevals-1.3.8.tar.gz
Algorithm Hash digest
SHA256 18a5ae0e4a1cda0d25c17ee4b638b9d86042413f6910c1bb6a0a53ec2876fb02
MD5 90aacca27f428a910cef2cb2989eb928
BLAKE2b-256 b997ec357c33cb7d066bd643402aebc1751ce850a84340c06278e6e1b1a982f1

See more details on using hashes here.

File details

Details for the file pyevals-1.3.8-py3-none-any.whl.

File metadata

  • Download URL: pyevals-1.3.8-py3-none-any.whl
  • Upload date:
  • Size: 11.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.7.3

File hashes

Hashes for pyevals-1.3.8-py3-none-any.whl
Algorithm Hash digest
SHA256 f8b9bd50094d4345a7beb8629c85c6852a569ef42fc15c61251fc2f8859da528
MD5 555b4356c02e8cef14cc0f1e3e6fe5b0
BLAKE2b-256 b37c94e60770cd327b3905218635cf56fb3e2d0ad85c1f33f785655a4cf5b0a5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page