Re: [Java-ML-support] instance key, how to set?
Status: Beta
Brought to you by:
thomasabeel
From: Thomas A. <th...@ab...> - 2013-08-07 12:30:02
|
Have you tried the documentation on java-ml.sf.net? At the moment there is no way to use keys with instances, everything is index based. If you think the javadocs need to be expanded, we would be very grateful if you can expand them and submit the patches and I'll be happy to apply them to the code-base. cheers, Thomas On 8/3/2013 3:51 AM, טל דניאל wrote: > It isn't clear from the documentation how to set a key for an instance > (row) in a dataset. > Sometimes, one has to find a sparseInstance, by key, in order to add > values to it, but it isn't clear how to accomplish this. > > Also, the word class in the documentation is confusing, and I think > should be changed to classification. > > I tried to figure out how to use filters but didn't get it from the > javadocs. > > Any tutotial out there? can someone help me understand if Java-ML > instances can be used with key, and then values of instance? the getID > seems to through a random number. > > As a last resort, I can create a HashMap that maps each userID, for an > instance row number in the dataset, but I want to know if JAva-ML > already supports that simple action. > > Thanks, > Tal > > > > ------------------------------------------------------------------------------ > Get your SQL database under version control now! > Version control is standard for application code, but databases havent > caught up. So what steps can you take to put your SQL databases under > version control? Why should you start doing it? Read more to find out. > http://pubads.g.doubleclick.net/gampad/clk?id=49501711&iu=/4140/ostg.clktrk > > > > _______________________________________________ > Java-ml-support mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-ml-support > |