title: Creating Instances for classification-Weka
body: <p>i have a question. I have a java app thats classifying instances from real world, and i have it storage in double[][], my question is this: </p>
  
  <pre><code>Instance iExample = new Instance(4); 
  iExample.setValue((Attribute)fvWekaAttributes.elementAt(0), 1.0);       
  iExample.setValue((Attribute)fvWekaAttributes.elementAt(1), 0.5);       
  iExample.setValue((Attribute)fvWekaAttributes.elementAt(2), "gray"); 
  iExample.setValue((Attribute)fvWekaAttributes.elementAt(3), "positive"); 
  </code></pre>
  
  <p>This is the example given to create an instance, but since i am classifying the instance does it it need the last element(3-ClassAtribute), which is the class that i want to be labeled/predicted? What do i put?A empty string? </p>
  
  <pre><code>iExample.setValue((Attribute)fvWekaAttributes.elementAt(3), "");   
  </code></pre>
  
  <p>I want to be able to label the instance and get distribution for instance. </p>
  
  <p>Thanks in advance </p>
  
  <p>J.S</p>