summaryrefslogtreecommitdiffstats
path: root/src/predictor/PredictorInterface.java
blob: 03b90528897b1544257edd0cd137f86ffa33ba53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package predictor;

import java.util.Random;

import weka.core.*;

public interface PredictorInterface {
	public String getName();
	public void crossValidate(Instances instances, int numFold, Random rand) throws Exception;
	//public String getEvaluationSummaryString();
	//public String getEvaluationMatrixString() throws Exception;
	public FastVector getEvaluationPredictions();
	public void train(Instances instances) throws Exception;
	public int predict(Instance instance) throws Exception;
	public int predict(Instances instances) throws Exception;
	public String getEvaluationResults() throws Exception;
}