-
-
Notifications
You must be signed in to change notification settings - Fork 53
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
Error when using DCW and DCR #6
Comments
I didn't get errors. Can you provide more details? which data were you On Tuesday, June 7, 2016, basvank notifications@github.com wrote:
Sent from Gmail Mobile |
Hmm strange, I can indeed get it to work on the InCarMusic dataset. Unfortunately I am working on a dataset consisting of proprietary data so I cannot share that. The only thing I can think of is the structure of the data set then. Comparing this (for InCarData):
To this (my dataset):
Could it have something to do with the fact that it has only two context dimensions or because dimension context only has one condition? (this is due to the fact that this is context:na, I could try and make it pr:na and see if that works). Do you know if these algorithms work across context dimensions or only across context conditions? |
I should note that I have used this dataset succesfully with several other algorithms (CAMF, CSLIM for example) so I don't think the error is due to an incorrect structure. |
Ah, changing the context from context:na to pr:na seems to solve it. The statistics then become as follows:
So it seems the algorithm can't handle a single context condition within a dimension. I'm letting it run now to be sure it completes successfully. |
Next error now, java.lang.IllegalArgumentException: fromIndex(0) > toIndex(-1) in predict() because I have I have changed this line to |
All working just fine now! |
Hi,
I recently tried out the newly added DCW and DCR algorithms but I am getting an error in the ContextSimilarity() function in DCW and ContextRelaxation() function in DCR. The error is java.lang.IndexOutOfBoundsException: Index: 1, Size: 1 and happens in
conds1.get(i)
in both function classes.Can you check if you get the same error as well? Or, if not, let me know what settings and data file you use so that I can check if it's a problem on my side?
Thanks for the help!
The text was updated successfully, but these errors were encountered: