Coder Social home page Coder Social logo

deguiyu / tune-hyperparameters-with-pso Goto Github PK

View Code? Open in Web Editor NEW

This project forked from dsp6414/tune-hyperparameters-with-pso

0.0 0.0 0.0 14 KB

Explore different machine learning algorithms and tune hyperparameters with particle swarm optimization (PSO) automatically

License: MIT License

Python 100.00%

tune-hyperparameters-with-pso's Introduction

tune-hyperparameters-with-PSO

The hyperparameters of machine learning algorithms are usually tuned by grid search and random search. In the grid search, every combination of the hyperparameters is compared to determine the optimum hyperparameter. However, the grid search only searches a small portition of the hyperparameter space, which are specified subjectively. In the random search, the hyperparameters determined may not even be local optimum. The derivative-free optimization method, particle swarm optimization (PSO), is used in this repository to effectively and efficiently find the optimum or near-optimum hyperparameter. The hyperparameters are categorized as two types: discrete value and continuous value. The continuous value can be selected from uniform distribution if the hyperparameter is in a small range or log-uniform distribution if the order of maginitude is unknown.

For the classifiction, the machine learning algorithms include: logistic regression, SVC, MLP, kNN, naive Bayes.

For the regression, the machine learning algorithms include: linear regression, quadratic regression, SVR, MLP, decision tree, naive Bayes, random forest, gradient boosting machine.

tune-hyperparameters-with-pso's People

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.