mindsdb / mindsdb_native

Machine Learning in one line of code
http://mindsdb.com
GNU General Public License v3.0
37 stars 28 forks source link

eeg_eyes dataset: could not convert string to float #492

Closed maximlopin closed 3 years ago

maximlopin commented 3 years ago
Traceback (most recent call last):
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\phases\model_interface\lightwood_backend.py", line 133, in _ts_reshape
    row[col] = float(row[col])
ValueError: could not convert string to float: '2001-09-03 08:00:00.000000'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "Q:\Desktop\mdb\private-benchmarks\benchmarks\run.py", line 230, in run
    use_cache=False if args.force_run else True
  File "Q:\Desktop\mdb\private-benchmarks\benchmarks\frameworks\frameworks.py", line 40, in run
    result = self._run(ds, df_train, df_test)
  File "Q:\Desktop\mdb\private-benchmarks\benchmarks\frameworks\frameworks.py", line 208, in _run
    learn_kwargs=ds['learn_kwargs']
  File "Q:\Desktop\mdb\private-benchmarks\benchmarks\mdb\benchmark.py", line 22, in run
    predictor.learn(from_data=df_train, to_predict=target, **learn_kwargs)
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\controllers\predictor.py", line 315, in learn
    self.transaction.run()
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\controllers\transaction.py", line 269, in run
    self._run()
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\controllers\transaction.py", line 265, in _run
    raise e
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\controllers\transaction.py", line 238, in _run
    self._call_phase_module(module_name='ModelInterface', mode='train')
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\controllers\transaction.py", line 170, in _call_phase_module
    ret = module(self.session, self)(**kwargs)
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\phases\base_module.py", line 53, in __call__
    ret = self.run(**kwargs)
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\phases\model_interface\model_interface.py", line 18, in run
    self.transaction.model_backend.train()
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\phases\model_interface\lightwood_backend.py", line 350, in train
    train_df, secondary_type_dict, _, train_df_gb_map = self._ts_reshape(self.transaction.input_data.train_df)
  File "C:\Users\maxim\Envs\mindsdb\lib\site-packages\mindsdb_native\libs\phases\model_interface\lightwood_backend.py", line 135, in _ts_reshape
    raise ValueError(f'Failed to order based on column: "{col}" due to faulty value: {row[col]}')
ValueError: Failed to order based on column: "Timestamps" due to faulty value: 2001-09-03 08:00:00.000000

native 2.40.0

reproduce: py -m benchmarks --frameworks=mindsdb --datasets=eeg_eyes --force_run