Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

LogisticRegression #312

Open
ph0123 opened this issue Jun 24, 2019 · 2 comments
Open

LogisticRegression #312

ph0123 opened this issue Jun 24, 2019 · 2 comments

Comments

@ph0123
Copy link

ph0123 commented Jun 24, 2019

./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!

@eneskaya
Copy link

eneskaya commented Aug 7, 2019

The format is one of:

// format
// type: string
// info: the data format of input file: libsvm/tsv

You entered string. I have no idea what libsvm is but tsv stands for Tab Separated Values. Maybe try adding tabs in the place of <space>?

@ph0123
Copy link
Author

ph0123 commented Aug 7, 2019

Thanks. Let me try.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants