public abstract class ModelValuesHistogram<T extends Comparable,U extends Bin> extends Object implements IModelStatistics<T>, IModelHistogram<U>
IModelStatistics.ModelStatus
Modifier and Type | Field and Description |
---|---|
protected Hashtable<Comparable,Histogram<Bin<T>>> |
distance_histogram |
protected IModelStatistics.ModelStatus |
status |
protected String |
title |
Constructor and Description |
---|
ModelValuesHistogram(String title) |
Modifier and Type | Method and Description |
---|---|
void |
addPoint(Comparable dataset,
T observed,
T predicted) |
void |
addValue(Comparable dataset,
Object subset,
T value) |
void |
clear() |
void |
clear(Comparable dataset) |
protected abstract Bin<T> |
createBin(T value) |
Enumeration<Comparable> |
getDatasets() |
Histogram<U> |
getHistogram(Comparable dataset,
int mode) |
IModelStatistics.ModelStatus |
getStatus() |
String |
getTitle() |
boolean |
isPredicting() |
void |
setStatus(IModelStatistics.ModelStatus status) |
void |
setTitle(String title) |
String |
toStatus(boolean verbose) |
String |
toString() |
protected String title
protected Hashtable<Comparable,Histogram<Bin<T extends Comparable>>> distance_histogram
protected IModelStatistics.ModelStatus status
public ModelValuesHistogram(String title)
public IModelStatistics.ModelStatus getStatus()
getStatus
in interface IModelStatistics<T extends Comparable>
public void setStatus(IModelStatistics.ModelStatus status)
setStatus
in interface IModelStatistics<T extends Comparable>
public Enumeration<Comparable> getDatasets()
getDatasets
in interface IModelHistogram<U extends Bin>
public Histogram<U> getHistogram(Comparable dataset, int mode)
getHistogram
in interface IModelHistogram<U extends Bin>
public String toStatus(boolean verbose)
toStatus
in interface IModelStatistics<T extends Comparable>
public void addPoint(Comparable dataset, T observed, T predicted)
addPoint
in interface IModelStatistics<T extends Comparable>
public void addValue(Comparable dataset, Object subset, T value)
addValue
in interface IModelStatistics<T extends Comparable>
public void clear()
clear
in interface IModelStatistics<T extends Comparable>
public void clear(Comparable dataset)
clear
in interface IModelStatistics<T extends Comparable>
public String getTitle()
getTitle
in interface IModelStatistics<T extends Comparable>
public void setTitle(String title)
setTitle
in interface IModelStatistics<T extends Comparable>
public boolean isPredicting()
isPredicting
in interface IModelStatistics<T extends Comparable>
Copyright © 2004–2020 Ideaconsult Ltd.. All rights reserved.