Skip to main content

This module is used to get metrics of Machine Learning/Deep Learning Models.It consists of all sklearn.metrics and stats module methods.Using this module you can also use all all different distances obtained in metrics.pairwise.cosine_distance etc.

from sklearning.metrics import *

y_test = [0,1,2,3,4]

y_pred = [0,1,2,3,5]

#Root Mean Squared Error

rmse = rootMeanSquaredError(y_test,y_pred)

print(rmse)

o/p:0.4472135954999579

#Regressor Summary

summary = regressorSummary(y_test,y_pred)

print(summary)

#Stats Value

statsValue(y_test,y_pred)

o/p:

statsValue(y_test,y_pred)

pvalues

[0.53047777 0.00190127]

tvalues

[-0.70710678 10.39230485]

rsquared

0.972972972972973

rsquared_adj

0.963963963963964

#All methods of sklean.metrics can be used by just giving the name of methods ex:

mse = mean_squared_error(y_test,y_pred)

print(mse)

o/p: 0.2

Metadata

Release files for sklearning 0.0.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 sklearning 0.0.1
File Size Uploaded Provenance Actions
sklearning-0.0.1.tar.gz 2.8 kB Without provenance Details for sklearning-0.0.1.tar.gz

Release files / sklearning-0.0.1.tar.gz

Download URL sklearning-0.0.1.tar.gz
Size 2.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b5b136d5b18e5d905ec77a1ea7551fed31a3f95873411d0619882cbe96096385
BLAKE2b-256 checksum
How to use checksums
c5dc184c77e3215609fe8f9690b302c4467bd2c8d4748785e1051786184b1cc9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.8.4rc1

Security for sklearning 0.0.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.0.1 This release

1 release file No provenance

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