Skip to main content

Performance Overview of Supervised Learning methods

Do not know which supervised learning method is good for your dataset? Would you like to know it in just few seconds?

Congratulations:

You are about to learn about a package which gives you the solution to all above problems!

This small package of merely few bytes and code written in less than 100 lines, provide you the overview of all fundamental metrics measured for almost all supervised learning method.

Models evaluated:

Metrics considered:

Decision Trees

Logistic Regression

Accuracy

Precision

Naive Bayes

SVM

Jaccard Score

F1_Score

Neural Networks

K-NN

R (Corr. Coeff.)

ROC AUC

Random Forest

Adaboost

MSE

Log Loss


Mandatory inputs required:

A Pandas DataFrame

Optional inputs in the given order:
  • Column numbers for the predictors in the form of a LIST

    Default: It will take all columns except the last one.

  • Column number for the response in the form of a LIST

    Default: It will take the last column.

  • Test size in Float Ex. 0.3 for 30% Test Size.

    Default: 0.25 (25% Test size) will be assumed.


How to install:

Type pip install basicanalysis in command line to install the package

To call the module from this package, type from basicanalysis.basicanalysis import basicanalysis

Note : To import other modules, use the following command.

from basicanalysis.basicanalysis import knn from basicanalysis.basicanalysis import knn_10fold from basicanalysis.basicanalysis import *


Neat! Isn’t it?

MAJOR UPDATE: 0.0.3 -> 0.1.0, BasicAnalysis -> basicanalysis

  • Added class knn to run K-NN method to compare with multiple inputs

  • Added class knn_10fold to run K-nn method on training data with 10-fold cross validation, comparing multiple inputs.


README file for the task

Written in reStructuredText or .rst file, and used to generate the project page on PyPI. Images coming soon…

Release files for basicanalysis 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for basicanalysis 0.1.1
File Size Uploaded
basicanalysis-0.1.1.tar.gz 5.1 kB Details

Release files / basicanalysis-0.1.1.tar.gz

Download URL basicanalysis-0.1.1.tar.gz
Size 5.1 kB
Tags Source
SHA-256 checksum
How to use checksums
587b9ed0f5214a5399beff17d019a7dd0ddc70428269d1887bc1e20f2665ce3e
BLAKE2b-256 checksum
How to use checksums
7573243b3f63580aff8111366b5d1a44fd71a180164ada9112e67d357f36e0f8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.13.0 pkginfo/1.4.2 requests/2.21.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.28.1 CPython/3.7.1

Release history Release notifications | RSS feed

This release

0.1.1 This release

1 release file

0.1.0

1 release file

0.0.3

1 release file

0.0.2

1 release file

0.0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page