public class SimpleClassifier extends Object implements Comparable<SimpleClassifier>
| Modifier and Type | Field and Description |
|---|---|
protected double |
fMeasure |
protected String |
measure |
protected String |
sourceProperty |
protected String |
targetProperty |
protected double |
threshold |
protected double |
weight |
| Constructor and Description |
|---|
SimpleClassifier(String measure,
double threshold) |
SimpleClassifier(String measure,
double threshold,
String sourceProperty,
String targetProperty) |
| Modifier and Type | Method and Description |
|---|---|
SimpleClassifier |
clone() |
int |
compareTo(SimpleClassifier o) |
double |
getfMeasure() |
String |
getMeasure() |
String |
getMetricExpression() |
String |
getSourceProperty() |
String |
getTargetProperty() |
double |
getThreshold() |
double |
getWeight() |
void |
setfMeasure(double fMeasure) |
void |
setMeasure(String measure) |
void |
setSourceProperty(String sourceProperty) |
void |
setTargetProperty(String targetProperty) |
void |
setThreshold(double threshold) |
void |
setWeight(double weight) |
String |
toLinkSpecString()
Shorter toString().
|
String |
toString() |
protected String measure
protected String sourceProperty
protected String targetProperty
protected double threshold
protected double weight
protected double fMeasure
public SimpleClassifier(String measure, double threshold)
public SimpleClassifier clone()
public double getfMeasure()
public void setfMeasure(double fMeasure)
public String getMeasure()
public void setMeasure(String measure)
public String getMetricExpression()
public String getSourceProperty()
public void setSourceProperty(String sourceProperty)
public String getTargetProperty()
public void setTargetProperty(String targetProperty)
public double getThreshold()
public void setThreshold(double threshold)
public double getWeight()
public void setWeight(double weight)
public String toLinkSpecString()
public int compareTo(SimpleClassifier o)
compareTo in interface Comparable<SimpleClassifier>Copyright © 2020. All rights reserved.