I'm getting Ups, [Errno 2] No such file or directory
error when I try to fit models using the python wrapper for the mljar api.
Does anyone know how to fix this?
The code:
from sklearn import datasets
iris = datasets.load_iris()
X, y = iris.data, iris.target
from sklearn.cross_validation import train_test_split
X_train, X_test, y_train, y_test = train_test_split(X, y, test_size=0.5)
from mljar import Mljar
models = Mljar(
project='MLJAR api test', experiment='Iris',
metric='logloss',
validation_kfolds=5, # we will use 5-fold CV with stratify and shuffle
validation_shuffle=True,
validation_stratify=True,
algorithms=['xgb', 'lgb', 'mlp'], # select Xgboost, LightGBM and Neural Network
tuning_mode='Normal', # number of models to be checked for each algorithm
single_algorithm_time_limit=5
)
models.fit(X_train, y_train)
For some reason, there is no traceback. I just get the error:
Ups, [Errno 2] No such file or directory: /tmp/dataset-002317be.csv