-
Notifications
You must be signed in to change notification settings - Fork 426
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
Demo returns: ValueError: too many values to unpack (expected 2) #72
Comments
Hey there Jerry, I hope that you are okay and that youa re doing well. I would like to ask your help on this. Thanks ! |
@MouadAouni you only have to remove data_df |
@errorhandlerst thank you for the reply. It helped me avoid this problem to fall in another one lol. There it is : Train phase: What do you think ? EDIT : I'm using here my own data, it isn't the same as theirs, and i have just 4 columns : Content | EventId | EventTemplate | ParameterList |
@MouadAouni here you have to apply one space make n_components = i + 1 inside for loop:-- in PCA.py |
@errorhandlerst I already tried this but got this error : Train phase: and then made this change: n_components = num_events + 1 and got this : ====== Input data summary ====== Train phase: Test phase: |
@MouadAouni Did you change the load_hdfs data according your data? if not then you should change because load_hdfs method used session window .You might require fixed window (First check PCA working with default hdfs data If that working fine then might be problem id related to your data) |
@errorhandlerst
|
Solution: |
@huhui , will this demo without label codes work on Android Log file datasets ? |
hi, when i exec the command in the url: https://github.com/logpai/loglizer/blob/master/docs/demo.md
python PCA_demo_without_labels.py
it returns:
(base) localhost:demo guojie$ python PCA_demo_without_labels.py
====== Input data summary ======
Loading ../data/HDFS/HDFS_100k.log_structured.csv
Total: 7940 instances, train: 3970 instances, test: 3970 instances
Traceback (most recent call last):
File "PCA_demo_without_labels.py", line 24, in
split_type='sequential', save_csv=True)
ValueError: too many values to unpack (expected 2)
The text was updated successfully, but these errors were encountered: