|
jBNC Toolbox | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjbnc.dataset.Dataset
Represents a data set.
NamesReader,
DatasetReader| Field Summary | |
java.util.Vector |
cases
Vector of vectors representing cases. |
protected boolean |
discardIncompleteCases
LOCAL |
AttributeSpecs[] |
names
Description of each of the attributes in a case. |
| Constructor Summary | |
Dataset()
Set everything to null . |
|
| Method Summary | |
void |
clear()
|
java.lang.Object |
clone()
Performs a shallow copy of itself. |
void |
discardAllOfType(AttributeType type)
Discards all attributes that match the given type. |
boolean |
getDiscardIncompleteCases()
|
void |
openC45(java.lang.String fileStem)
|
void |
openC45(java.lang.String namesFile,
java.lang.String dataFile)
|
void |
saveC45(java.lang.String fileStem)
|
void |
saveC45(java.lang.String namesFile,
java.lang.String dataFile)
|
void |
saveCasesC45(java.lang.String fileName)
|
void |
saveNamesC45(java.lang.String fileName)
|
void |
setDiscardIncompleteCases(boolean discardIncompleteCases)
|
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
public java.util.Vector cases
public AttributeSpecs[] names
protected boolean discardIncompleteCases
| Constructor Detail |
public Dataset()
| Method Detail |
public void setDiscardIncompleteCases(boolean discardIncompleteCases)
discardIncompleteCases - public boolean getDiscardIncompleteCases()
public void openC45(java.lang.String fileStem)
throws java.lang.Exception
fileStem -
java.lang.Exception
public void openC45(java.lang.String namesFile,
java.lang.String dataFile)
throws java.lang.Exception
namesFile - dataFile -
java.lang.Exception
public void saveC45(java.lang.String fileStem)
throws java.lang.Exception
fileStem -
java.lang.Exception
public void saveC45(java.lang.String namesFile,
java.lang.String dataFile)
throws java.lang.Exception
namesFile - dataFile -
java.lang.Exception
public void saveCasesC45(java.lang.String fileName)
throws java.lang.Exception
fileName -
java.lang.Exception
public void saveNamesC45(java.lang.String fileName)
throws java.lang.Exception
fileName -
java.lang.Exceptionpublic void clear()
public void discardAllOfType(AttributeType type)
type - Type of attributes to be discarded.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
|
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||