After following the instructions to setup the GENESIM, I was trying to run it for just one dataset ( wine dataset). But I was getting exceptions when the CART algorithm tries to build the trees.
Following is the snippet that i get:
CART
Traceback (most recent call last):
File "example.py", line 65, in <module>
clf = algorithms[algorithm].construct_classifier(train, feature_cols, label_col)
File "D:\GENESIM\GENESIM\constructors\treeconstructor.py", line 237, in construct_classifier
shuffle=True, random_state=None))
File "D:\GENESIM\GENESIM\constructors\treeconstructor.py", line 336, in get_best_cart_classifier
tree = cart.construct_classifier(train_tune, X_train_tune.columns, label_col, param_opt=False)
File "D:\GENESIM\GENESIM\constructors\treeconstructor.py", line 249, in construct_classifier
self.dt.fit(self.X, self.y)
File "C:\Users\Naveen Kaushik\Anaconda2\lib\site-packages\sklearn\tree\tree.py", line 739, in fit
X_idx_sorted=X_idx_sorted)
File "C:\Users\Naveen Kaushik\Anaconda2\lib\site-packages\sklearn\tree\tree.py", line 199, in fit
% self.min_samples_split)
ValueError: min_samples_split must be at least 2 or in (0, 1], got 1
Before CART it built trees with xgboost (Although with exception related to Bayesian Optimization).