|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.knowceans.util.Histogram
public class Histogram
Histogram is a static class to output histogram data graphically on an output print stream. It uses lines as columns for the bins.
| Constructor Summary | |
|---|---|
Histogram()
|
|
| Method Summary | |
|---|---|
static int[] |
hist(double[] data,
double low,
double high,
int bins)
print histogram of the data |
static double[] |
hist(java.io.PrintStream out,
double[] data,
double low,
double high,
int bins,
int fmax)
print histogram of the data |
static double[] |
hist(java.io.PrintStream out,
double[] data,
int size)
print histogram that spans the complete data set and chooses the proportion of the histogram to be good at a given size (max freqency). |
static java.util.TreeMap<java.lang.Integer,java.lang.Integer> |
hist(java.io.PrintStream out,
int[] data,
int size)
Print a histogram of the categorical data. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Histogram()
| Method Detail |
|---|
public static double[] hist(java.io.PrintStream out,
double[] data,
double low,
double high,
int bins,
int fmax)
out - stream to print todata - vector of evidencelow - lower bin limithigh - upper bin limitbins - # of binsfmax - max frequency in display
public static int[] hist(double[] data,
double low,
double high,
int bins)
data - vector of evidencelow - lower bin limithigh - upper bin limitbins - # of bins
public static double[] hist(java.io.PrintStream out,
double[] data,
int size)
out - output streamdata - data vectorsize - controls max frequency and bin number
public static java.util.TreeMap<java.lang.Integer,java.lang.Integer> hist(java.io.PrintStream out,
int[] data,
int size)
out - data - size -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||