ML-Algorithm
Introduction
Implement machine learning algorithms with python without sklearn. Some classes are design especially for CQU-ML course by Professor.He
Install
With pip : pip3 install cquai-ml
With src : Clone or fork this project, then build it with python3 setup.py install
Usage
In most cases, API in this project is similar to scikit-learn project.
For example, if you want to run a decision tree classifier based on C4.5 (While scikit-learn use opt-CART instead of C4.5)
from cquai_ml import DecisionTreeClassifier
from sklearn.datasets import load_breast_cancer # get a dataset
X, y = load_breast_cancer(return_X_y=True)
clf1 = DecisionTreeClassifier(max_depth=1).fit(X, y)
pred1 = clf1.predict(X)
Contributing
Everyone is welcomed to contribute!
- We currently provides:
DatasetSpace
UnionHypothesisSpace
LinearRegression
LogisticRegression
LinearDiscriminantAnalysis
KNeighborsClassifier
DecisionTreeRegressor
DecisionTreeClassifier
Metadata
Release files for cquai-ml 1.0.7
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| cquai-ml-1.0.7.tar.gz | 10.5 kB | Without provenance | Details |
Release files / cquai-ml-1.0.7.tar.gz
| Download URL | cquai-ml-1.0.7.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
670ae771f02ef806107e6d2039a679c42c4b97eb241be675644d7a74851a2e6e
|
|
BLAKE2b-256 checksum How to use checksums |
e8d42413757c58517d1b6a7276506ffac55f572e9e7943547f6694c122b82662
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/41.6.0 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.8
|
Security for cquai-ml 1.0.7
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.