Giter Site home page Giter Site logo

hyperml's Introduction

HyperML

Optimizing ML hyperparameter problem using heuristic algorithm

Updated log

Support algorithms

Heuristic

  • PSO
  • VOA

Machine Learning

Classification

Regression

Scoring

All the scores

How to start

Requirements

Python 3.8

In anaconda, conda create --name test python=3.8 can create a new env

pip install -r requirements.txt install all packages

Task

Hyperparameter

python ./hyperml/main.py hyper start to tune the hyperparameters with heuristic

Please refer following information on parameter config for your experiment

hyper_parser.add_argument("-m","--model", help="KNN,MLP,SVM,RF,ADA,XGBoost", default="ADA")
hyper_parser.add_argument("-a","--algo", help="PSO,VOA,RANDOM", default="RANDOM")
hyper_parser.add_argument("-s","--scoring", help="cls: accuracy, f1, recall, precision, specificity; reg: r2, neg_mean_absolute_error, neg_mean_squared_error", default="r2")
hyper_parser.add_argument("-k","--k_fold", help="set k value , need to >1", default=3, type=int)
hyper_parser.add_argument("-c","--confusion_m", help="Do you need to gernerate the confusion_matrix?(False or True)", default=False, type=bool

Clustering

python ./hyperml/main.py cluster

Feature Selection

python ./hyperml/main.py feat_select

The results will be saved in ./results

Video

Tutorial

hyperml's People

Contributors

darker66678 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.