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 hashes)

Uploaded Source

Built Distribution

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

Uploaded Python 3

Supported by

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