Skip to content

LogisticRegression #312

@ph0123

Description

@ph0123

./LogisticRegression --conf=conf.conf --train=nfs:///home/train.txt --test=hdfs:///home/test.txt --is_sparse=false --n_iter=10 --alpha=0.1 --format=string

the output is:

[FATAL 2019-06-24 15:42:44.113299 29109 data_loader.hpp:129] Assert failed: num_features > 0
"the number of features is non-positive."
*** Check failure stack trace: ***
[FATAL 2019-06-24 15:42:44.113303 29107 data_loader.hpp:129] Assert failed: num_features > 0
"the number of features is non-positive."[FATAL 2019-06-24 15:42:44.113307 29106 data_loader.hpp:129] Assert failed: num_features > 0
"the number of features is non-positive."[FATAL 2019-06-24 15:42:44.113360 29108 data_loader.hpp:129] Assert failed: num_features > 0
"the number of features is non-positive."

My data format is: userID<space>movieID<space>rating

Please tell me the correct format for the data to run LogisticRegression with Husky.

Thank you so much!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions