minimaxir / automl-gs

Provide an input CSV and a target field to predict, generate a model + code to run it.
MIT License
1.85k stars 178 forks source link

Google Colab - automl_train/metadata/results.csv does not exist #39

Open batmanscode opened 4 years ago

batmanscode commented 4 years ago

Input:

from automl_gs import automl_grid_search

automl_grid_search("data.csv", "diagnosis")

Output:

Solving a binary_classification problem, maximizing accuracy using tensorflow.

Modeling with field specifications:
id: ignore
radius_mean: numeric
texture_mean: numeric
perimeter_mean: numeric
area_mean: numeric
smoothness_mean: numeric
compactness_mean: numeric
concavity_mean: numeric
concave points_mean: numeric
symmetry_mean: numeric
fractal_dimension_mean: numeric
radius_se: numeric
texture_se: numeric
perimeter_se: numeric
area_se: numeric
smoothness_se: numeric
compactness_se: numeric
concavity_se: numeric
concave points_se: numeric
symmetry_se: numeric
fractal_dimension_se: numeric
radius_worst: numeric
texture_worst: numeric
perimeter_worst: numeric
area_worst: numeric
smoothness_worst: numeric
compactness_worst: numeric
concavity_worst: numeric
concave points_worst: numeric
symmetry_worst: numeric
fractal_dimension_worst: numeric
Unnamed: 32: numeric
0%
0/100 [00:04<?, ?trial/s]
0%
0/20 [00:00<?, ?epoch/s]
---------------------------------------------------------------------------
FileNotFoundError                         Traceback (most recent call last)
<ipython-input-37-308e97508c91> in <module>()
      1 from automl_gs import automl_grid_search
      2 
----> 3 automl_grid_search("data.csv", "diagnosis")

5 frames
/usr/local/lib/python3.6/dist-packages/pandas/io/parsers.py in __init__(self, src, **kwds)
   1889         kwds["usecols"] = self.usecols
   1890 
-> 1891         self._reader = parsers.TextReader(src, **kwds)
   1892         self.unnamed_cols = self._reader.unnamed_cols
   1893 

pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader.__cinit__()

pandas/_libs/parsers.pyx in pandas._libs.parsers.TextReader._setup_parser_source()

FileNotFoundError: [Errno 2] File automl_train/metadata/results.csv does not exist: 'automl_train/metadata/results.csv'
don41382 commented 4 years ago

same here

rcdalj commented 3 years ago

And here

aicrumb commented 3 years ago

i find the problem is solved once using %tensorflow_version 1.x but i've no clue how it pertains to the file issue

Rhenzzo commented 1 year ago

Samehere