|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectweka.core.Instance
weka.core.SparseInstance
uk.ac.ed.inf.csb.taweka.SparseInstanceWithId
public class SparseInstanceWithId
A Weka SparseInstance with an identifier, to make it easier to retrieve a certain instance (row) in the ARFF file. For biological applications, the identifier can be the protein or gene identifier from a public database. The identifier makes it easier to retrieve the row (or prediction) for a given protein/gene.
| Field Summary | |
|---|---|
java.lang.String |
m_id
The instance identifier |
| Constructor Summary | |
|---|---|
SparseInstanceWithId()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getId()
|
java.lang.String |
toString()
|
| Methods inherited from class weka.core.SparseInstance |
|---|
attributeSparse, copy, getRevision, index, isMissing, locateIndex, main, mergeInstance, numAttributes, numValues, replaceMissingValues, setValue, setValueSparse, toDoubleArray, value |
| Methods inherited from class weka.core.Instance |
|---|
attribute, classAttribute, classIndex, classIsMissing, classValue, dataset, deleteAttributeAt, enumerateAttributes, equalHeaders, hasMissingValue, insertAttributeAt, isMissing, isMissingSparse, isMissingValue, missingValue, numClasses, relationalValue, relationalValue, setClassMissing, setClassValue, setClassValue, setDataset, setMissing, setMissing, setValue, setValue, setValue, setWeight, stringValue, stringValue, toString, toString, value, valueSparse, weight |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public java.lang.String m_id
| Constructor Detail |
|---|
public SparseInstanceWithId()
| Method Detail |
|---|
public java.lang.String toString()
toString in class weka.core.SparseInstancepublic java.lang.String getId()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||