Property | Type | Description | |
---|---|---|---|
crossvalidate | bool | ||
cv_error | float | ||
nn_error | float | ||
personal_number | int | ||
w1 | Floatarray |
Method | Description | |
---|---|---|
ChangeHidden ( int newn ) : void | ||
Complexity ( ) : float | ||
Copy ( |
||
CrossValidatedError ( ) : float | ||
Info ( ) : void | ||
InitData ( |
||
MlpClassifier ( ) : System | ||
MlpClassifier ( int PersonalNumber ) : System | ||
OutputsDense ( Floatarray result, Floatarray x_raw ) : float | ||
TrainDense ( |
||
TrainOne ( Floatarray z, Floatarray target, Floatarray x, float eta ) : void |
do a single stochastic gradient descent step
|
|
dsigmoidy ( float y ) : float | ||
dstdsigmoid ( float x ) : float |
derivative of the "standard" sigmoid
|
|
nClasses ( ) : int | ||
nFeatures ( ) : int | ||
nHidden ( ) : int | ||
sigmoid ( float x ) : float |
sigmoid function for neural networks 0 .. 1
|
|
sigmoid_speed ( float x ) : float |
"standard" sigmoid -1.71593428 .. 1.71593428
|
Method | Description | |
---|---|---|
InitRandom ( int ninput, int nhidden, int noutput ) : void | ||
count_zeros ( Floatarray a ) : int | ||
logspace ( int i, int n, float lo, float hi ) : float |
logarithmically spaced samples in an interval
|
|
mvmul0 ( Floatarray result, Floatarray a, Floatarray v ) : void |
random samples from the normal density
|
|
normalize ( Floatarray v ) : void | ||
outer_add ( Floatarray a, Floatarray u, Floatarray v, float eps ) : void | ||
vmmul0 ( Floatarray result, Floatarray v, Floatarray a ) : void |
public InitData ( |
||
ds | ||
nhidden | int | |
newc2i | Intarray | |
newi2c | Intarray | |
return | void |
protected InitRandom ( int ninput, int nhidden, int noutput ) : void | ||
ninput | int | |
nhidden | int | |
noutput | int | |
return | void |
public MlpClassifier ( int PersonalNumber ) : System | ||
PersonalNumber | int | |
return | System |
public OutputsDense ( Floatarray result, Floatarray x_raw ) : float | ||
result | Floatarray | |
x_raw | Floatarray | |
return | float |
public TrainDense ( |
||
ds | ||
return | void |
public TrainOne ( Floatarray z, Floatarray target, Floatarray x, float eta ) : void | ||
z | Floatarray | |
target | Floatarray | |
x | Floatarray | |
eta | float | |
return | void |
protected static count_zeros ( Floatarray a ) : int | ||
a | Floatarray | |
return | int |
public static dstdsigmoid ( float x ) : float | ||
x | float | |
return | float |
protected static logspace ( int i, int n, float lo, float hi ) : float | ||
i | int | |
n | int | |
lo | float | |
hi | float | |
return | float |
protected static mvmul0 ( Floatarray result, Floatarray a, Floatarray v ) : void | ||
result | Floatarray | |
a | Floatarray | |
v | Floatarray | |
return | void |
protected static outer_add ( Floatarray a, Floatarray u, Floatarray v, float eps ) : void | ||
a | Floatarray | |
u | Floatarray | |
v | Floatarray | |
eps | float | |
return | void |
public static sigmoid_speed ( float x ) : float | ||
x | float | |
return | float |
protected static vmmul0 ( Floatarray result, Floatarray v, Floatarray a ) : void | ||
result | Floatarray | |
v | Floatarray | |
a | Floatarray | |
return | void |