Skip to content

Using Facebook Adaptive Experimentation platform to tune random forest regressors using docker

Notifications You must be signed in to change notification settings

dkatz23238/RandomForestAdaptiveExperim

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ax-container

Dependens:

Python 3.7+

This project does the following:

  • Loads a machine learning data set
  • Instantiates an Adaptive Experimentation service loop
  • Trains and tunes an xgboost.XGBRegressor model on a dataset. The dataset provided by default is house pricing data in buenos aires.

Note: the data set must be ready to process by an sklearn or xgboost algorithm.

Quickstart

Review the enviornment variables and if needed update the dataset.csv with custom data set. Remember to update the TARGET enviornment variable with the name of the target variable column.

The following enviornment variables can be used and modifed in docker-compose.yml:

  • N_TRIALS: the amount of trials to run by adaptive experimentation
  • DATASET_PATH: the path to the machine learning dataset
  • DATASET_TARGET_NAME: the name of the column that contains the target variable

docker-compose up

or without docker:

cd to app python -m pip install -r requirements.txt && python run.py

The hyper-parameter tunining process will be printed to screen or loged to the docker compose logs.

About

Using Facebook Adaptive Experimentation platform to tune random forest regressors using docker

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published