So it looks like I can run it fine but it seems like I might be missing something or a step? I ran python mlb_ml_classify_deep_learn_test.py test and right after I ran python mlb_ml_classify_deep_learn_test.py notest (this is on dev branch) they both seemed to work, then I ran python mlb_ml_classify_deep_learn.py tune or python mlb_ml_classify_deep_learn.py notune which gave this error ::
Traceback (most recent call last):
File "mlb_ml_classify_deep_learn.py", line 558, in <module>
main()
File "mlb_ml_classify_deep_learn.py", line 556, in main
mlbDeep().run_analysis()
File "mlb_ml_classify_deep_learn.py", line 548, in run_analysis
self.get_teams()
File "mlb_ml_classify_deep_learn.py", line 87, in get_teams
self.all_data.drop(columns='cli',inplace=True)
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/util/_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/core/frame.py", line 4913, in drop
errors=errors,
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/core/generic.py", line 4150, in drop
obj = obj._drop_axis(labels, axis, level=level, errors=errors)
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/core/generic.py", line 4185, in _drop_axis
new_axis = axis.drop(labels, errors=errors)
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 6017, in drop
raise KeyError(f"{labels[mask]} not found in axis")
KeyError: "['cli'] not found in axis"
Then I ran python mlb_ml_classify_deep_learn.py test
which gave this ::
Need data for year: []
len data: 63458
Traceback (most recent call last):
File "mlb_ml_classify_deep_learn.py", line 558, in <module>
main()
File "mlb_ml_classify_deep_learn.py", line 556, in main
mlbDeep().run_analysis()
File "mlb_ml_classify_deep_learn.py", line 544, in run_analysis
self.get_teams()
File "mlb_ml_classify_deep_learn.py", line 87, in get_teams
self.all_data.drop(columns='cli',inplace=True)
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/util/_decorators.py", line 311, in wrapper
return func(*args, **kwargs)
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/core/frame.py", line 4913, in drop
errors=errors,
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/core/generic.py", line 4150, in drop
obj = obj._drop_axis(labels, axis, level=level, errors=errors)
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/core/generic.py", line 4185, in _drop_axis
new_axis = axis.drop(labels, errors=errors)
File "/mnt/f/repositories/ml_mlb/mlmlbvenv/lib/python3.7/site-packages/pandas/core/indexes/base.py", line 6017, in drop
raise KeyError(f"{labels[mask]} not found in axis")
KeyError: "['cli'] not found in axis"
So it looks like I can run it fine but it seems like I might be missing something or a step? I ran
python mlb_ml_classify_deep_learn_test.py testand right after I ranpython mlb_ml_classify_deep_learn_test.py notest(this is on dev branch) they both seemed to work, then I ranpython mlb_ml_classify_deep_learn.py tune or python mlb_ml_classify_deep_learn.py notunewhich gave this error ::Then I ran
python mlb_ml_classify_deep_learn.py testwhich gave this ::