List of usage examples for weka.classifiers.evaluation MarginCurve MarginCurve
MarginCurve
From source file:adams.data.conversion.WekaEvaluationToMarginCurve.java
License:Open Source License
/** * Performs the actual conversion./*from ww w. jav a 2s .com*/ * * @return the converted data * @throws Exception if something goes wrong with the conversion */ @Override protected Object doConvert() throws Exception { Evaluation eval; MarginCurve curve; Instances cost; eval = (Evaluation) m_Input; curve = new MarginCurve(); cost = curve.getCurve(eval.predictions()); return cost; }