Skip to content

Running error with __init__.py #27

@helenxu

Description

@helenxu

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)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions