public final class ParametersFloat extends Object
| 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() |
double |
getScore(FV fv) |
float |
getScore(FVR fv) |
protected double |
hildreth(FVR a,
double b) |
void |
read(DataInputStream dis) |
int |
size() |
double |
update(FV a,
double b) |
void |
update(FV pred,
FV act,
float upd,
float err) |
void |
update(FV pred,
FV act,
float upd,
float err,
float C) |
void |
update(FVR pred,
FVR act,
float upd,
float e) |
void |
update(FVR act,
FVR pred,
Instances isd,
int instc,
Parse dx,
double upd,
double e,
float lam_dist) |
void |
write(DataOutputStream dos) |
public ParametersFloat(int size)
public ParametersFloat(float[] p)
parameters2 - public void average(double avVal)
public ParametersFloat average2(double avVal)
public double update(FV a, double b)
public double getScore(FV fv)
public final void write(DataOutputStream dos) throws IOException
IOExceptionpublic void read(DataInputStream dis) throws IOException
IOExceptionpublic int countNZ()
public F2SF getFV()
public int size()
public void update(FVR act, FVR pred, Instances isd, int instc, Parse dx, double upd, double e, float lam_dist)
protected double hildreth(FVR a, double b)
public float getScore(FVR fv)
Copyright © 2013. All rights reserved.