Skip to content

Automated machine learning. Evaluate a battery of binary classification algorithms across feature and hyper-parameter spaces.

Notifications You must be signed in to change notification settings

SamoraHunter/ml_binary_classification_gridsearch_hyperOpt

Repository files navigation

ml_binary_classification_gridsearch_hyperOpt

This repository contains Python code for binary classification using grid search and hyperparameter optimization techniques.

Table of Contents

Overview

Binary classification is a common machine learning task where the goal is to categorize data into one of two classes. This repository provides a framework for performing binary classification using various machine learning algorithms and optimizing their hyperparameters through grid search and hyperparameter optimization techniques.

Diagrams

Below are visual diagrams representing various components of the project. All .mmd source files are Mermaid diagrams, and the rendered versions are available in .svg or .png formats.

Feature Importance

Data Pipeline

Grid Parameter Search Space

Hyperparameter Search

Imputation Pipeline

ML Repository Architecture

Model Class Listing (Time Series)

Project Scoring and Model Saving

Time Series Helper Functions

Unit Test - Synthetic Data

Getting Started

Prerequisites

Designed for usage with a numeric data matrix for binary classification. Single or multiple outcome variables (One v rest). An example is provided. Time series is also implemented.

Installation

Windows:

  1. Clone the repository:

    git clone https://github.com/SamoraHunter/ml_binary_classification_gridsearch_hyperOpt.git
    cd ml_binary_classification_gridsearch_hyperOpt
  2. Run the installation script:

    install.bat

Unix/Linux:

  1. Clone the repository:

    git clone https://github.com/SamoraHunter/ml_binary_classification_gridsearch_hyperOpt.git
    cd ml_binary_classification_gridsearch_hyperOpt
  2. Run the installation script:

    chmod +x install.sh
    ./install.sh
import sys
sys.path.append('/path/to/ml_grid')
import ml_grid

Usage

See Appendix

Examples

See [ml_grid/tests/unit_test_synthetic.ipynb]

Contributing

If you would like to contribute to this project, please follow these steps:

Fork the repository on GitHub. Create a new branch for your feature or bug fix. Make your changes and commit them with descriptive commit messages. Push your changes to your fork. Create a pull request to the main repository's master branch.

License

This project is licensed under the MIT License - see the LICENSE file for details.

Appendix

Acknowledgments

scikit-learn hyperopt

About

Automated machine learning. Evaluate a battery of binary classification algorithms across feature and hyper-parameter spaces.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published