MLBazaar / BTB

A simple, extensible library for developing AutoML systems
https://mlbazaar.github.io/BTB/
MIT License
172 stars 41 forks source link

Featurize Categorical Hyperparameters #125

Closed leix28 closed 4 years ago

leix28 commented 5 years ago

Description

Is the categorical hyperparameter handled correctly in BTB?

Right now, categorical hyperparamters are represented as a single float number. For example, if I try to tune

and I get a few hyperparamter and score pairs

BTB will convert these pairs to

and use GaussianProcessRegressor to fit these 3 pairs.

I'm not sure if this is the correct way to featurize categorical hyperparameters.

How to change the categorical hyperparamter fit_transform and inverse_transform?

A more intuitive way to featurize categorical hyperparamters is one-hot representation. But changing the fit_transform is CatHyperParameter is hard.

pvk-developer commented 4 years ago

This issue is deprecated after the 0.3.0 realease. We are now using OneHotEncoder for CategoricalHyperParameters , reffer to #129 #131