public final class ParametersFloat extends Parameters
| Modifier and Type | Field and Description |
|---|---|
float[] |
parameters |
float[] |
total |
| Constructor and Description |
|---|
ParametersFloat(float[] p) |
ParametersFloat(int size) |
| Modifier and Type | Method and Description |
|---|---|
void |
average(double avVal) |
ParametersFloat |
average2(double avVal) |
int |
countNZ() |
F2SF |
getFV() |
float |
getScore(FV fv) |
protected double |
hildreth(FV a,
double b) |
void |
read(DataInputStream dis) |
int |
size() |
void |
update(FV act,
FV pred,
Instances isd,
int instc,
Parse d,
double upd,
double e) |
void |
write(DataOutputStream dos) |
public ParametersFloat(int size)
public ParametersFloat(float[] p)
parameters2 - public void average(double avVal)
average in class Parameterspublic ParametersFloat average2(double avVal)
public void update(FV act, FV pred, Instances isd, int instc, Parse d, double upd, double e)
update in class Parametersprotected double hildreth(FV a, double b)
public float getScore(FV fv)
public final void write(DataOutputStream dos) throws IOException
write in class ParametersIOExceptionpublic void read(DataInputStream dis) throws IOException
read in class ParametersIOExceptionpublic int countNZ()
public F2SF getFV()
getFV in class Parameterspublic int size()
size in class ParametersCopyright © 2013. All rights reserved.