|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectadams.gui.visualization.stats.core.SubSample
public class SubSample
Class for taking a smaller sample of a dataset. Used by the matrix class.
| Field Summary | |
|---|---|
protected Instances |
m_Instances
Instances to plot |
protected double |
m_Percentage
Percentage of data to take |
| Constructor Summary | |
|---|---|
SubSample(Instances inst,
double percent)
constructor |
|
| Method Summary | |
|---|---|
Instances |
sample()
Take a sample of the dataset |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Instances m_Instances
protected double m_Percentage
| Constructor Detail |
|---|
public SubSample(Instances inst,
double percent)
inst - Instances for plottingpercent - Percent of data for sub sample| Method Detail |
|---|
public Instances sample()
throws Exception
Exception
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||