Skip to content

Python tools for Hyperparameter optimization of machine learning algorithms (BDT and NN)

Notifications You must be signed in to change notification settings

HEP-KBFI/tth-bdt-hyperparameter-optimization

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tth-bdt-hyperparameter-optimization Build Status

Evolutionary algorithms for hyperparameter optimization for BDT (XGBoost) and NN (with MNIST numbers dataset for testing).

Installation

If running with CMSSW:

git clone https://github.com/HEP-KBFI/tth-bdt-hyperparameter-optimization.git $CMSSW_BASE/src/tthAnalysis/bdtHyperparameterOptimization
cd $CMSSW_BASE/src
scram b -j 8
cd $CMSSW_BASE/src/tthAnalysis/bdtHyperparameterOptimization
pip install -r requirements.txt --user

Also in order for feature importances to work with NN, eli5 package is needed:

pip install --user eli5

Wiki

For more detailed information visit the wiki

MNIST numbers dataset

Available here: Mnist numbers dataset

Tests

After installation please run the unittests (in $CMSSW_BASE/src/tthAnalysis/bdtHyperparameterOptimization) with:

pytest test/

About

Python tools for Hyperparameter optimization of machine learning algorithms (BDT and NN)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published