Skip to main content

Make your ML solid!

Project description


Logo

Solidipy-MIPT

Make your ML solid!
Examples · Report Bug · Request Feature

Table of Contents
  1. About The Project
  2. Getting Started
  3. Usage
  4. Contributing
  5. License
  6. Contact

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.

(back to top)

Built With

Major frameworks/libraries used to bootstrap solidipy-mipt.

(back to top)

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

(back to top)

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

(back to top)

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!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

License

Distributed under the MIT License. See LICENSE.txt for more information.

(back to top)

Contact

Matvei Gorskii - t.me/Kynemallv - matveygor41@gmail.com

Project Link: https://github.com/your_username/repo_name

(back to top)

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

solidipy_mipt-1.2.3.tar.gz (15.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

solidipy_mipt-1.2.3-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

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

Hashes for solidipy_mipt-1.2.3.tar.gz
Algorithm Hash digest
SHA256 34878839b04da033b82bed3ce7d6d2cbb6e349971b50e8c88f131d179449ac8b
MD5 2db60e366ce916361626aea05a6db95f
BLAKE2b-256 a9372e73bff88fff9b28d4529388ed73ba21bb8b2071d06cc26bb27d9dfaefd6

See more details on using hashes here.

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

Hashes for solidipy_mipt-1.2.3-py3-none-any.whl
Algorithm Hash digest
SHA256 eced119dd2c615167a29b62444be5820f533c73155102b1981bbc7e1f1402e91
MD5 cb86c1a7cf06ccd6d5bf1911530e86d6
BLAKE2b-256 2e25560846016b524ca53ee63ca920a4ea8db37b4eee82d7940e1112f1addf99

See more details on using hashes here.

Supported by

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