Closed jay-m-dev closed 1 year ago
This error comes from validateDataset.py.
Related to this, uploading a dataset with a non-numeric data feature or target variable is allowed, but building experiments errors out with error "ValueError: Could not Convert String to Float: 'Iris Setosa'"
Steps to recreate: Upload the attached iris.csv where the "target" is a String. The file will be accepted, but experiments will fail.
We should reject any invalid datasets with user-friendly error messages.
Confirmed that the errors have been made more user friendly, here's an example:
We should have more specific errors so it's easier for users to fix the error and try uploading the dataset again. See attached screenshot for an example: