Package adams.core.discovery.genetic
Class WekaGeneticHelper
- java.lang.Object
-
- adams.core.discovery.genetic.GeneticHelper
-
- adams.core.discovery.genetic.WekaGeneticHelper
-
public class WekaGeneticHelper extends adams.core.discovery.genetic.GeneticHelper
Helper for Weka classes.- Version:
- $Revision$
- Author:
- FracPete (fracpete at waikato dot ac dot nz)
-
-
Constructor Summary
Constructors Constructor Description WekaGeneticHelper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static weka.core.matrix.Matrix
bitsToMatrix(String bits, double min, double max, int numBits, int splits, int rows, int columns)
Convert bit string into weka Matrixstatic String
matrixToBits(weka.core.matrix.Matrix ina, double min, double max, int numBits, int splits, int rows, int columns)
Convert weka Matrix into bit string
-
-
-
Method Detail
-
matrixToBits
public static String matrixToBits(weka.core.matrix.Matrix ina, double min, double max, int numBits, int splits, int rows, int columns)
Convert weka Matrix into bit string- Parameters:
ina
-min
-max
-numBits
-splits
-rows
-columns
-- Returns:
-
bitsToMatrix
public static weka.core.matrix.Matrix bitsToMatrix(String bits, double min, double max, int numBits, int splits, int rows, int columns)
Convert bit string into weka Matrix- Parameters:
bits
-min
-max
-numBits
-splits
-rows
-columns
-- Returns:
-
-