|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.android.activityminer.pmml.model.knn.TrainingInstances
public class TrainingInstances
The training instances representation (without extensions)
Field Summary | |
---|---|
private TrainingData |
data
the data representation (either an InstanceFields or a TableLocator instance) |
private Integer |
fieldCount
Defines the number of fields (features + targets). |
private InstanceFields |
instanceFields
The instance fields |
private boolean |
isTransformed
Used as a flag to determine whether or not the training instances have already been transformed. |
private Integer |
recordCount
Defines the number of training instances or records. |
Constructor Summary | |
---|---|
TrainingInstances()
|
Method Summary | |
---|---|
TrainingData |
getData()
Getter for the data |
Integer |
getFieldCount()
Getter for the fieldCount |
InstanceFields |
getInstanceFields()
Getter for the instanceFields |
Integer |
getRecordCount()
Getter for the recordCount |
boolean |
isTransformed()
Getter for the isTransformed |
void |
setData(TrainingData data)
Setter for the data |
void |
setFieldCount(Integer fieldCount)
Setter for the fieldCount |
void |
setInstanceFields(InstanceFields instanceFields)
Setter for the instanceFields |
void |
setRecordCount(Integer recordCount)
Setter for the recordCount |
void |
setTransformed(boolean isTransformed)
Setter for the isTransformed |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private boolean isTransformed
private Integer recordCount
private Integer fieldCount
private InstanceFields instanceFields
private TrainingData data
InstanceFields
or a TableLocator
instance)
Constructor Detail |
---|
public TrainingInstances()
Method Detail |
---|
public void setTransformed(boolean isTransformed)
isTransformed
- the isTransformed to setpublic boolean isTransformed()
public void setRecordCount(Integer recordCount)
recordCount
- the recordCount to setpublic Integer getRecordCount()
public void setFieldCount(Integer fieldCount)
fieldCount
- the fieldCount to setpublic Integer getFieldCount()
public void setInstanceFields(InstanceFields instanceFields)
instanceFields
- the instanceFields to setpublic InstanceFields getInstanceFields()
public void setData(TrainingData data)
data
- the data to setpublic TrainingData getData()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |