-
Notifications
You must be signed in to change notification settings - Fork 42
Description
Hi,
I am trying the example code but got some error message w.r.t the init.py (see below). Is there anything I can do to avoid the error? Thanks!
EmptyDataError Traceback (most recent call last)
in ()
20 # split features and target for train/test
21 # first 5 are train, last 2 are test
---> 22 model = fm.run(features[:5], target[:5], features[5:], target[5:])
23 print(model.predictions)
24 # you can also get the model weights
F:\Anaconda\lib\site-packages\pywFM_init_.py in run(self, x_train, y_train, x_test, y_test, x_validation_set, y_validation_set)
228 # parses rlog into
229 import pandas as pd
--> 230 rlog = pd.read_csv(rlog_path, sep='\t')
231 os.close(rlog_fd)
232 os.remove(rlog_path)