This is a python package to load ML models from Metric Coders repository
Project description
Metric Coders Model Loader
Overview
Welcome to Metric Coders Model Loader PyPI Package source code. Your one-stop solution for effortlessly loading machine learning models directly from GitHub repository of Metric Coders Model Hub. This Python package is designed to simplify the process of fetching and integrating pre-trained models hosted on GitHub, allowing you to focus on the magic of your machine learning applications.
Features
- GitHub Integration: Seamlessly fetch machine learning models hosted on GitHub with just a few lines of code.
- Versatility: Compatible with various machine learning frameworks and models stored in GitHub repositories.
- Easy to Use: Minimal setup and intuitive functions for quick integration into your projects.
- Customizable: Adapt the loading process to suit your specific project requirements.
Installation
pip install metriccoders_ml
Usage
Load a Model from GitHub
from ml_algorithms.algorithms import MLPowerEngine
from sklearn.datasets import load_iris
# Specify the GitHub repository URL
repo_url = "https://github.com/metriccoders/ml-models/blob/main/classifiers/discriminant_analysis_109/model0.437902612044043_False_0.0029324921266509207/model.joblib"
# Load the model from GitHub
engine = MLPowerEngine(repo_url)
ml_engine = engine.load_model()
iris = load_iris()
print(ml_engine.predict(iris.data))
Contribution
Contributions are welcome! If you have ideas for improvements, bug fixes, or new features, feel free to submit a pull request.
License
This project is licensed under the MIT License - see the LICENSE file for details.
Support
For any questions, issues, or feedback, please open an issue.
Let's make loading machine learning models from Metric Coders Model Hub a breeze! 🚀
Project details
Release history Release notifications | RSS feed
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
File details
Details for the file metriccoders_ml-0.0.3.tar.gz
.
File metadata
- Download URL: metriccoders_ml-0.0.3.tar.gz
- Upload date:
- Size: 3.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bbe3c45036196930ff81228062bf9cb5570ba5e83b649a48df4f7205dc907ffd |
|
MD5 | 0f0485e7cfdef52eb003119f6268e592 |
|
BLAKE2b-256 | 0e7cf562e8037d390399318c22c3f100dd2283c28d52acd64108a1fb0f25b715 |
File details
Details for the file metriccoders_ml-0.0.3-py3-none-any.whl
.
File metadata
- Download URL: metriccoders_ml-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2254c352b6c51354b7cd5bbe3a05996a20d7605380101b8c8fb7de7e6c05fa5 |
|
MD5 | d74b9d1a98aa87dadf39abc449ba62cc |
|
BLAKE2b-256 | 26e32b5ae26d73847cd527390b62dd67bc788ca999dc25c06dd16b70652cdd48 |