You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am getting an error message called "supervised.preprocessing.eda ERROR There was an issue when running EDA. could not convert string to float: 'virginica'"
I notice that EDA folder is empty as well.
Per Issue 508, I was under the impression that MLJAR will handle the Y column as categorical since the column is string.
Is it necessary that the user set order or unordered category per this pandas documentation ?
data = datasets.load_iris()
X = pd.DataFrame(data["data"], columns=data["feature_names"])
y = pd.Series(data["target"], name="target").map({i:v for i, v in enumerate(data["target_names"])})
X_train, X_test, y_train, y_test = train_test_split(X, y, stratify=y, test_size=0.3)
automl = AutoML(total_time_limit=5*60)
automl.fit(X_train, y_train)
y_predicted = automl.predict(X_test)
result = pd.DataFrame({"Predicted": y_predicted, "Target": np.array(y_test)})
filtro = result.Predicted == result.Target
print(filtro.value_counts(normalize=True))
The text was updated successfully, but these errors were encountered:
I tried to follow this mutliclass classification example https://github.com/mljar/mljar-examples/blob/master/Iris_classification/Iris_classification.ipynb
I am getting an error message called "supervised.preprocessing.eda ERROR There was an issue when running EDA. could not convert string to float: 'virginica'"
I notice that EDA folder is empty as well.
Per Issue 508, I was under the impression that MLJAR will handle the Y column as categorical since the column is string.
Is it necessary that the user set order or unordered category per this pandas documentation ?
The text was updated successfully, but these errors were encountered: