Re: [Java-ML-support] Creating a sparse Instance
Status: Beta
Brought to you by:
thomasabeel
From: Thomas A. <th...@ab...> - 2011-06-23 19:51:53
|
Make sure you have the statement import net.sf.javaml.core.Instance and not import weka.core.SparseInstance cheers, Thomas On 4/20/2011 11:03 AM, Naveen Somasundaram wrote: > Hello everyone! > > I followed the tutorial listed in the website to create a sparseInstance. > Instance instanceVar = (Instance)new SparseInstance(10); > > I am getting an exception: > weka.core.SparseInstance cannot be cast to > net.sf.javaml.core.Instance > > Thanks in advance. > > > > > ------------------------------------------------------------------------------ > WhatsUp Gold - Download Free Network Management Software > The most intuitive, comprehensive, and cost-effective network > management toolset available today. Delivers lowest initial > acquisition cost and overall TCO of any competing solution. > http://p.sf.net/sfu/whatsupgold-sd > _______________________________________________ > Java-ml-support mailing list > Jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-ml-support |