adams.core
Class MOAHelper
java.lang.Object
adams.core.MOAHelper
public class MOAHelper
- extends Object
Helper class for MOA related stuff.
- Version:
- $Revision: 4584 $
- Author:
- fracpete (fracpete at waikato dot ac dot nz)
|
Method Summary |
static double[] |
fixVotes(double[] votes,
Instance inst)
Fixes the votes array if the length differs from the number of class
labels defined in the header information of the dataset. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MOAHelper
public MOAHelper()
fixVotes
public static double[] fixVotes(double[] votes,
Instance inst)
- Fixes the votes array if the length differs from the number of class
labels defined in the header information of the dataset.
- Parameters:
votes - the votes to fixinst - the instance to get the dataset information from
- Returns:
- the (potentially) fixed votes array
Copyright © 2012 University of Waikato, Hamilton, NZ. All Rights Reserved.