Skip to content

MLgenerator is a web app which help you to generate machine learning starter code with ease.

License

Notifications You must be signed in to change notification settings

durgeshsamariya/MLgenerator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

78 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MLGenerator: Machine Learning Code Generator

MLgenerator

A web-app to generate code for different machine learning task.

It is developed in my free time while learning and main motivation is to help machine learning beginers with starter code.

Try out MLGenerator : https://ml-generator.herokuapp.com

MLGenerator is simple web based machine learning starter code generator, build using streamlit. You can build custom starter code for different machine learning algorithms/tasks such as Regression, Classification, Clustering and Anomaly(Outlier) detection. MLGenerator uses different widely used Python libraries for different task such as Scikit-Learn, PyOD etc.

MLgenerator is inspired by traingenerator

Major Machine Learning Algorithms included in MLGenerator

  1. Classification
  • Linear Regression
  • k-Nearest Neighbors (k-NN)
  • Decision Trees
  • Random Forest
  • Support Vector Machine
  • Naive Bayes
  1. Clustering
  • K-means
  • DBSCAN
  • OPTICS
  • BIRCH
  1. Anomaly Detection
  • LOF
  • iForest
  • kNN
  1. Dimensionality Reduction
  • PCA
  • t-SNE

Installation

To run MLgenerator in your local system, you have to install MLgenerator first.

git clone https://github.com/durgeshsamariya/MLgenerator.git
cd MLgenerator
pip install -r requirements.txt

Run MLgenerator in your system

streamlit run app/main.py

Contribution

If you want to add template in MLgenerator, you can do it by following steps.

  1. Add sidebar method in ./app/sidebars/{Desired Task}.py. This function should contains a {Algorithm_Name}_sidebar() method.
  2. Update ./app/main.py file with appropriate sidebar imports and call method.
  3. Create folder in ./templates/{Desired Task}/. The folder should be algorithm name.
  4. Create code template code-template.py.jinja in ./templates/{Desired Task}/{Algorithm Name}.