Make your ML solid!
Project description
Table of Contents
About The Project
Solidipy-MIPT is a Python library designed to provide a solid foundation for machine learning tasks. It includes various machine learning algorithms such as Weighted k-nearest neighbors (WKNN) and regressions, along with evaluation metrics to assess model performance.
Built With
Major frameworks/libraries used to bootstrap solidipy-mipt.
Getting Started
To get a local copy up and running follow these simple example steps.
Prerequisites
Before installing Solidipy-MIPT make sure you have last version of Python3 and pip.
Installation
You can install solidipy-mipt using pip:
pip install solidipy-mipt
Usage
Simple Weighted KNN example
import numpy as np
from solidipy_mipt import accuracy
from solidipy_mipt.algorithms import WKNN
X = np.array([[1, 2], [3, 4], [5, 6], [7, 8]])
y = np.array([0, 1, 0, 1])
X_train, X_test, y_train, y_test = train_test_split(
X, y, train_ratio=0.6, shuffle=True
)
wknn = WKNN()
wknn.fit(X_train, y_train)
prediction = wknn.predict(X_test)
print(accuracy(prediction, y_test))
For more examples, please refer to the solidipy_mipt examples
Contributing
Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.
If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
License
Distributed under the MIT License. See LICENSE.txt for more information.
Contact
Matvei Gorskii - t.me/Kynemallv - matveygor41@gmail.com
Project Link: https://github.com/your_username/repo_name
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file solidipy_mipt-1.2.3.tar.gz.
File metadata
- Download URL: solidipy_mipt-1.2.3.tar.gz
- Upload date:
- Size: 15.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
34878839b04da033b82bed3ce7d6d2cbb6e349971b50e8c88f131d179449ac8b
|
|
| MD5 |
2db60e366ce916361626aea05a6db95f
|
|
| BLAKE2b-256 |
a9372e73bff88fff9b28d4529388ed73ba21bb8b2071d06cc26bb27d9dfaefd6
|
File details
Details for the file solidipy_mipt-1.2.3-py3-none-any.whl.
File metadata
- Download URL: solidipy_mipt-1.2.3-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
eced119dd2c615167a29b62444be5820f533c73155102b1981bbc7e1f1402e91
|
|
| MD5 |
cb86c1a7cf06ccd6d5bf1911530e86d6
|
|
| BLAKE2b-256 |
2e25560846016b524ca53ee63ca920a4ea8db37b4eee82d7940e1112f1addf99
|