public class EHS_CHC extends Metodo
Modifier and Type | Field and Description |
---|---|
boolean |
filtering |
protected InstanceSet |
referencia |
clasesTrain, datosTrain, distanceEu, entradas, ficheroSalida, ficheroTest, ficheroTraining, ficheroValidation, nEntradas, nominalDistance, nominalTrain, nulosTrain, realTrain, relation, salida, stdDev, test, training
Constructor and Description |
---|
EHS_CHC(java.lang.String ficheroScript) |
Modifier and Type | Method and Description |
---|---|
Hyper[] |
composeHyper(double[][] train,
int[][] nominal,
boolean[][] missing,
int[] clases,
Hyper[] database,
int nClases) |
static double |
distancia(double[] ej1,
int[] nom1,
boolean[] mis1,
double[] ej2,
int[] nom2,
boolean[] mis2) |
static double |
distancia(Hyper h1,
double[] ej2,
int[] nom2,
boolean[] mis2) |
void |
ejecutar() |
static int |
evaluacionKNNHyper(Hyper[] database,
double[] ejemplo,
int[] nominal,
boolean[] missing,
int nClases) |
static int |
evaluacionKNNHyper(Hyper[] database,
double[] ejemplo,
int[] nominal,
boolean[] missing,
int nClases,
boolean[] state) |
void |
leerConfiguracion(java.lang.String ficheroScript)
Reads the parameters of the algorithm.
|
Hyper[] |
reduceHyper(Hyper[] database,
boolean[] marcas) |
normalizar
public boolean filtering
protected InstanceSet referencia
public EHS_CHC(java.lang.String ficheroScript)
ficheroScript
- public void ejecutar()
public Hyper[] composeHyper(double[][] train, int[][] nominal, boolean[][] missing, int[] clases, Hyper[] database, int nClases)
public void leerConfiguracion(java.lang.String ficheroScript)
Metodo
leerConfiguracion
in class Metodo
ficheroScript
- Configuration scriptpublic static int evaluacionKNNHyper(Hyper[] database, double[] ejemplo, int[] nominal, boolean[] missing, int nClases)
public static int evaluacionKNNHyper(Hyper[] database, double[] ejemplo, int[] nominal, boolean[] missing, int nClases, boolean[] state)
public static double distancia(double[] ej1, int[] nom1, boolean[] mis1, double[] ej2, int[] nom2, boolean[] mis2)
public static double distancia(Hyper h1, double[] ej2, int[] nom2, boolean[] mis2)