Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

metriccoders_ml-0.0.3.tar.gz (3.8 kB view hashes)

Uploaded Source

Built Distribution

metriccoders_ml-0.0.3-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

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