Azure / fast_retraining

Show how to perform fast retraining with LightGBM in different business cases
MIT License
54 stars 15 forks source link

while trying football notebook #67

Closed pseudotensor closed 7 years ago

pseudotensor commented 7 years ago

Generating match features... Generating match labels... Generating bookkeeper data... /home/jon/.pyenv/versions/3.6.1/lib/python3.6/site-packages/pandas/core/indexing.py:297: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy /home/jon/.pyenv/versions/3.6.1/lib/python3.6/site-packages/pandas/core/indexing.py:477: SettingWithCopyWarning: A value is trying to be set on a copy of a slice from a DataFrame. Try using .loc[row_indexer,col_indexer] = value instead

See the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy (19673, 48) CPU times: user 10min 50s, sys: 7.58 s, total: 10min 58s Wall time: 10min 58s In [9]:

feables = convert_cols_categorical_to_numeric(feables) feables.head() [autoreload of six failed: Traceback (most recent call last): File "/home/jon/.pyenv/versions/3.6.1/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 246, in check File "/home/jon/.pyenv/versions/3.6.1/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 385, in superreload File "/home/jon/.pyenv/versions/3.6.1/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 324, in update_generic File "/home/jon/.pyenv/versions/3.6.1/lib/python3.6/site-packages/IPython/extensions/autoreload.py", line 276, in update_class File "/home/jon/.pyenv/versions/3.6.1/lib/python3.6/site-packages/six.py", line 93, in get setattr(obj, self.name, result) # Invokes set. AttributeError: 'NoneType' object has no attribute 'cStringIO' ]