The Machine Learning class is a versatile Python tool designed to simplify the creation, optimization, and evaluation of machine learning pipelines. It integrates seamlessly with popular libraries such as scikit-learn, Optuna (for hyperparameter tuning), and SHAP (for model interpretation).
For a detailed example using MLCore, please refer to the xxxx.ipynb notebook in this repository. This notebook demonstrates how to leverage the module to streamline the development and optimization of machine learning models.
Start your experimentation with a practical dataset like the Mobile Phone Price Prediction Cleaned Dataset from Kaggle. This dataset offers a real-world scenario for applying MLCore to predictive modeling tasks.
This project includes a Makefile to automate common tasks. Use make <command> to execute specific tasks defined in the Makefile.
Begin by creating a compute instance to run your notebooks.
Install poetry and other dependencies by running:
make setupThis command triggers the setup process defined in the Makefile. For a full list of commands and their functionalities, review the Makefile.
Note: To run your notebooks in this virtual environment, add the created environment to your list of available kernels.
Push your code to the notebooks using SSH or HTTP:
- Generate an SSH key on the compute instance.
- Add this SSH key to your Git repository platform.
Once configured, continue with the Getting_Your_Data.ipynb notebook to retrieve data, set up your environment, and execute jobs.
This project framework includes the following features:
- Simplified pipeline creation
- Integrated hyperparameter optimization
- Model interpretation support
- Extensible and modular design
- Operating System: Windows, Linux, or macOS
- Python (version 3.7 or later)
- Familiarity with command line operations
To clone and set up the project:
- Clone the repository:
git clone [repository URL]
- Change to the repository directory:
cd [repository name] - Install required dependencies via Poetry:
make setup
Follow these steps to get up and running quickly:
- Clone the repository and navigate into the folder.
- Run
make setupto install dependencies. - Open the provided Jupyter notebooks and start experimenting.
A demo application is included to showcase the usage of ML Library. To run the demo, follow the steps below:
- Set up your compute instance and install dependencies.
- Run the demo using the provided script/notebook.
- Enjoy exploring machine learning pipeline creation with ease.
For additional resources and guidance, visit our repository linked above.
