C# Class Coon.Compass.Procyon.alglib.alglib.mlpbase

Show file Open project: dbaileychess/Compass

Public Methods

Method Description
_pexec_mlpallerrorssparsesubset ( multilayerperceptron network, sparse xy, int setsize, int subset, int subsetsize, modelerrors rep ) : void
_pexec_mlpallerrorssubset ( multilayerperceptron network, double xy, int setsize, int subset, int subsetsize, modelerrors rep ) : void
_pexec_mlpavgce ( multilayerperceptron network, double xy, int npoints ) : double
_pexec_mlpavgcesparse ( multilayerperceptron network, sparse xy, int npoints ) : double
_pexec_mlpavgerror ( multilayerperceptron network, double xy, int npoints ) : double
_pexec_mlpavgerrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
_pexec_mlpavgrelerror ( multilayerperceptron network, double xy, int npoints ) : double
_pexec_mlpavgrelerrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
_pexec_mlpclserror ( multilayerperceptron network, double xy, int npoints ) : int
_pexec_mlperror ( multilayerperceptron network, double xy, int npoints ) : double
_pexec_mlperrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
_pexec_mlperrorsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int subset, int subsetsize ) : double
_pexec_mlperrorsubset ( multilayerperceptron network, double xy, int setsize, int subset, int subsetsize ) : double
_pexec_mlpgradbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad ) : void
_pexec_mlpgradbatchsparse ( multilayerperceptron network, sparse xy, int ssize, double &e, double &grad ) : void
_pexec_mlpgradbatchsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int idx, int subsetsize, double &e, double &grad ) : void
_pexec_mlpgradbatchsubset ( multilayerperceptron network, double xy, int setsize, int idx, int subsetsize, double &e, double &grad ) : void
_pexec_mlprelclserror ( multilayerperceptron network, double xy, int npoints ) : double
_pexec_mlprelclserrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
_pexec_mlprmserror ( multilayerperceptron network, double xy, int npoints ) : double
_pexec_mlprmserrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
mlpactivationfunction ( double net, int k, double &f, double &df, double &d2f ) : void
mlpallerrorssparsesubset ( multilayerperceptron network, sparse xy, int setsize, int subset, int subsetsize, modelerrors rep ) : void
mlpallerrorssubset ( multilayerperceptron network, double xy, int setsize, int subset, int subsetsize, modelerrors rep ) : void
mlpallerrorsx ( multilayerperceptron network, double densexy, sparse sparsexy, int datasetsize, int datasettype, int idx, int subset0, int subset1, int subsettype, alglib buf, modelerrors rep ) : void
mlpalloc ( alglib s, multilayerperceptron network ) : void
mlpavgce ( multilayerperceptron network, double xy, int npoints ) : double
mlpavgcesparse ( multilayerperceptron network, sparse xy, int npoints ) : double
mlpavgerror ( multilayerperceptron network, double xy, int npoints ) : double
mlpavgerrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
mlpavgrelerror ( multilayerperceptron network, double xy, int npoints ) : double
mlpavgrelerrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
mlpclserror ( multilayerperceptron network, double xy, int npoints ) : int
mlpcopy ( multilayerperceptron network1, multilayerperceptron network2 ) : void
mlpcopyshared ( multilayerperceptron network1, multilayerperceptron network2 ) : void
mlpcopytunableparameters ( multilayerperceptron network1, multilayerperceptron network2 ) : void
mlpcreate0 ( int nin, int nout, multilayerperceptron network ) : void
mlpcreate1 ( int nin, int nhid, int nout, multilayerperceptron network ) : void
mlpcreate2 ( int nin, int nhid1, int nhid2, int nout, multilayerperceptron network ) : void
mlpcreateb0 ( int nin, int nout, double b, double d, multilayerperceptron network ) : void
mlpcreateb1 ( int nin, int nhid, int nout, double b, double d, multilayerperceptron network ) : void
mlpcreateb2 ( int nin, int nhid1, int nhid2, int nout, double b, double d, multilayerperceptron network ) : void
mlpcreatec0 ( int nin, int nout, multilayerperceptron network ) : void
mlpcreatec1 ( int nin, int nhid, int nout, multilayerperceptron network ) : void
mlpcreatec2 ( int nin, int nhid1, int nhid2, int nout, multilayerperceptron network ) : void
mlpcreater0 ( int nin, int nout, double a, double b, multilayerperceptron network ) : void
mlpcreater1 ( int nin, int nhid, int nout, double a, double b, multilayerperceptron network ) : void
mlpcreater2 ( int nin, int nhid1, int nhid2, int nout, double a, double b, multilayerperceptron network ) : void
mlperror ( multilayerperceptron network, double xy, int npoints ) : double
mlperrorn ( multilayerperceptron network, double xy, int ssize ) : double
mlperrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
mlperrorsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int subset, int subsetsize ) : double
mlperrorsubset ( multilayerperceptron network, double xy, int setsize, int subset, int subsetsize ) : double
mlpexporttunableparameters ( multilayerperceptron network, double &p, int &pcount ) : void
mlpgetinputscaling ( multilayerperceptron network, int i, double &mean, double &sigma ) : void
mlpgetinputscount ( multilayerperceptron network ) : int
mlpgetlayerscount ( multilayerperceptron network ) : int
mlpgetlayersize ( multilayerperceptron network, int k ) : int
mlpgetneuroninfo ( multilayerperceptron network, int k, int i, int &fkind, double &threshold ) : void
mlpgetoutputscaling ( multilayerperceptron network, int i, double &mean, double &sigma ) : void
mlpgetoutputscount ( multilayerperceptron network ) : int
mlpgetweight ( multilayerperceptron network, int k0, int i0, int k1, int i1 ) : double
mlpgetweightscount ( multilayerperceptron network ) : int
mlpgrad ( multilayerperceptron network, double x, double desiredy, double &e, double &grad ) : void
mlpgradbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad ) : void
mlpgradbatchsparse ( multilayerperceptron network, sparse xy, int ssize, double &e, double &grad ) : void
mlpgradbatchsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int idx, int subsetsize, double &e, double &grad ) : void
mlpgradbatchsubset ( multilayerperceptron network, double xy, int setsize, int idx, int subsetsize, double &e, double &grad ) : void
mlpgradbatchx ( multilayerperceptron network, double densexy, sparse sparsexy, int datasetsize, int datasettype, int idx, int subset0, int subset1, int subsettype, alglib buf, alglib gradbuf ) : void
mlpgradn ( multilayerperceptron network, double x, double desiredy, double &e, double &grad ) : void
mlpgradnbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad ) : void
mlpgradsplitcost ( ) : int
mlpgradsplitsize ( ) : int
mlphessianbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad, double &h ) : void
mlphessiannbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad, double &h ) : void
mlpimporttunableparameters ( multilayerperceptron network, double p ) : void
mlpinitpreprocessor ( multilayerperceptron network, double xy, int ssize ) : void
mlpinitpreprocessorsparse ( multilayerperceptron network, sparse xy, int ssize ) : void
mlpinitpreprocessorsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int idx, int subsetsize ) : void
mlpinitpreprocessorsubset ( multilayerperceptron network, double xy, int setsize, int idx, int subsetsize ) : void
mlpinternalprocessvector ( int structinfo, double weights, double columnmeans, double columnsigmas, double &neurons, double &dfdnet, double x, double &y ) : void
mlpissoftmax ( multilayerperceptron network ) : bool
mlpntotal ( multilayerperceptron network ) : int
mlpprocess ( multilayerperceptron network, double x, double &y ) : void
mlpprocessi ( multilayerperceptron network, double x, double &y ) : void
mlpproperties ( multilayerperceptron network, int &nin, int &nout, int &wcount ) : void
mlprandomize ( multilayerperceptron network ) : void
mlprandomizefull ( multilayerperceptron network ) : void
mlprelclserror ( multilayerperceptron network, double xy, int npoints ) : double
mlprelclserrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
mlprmserror ( multilayerperceptron network, double xy, int npoints ) : double
mlprmserrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
mlpsamearchitecture ( multilayerperceptron network1, multilayerperceptron network2 ) : bool
mlpserialize ( alglib s, multilayerperceptron network ) : void
mlpserializeold ( multilayerperceptron network, double &ra, int &rlen ) : void
mlpsetinputscaling ( multilayerperceptron network, int i, double mean, double sigma ) : void
mlpsetneuroninfo ( multilayerperceptron network, int k, int i, int fkind, double threshold ) : void
mlpsetoutputscaling ( multilayerperceptron network, int i, double mean, double sigma ) : void
mlpsetweight ( multilayerperceptron network, int k0, int i0, int k1, int i1, double w ) : void
mlpunserialize ( alglib s, multilayerperceptron network ) : void
mlpunserializeold ( double ra, multilayerperceptron network ) : void

Private Methods

Method Description
addactivationlayer ( int functype, int &lsizes, int &ltypes, int &lconnfirst, int &lconnlast, int &lastproc ) : void
addbiasedsummatorlayer ( int ncount, int &lsizes, int &ltypes, int &lconnfirst, int &lconnlast, int &lastproc ) : void
addinputlayer ( int ncount, int &lsizes, int &ltypes, int &lconnfirst, int &lconnlast, int &lastproc ) : void
addzerolayer ( int &lsizes, int &ltypes, int &lconnfirst, int &lconnlast, int &lastproc ) : void
fillhighlevelinformation ( multilayerperceptron network, int nin, int nhid1, int nhid2, int nout, bool iscls, bool islinearout ) : void
hladdhiddenlayer ( multilayerperceptron network, int &connidx, int &neuroidx, int &structinfoidx, int &weightsidx, int k, int nprev, int ncur ) : void
hladdinputlayer ( multilayerperceptron network, int &connidx, int &neuroidx, int &structinfoidx, int nin ) : void
hladdoutputlayer ( multilayerperceptron network, int &connidx, int &neuroidx, int &structinfoidx, int &weightsidx, int k, int nprev, int nout, bool iscls, bool islinearout ) : void
mlpchunkedgradient ( multilayerperceptron network, double xy, int cstart, int csize, double batch4buf, double hpcbuf, double &e, bool naturalerrorfunc ) : void
mlpchunkedprocess ( multilayerperceptron network, double xy, int cstart, int csize, double batch4buf, double hpcbuf ) : void
mlpcreate ( int nin, int nout, int lsizes, int ltypes, int lconnfirst, int lconnlast, int layerscount, bool isclsnet, multilayerperceptron network ) : void
mlphessianbatchinternal ( multilayerperceptron network, double xy, int ssize, bool naturalerr, double &e, double &grad, double &h ) : void
mlpinternalcalculategradient ( multilayerperceptron network, double neurons, double weights, double &derror, double &grad, bool naturalerrorfunc ) : void
randomizebackwardpass ( multilayerperceptron network, int neuronidx, double v ) : void
safecrossentropy ( double t, double z ) : double

Method Details

_pexec_mlpallerrorssparsesubset() public static method

public static _pexec_mlpallerrorssparsesubset ( multilayerperceptron network, sparse xy, int setsize, int subset, int subsetsize, modelerrors rep ) : void
network multilayerperceptron
xy sparse
setsize int
subset int
subsetsize int
rep modelerrors
return void

_pexec_mlpallerrorssubset() public static method

public static _pexec_mlpallerrorssubset ( multilayerperceptron network, double xy, int setsize, int subset, int subsetsize, modelerrors rep ) : void
network multilayerperceptron
xy double
setsize int
subset int
subsetsize int
rep modelerrors
return void

_pexec_mlpavgce() public static method

public static _pexec_mlpavgce ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

_pexec_mlpavgcesparse() public static method

public static _pexec_mlpavgcesparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

_pexec_mlpavgerror() public static method

public static _pexec_mlpavgerror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

_pexec_mlpavgerrorsparse() public static method

public static _pexec_mlpavgerrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

_pexec_mlpavgrelerror() public static method

public static _pexec_mlpavgrelerror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

_pexec_mlpavgrelerrorsparse() public static method

public static _pexec_mlpavgrelerrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

_pexec_mlpclserror() public static method

public static _pexec_mlpclserror ( multilayerperceptron network, double xy, int npoints ) : int
network multilayerperceptron
xy double
npoints int
return int

_pexec_mlperror() public static method

public static _pexec_mlperror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

_pexec_mlperrorsparse() public static method

public static _pexec_mlperrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

_pexec_mlperrorsparsesubset() public static method

public static _pexec_mlperrorsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int subset, int subsetsize ) : double
network multilayerperceptron
xy sparse
setsize int
subset int
subsetsize int
return double

_pexec_mlperrorsubset() public static method

public static _pexec_mlperrorsubset ( multilayerperceptron network, double xy, int setsize, int subset, int subsetsize ) : double
network multilayerperceptron
xy double
setsize int
subset int
subsetsize int
return double

_pexec_mlpgradbatch() public static method

public static _pexec_mlpgradbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad ) : void
network multilayerperceptron
xy double
ssize int
e double
grad double
return void

_pexec_mlpgradbatchsparse() public static method

public static _pexec_mlpgradbatchsparse ( multilayerperceptron network, sparse xy, int ssize, double &e, double &grad ) : void
network multilayerperceptron
xy sparse
ssize int
e double
grad double
return void

_pexec_mlpgradbatchsparsesubset() public static method

public static _pexec_mlpgradbatchsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int idx, int subsetsize, double &e, double &grad ) : void
network multilayerperceptron
xy sparse
setsize int
idx int
subsetsize int
e double
grad double
return void

_pexec_mlpgradbatchsubset() public static method

public static _pexec_mlpgradbatchsubset ( multilayerperceptron network, double xy, int setsize, int idx, int subsetsize, double &e, double &grad ) : void
network multilayerperceptron
xy double
setsize int
idx int
subsetsize int
e double
grad double
return void

_pexec_mlprelclserror() public static method

public static _pexec_mlprelclserror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

_pexec_mlprelclserrorsparse() public static method

public static _pexec_mlprelclserrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

_pexec_mlprmserror() public static method

public static _pexec_mlprmserror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

_pexec_mlprmserrorsparse() public static method

public static _pexec_mlprmserrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

mlpactivationfunction() public static method

public static mlpactivationfunction ( double net, int k, double &f, double &df, double &d2f ) : void
net double
k int
f double
df double
d2f double
return void

mlpallerrorssparsesubset() public static method

public static mlpallerrorssparsesubset ( multilayerperceptron network, sparse xy, int setsize, int subset, int subsetsize, modelerrors rep ) : void
network multilayerperceptron
xy sparse
setsize int
subset int
subsetsize int
rep modelerrors
return void

mlpallerrorssubset() public static method

public static mlpallerrorssubset ( multilayerperceptron network, double xy, int setsize, int subset, int subsetsize, modelerrors rep ) : void
network multilayerperceptron
xy double
setsize int
subset int
subsetsize int
rep modelerrors
return void

mlpallerrorsx() public static method

public static mlpallerrorsx ( multilayerperceptron network, double densexy, sparse sparsexy, int datasetsize, int datasettype, int idx, int subset0, int subset1, int subsettype, alglib buf, modelerrors rep ) : void
network multilayerperceptron
densexy double
sparsexy sparse
datasetsize int
datasettype int
idx int
subset0 int
subset1 int
subsettype int
buf alglib
rep modelerrors
return void

mlpalloc() public static method

public static mlpalloc ( alglib s, multilayerperceptron network ) : void
s alglib
network multilayerperceptron
return void

mlpavgce() public static method

public static mlpavgce ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

mlpavgcesparse() public static method

public static mlpavgcesparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

mlpavgerror() public static method

public static mlpavgerror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

mlpavgerrorsparse() public static method

public static mlpavgerrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

mlpavgrelerror() public static method

public static mlpavgrelerror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

mlpavgrelerrorsparse() public static method

public static mlpavgrelerrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

mlpclserror() public static method

public static mlpclserror ( multilayerperceptron network, double xy, int npoints ) : int
network multilayerperceptron
xy double
npoints int
return int

mlpcopy() public static method

public static mlpcopy ( multilayerperceptron network1, multilayerperceptron network2 ) : void
network1 multilayerperceptron
network2 multilayerperceptron
return void

mlpcopyshared() public static method

public static mlpcopyshared ( multilayerperceptron network1, multilayerperceptron network2 ) : void
network1 multilayerperceptron
network2 multilayerperceptron
return void

mlpcopytunableparameters() public static method

public static mlpcopytunableparameters ( multilayerperceptron network1, multilayerperceptron network2 ) : void
network1 multilayerperceptron
network2 multilayerperceptron
return void

mlpcreate0() public static method

public static mlpcreate0 ( int nin, int nout, multilayerperceptron network ) : void
nin int
nout int
network multilayerperceptron
return void

mlpcreate1() public static method

public static mlpcreate1 ( int nin, int nhid, int nout, multilayerperceptron network ) : void
nin int
nhid int
nout int
network multilayerperceptron
return void

mlpcreate2() public static method

public static mlpcreate2 ( int nin, int nhid1, int nhid2, int nout, multilayerperceptron network ) : void
nin int
nhid1 int
nhid2 int
nout int
network multilayerperceptron
return void

mlpcreateb0() public static method

public static mlpcreateb0 ( int nin, int nout, double b, double d, multilayerperceptron network ) : void
nin int
nout int
b double
d double
network multilayerperceptron
return void

mlpcreateb1() public static method

public static mlpcreateb1 ( int nin, int nhid, int nout, double b, double d, multilayerperceptron network ) : void
nin int
nhid int
nout int
b double
d double
network multilayerperceptron
return void

mlpcreateb2() public static method

public static mlpcreateb2 ( int nin, int nhid1, int nhid2, int nout, double b, double d, multilayerperceptron network ) : void
nin int
nhid1 int
nhid2 int
nout int
b double
d double
network multilayerperceptron
return void

mlpcreatec0() public static method

public static mlpcreatec0 ( int nin, int nout, multilayerperceptron network ) : void
nin int
nout int
network multilayerperceptron
return void

mlpcreatec1() public static method

public static mlpcreatec1 ( int nin, int nhid, int nout, multilayerperceptron network ) : void
nin int
nhid int
nout int
network multilayerperceptron
return void

mlpcreatec2() public static method

public static mlpcreatec2 ( int nin, int nhid1, int nhid2, int nout, multilayerperceptron network ) : void
nin int
nhid1 int
nhid2 int
nout int
network multilayerperceptron
return void

mlpcreater0() public static method

public static mlpcreater0 ( int nin, int nout, double a, double b, multilayerperceptron network ) : void
nin int
nout int
a double
b double
network multilayerperceptron
return void

mlpcreater1() public static method

public static mlpcreater1 ( int nin, int nhid, int nout, double a, double b, multilayerperceptron network ) : void
nin int
nhid int
nout int
a double
b double
network multilayerperceptron
return void

mlpcreater2() public static method

public static mlpcreater2 ( int nin, int nhid1, int nhid2, int nout, double a, double b, multilayerperceptron network ) : void
nin int
nhid1 int
nhid2 int
nout int
a double
b double
network multilayerperceptron
return void

mlperror() public static method

public static mlperror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

mlperrorn() public static method

public static mlperrorn ( multilayerperceptron network, double xy, int ssize ) : double
network multilayerperceptron
xy double
ssize int
return double

mlperrorsparse() public static method

public static mlperrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

mlperrorsparsesubset() public static method

public static mlperrorsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int subset, int subsetsize ) : double
network multilayerperceptron
xy sparse
setsize int
subset int
subsetsize int
return double

mlperrorsubset() public static method

public static mlperrorsubset ( multilayerperceptron network, double xy, int setsize, int subset, int subsetsize ) : double
network multilayerperceptron
xy double
setsize int
subset int
subsetsize int
return double

mlpexporttunableparameters() public static method

public static mlpexporttunableparameters ( multilayerperceptron network, double &p, int &pcount ) : void
network multilayerperceptron
p double
pcount int
return void

mlpgetinputscaling() public static method

public static mlpgetinputscaling ( multilayerperceptron network, int i, double &mean, double &sigma ) : void
network multilayerperceptron
i int
mean double
sigma double
return void

mlpgetinputscount() public static method

public static mlpgetinputscount ( multilayerperceptron network ) : int
network multilayerperceptron
return int

mlpgetlayerscount() public static method

public static mlpgetlayerscount ( multilayerperceptron network ) : int
network multilayerperceptron
return int

mlpgetlayersize() public static method

public static mlpgetlayersize ( multilayerperceptron network, int k ) : int
network multilayerperceptron
k int
return int

mlpgetneuroninfo() public static method

public static mlpgetneuroninfo ( multilayerperceptron network, int k, int i, int &fkind, double &threshold ) : void
network multilayerperceptron
k int
i int
fkind int
threshold double
return void

mlpgetoutputscaling() public static method

public static mlpgetoutputscaling ( multilayerperceptron network, int i, double &mean, double &sigma ) : void
network multilayerperceptron
i int
mean double
sigma double
return void

mlpgetoutputscount() public static method

public static mlpgetoutputscount ( multilayerperceptron network ) : int
network multilayerperceptron
return int

mlpgetweight() public static method

public static mlpgetweight ( multilayerperceptron network, int k0, int i0, int k1, int i1 ) : double
network multilayerperceptron
k0 int
i0 int
k1 int
i1 int
return double

mlpgetweightscount() public static method

public static mlpgetweightscount ( multilayerperceptron network ) : int
network multilayerperceptron
return int

mlpgrad() public static method

public static mlpgrad ( multilayerperceptron network, double x, double desiredy, double &e, double &grad ) : void
network multilayerperceptron
x double
desiredy double
e double
grad double
return void

mlpgradbatch() public static method

public static mlpgradbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad ) : void
network multilayerperceptron
xy double
ssize int
e double
grad double
return void

mlpgradbatchsparse() public static method

public static mlpgradbatchsparse ( multilayerperceptron network, sparse xy, int ssize, double &e, double &grad ) : void
network multilayerperceptron
xy sparse
ssize int
e double
grad double
return void

mlpgradbatchsparsesubset() public static method

public static mlpgradbatchsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int idx, int subsetsize, double &e, double &grad ) : void
network multilayerperceptron
xy sparse
setsize int
idx int
subsetsize int
e double
grad double
return void

mlpgradbatchsubset() public static method

public static mlpgradbatchsubset ( multilayerperceptron network, double xy, int setsize, int idx, int subsetsize, double &e, double &grad ) : void
network multilayerperceptron
xy double
setsize int
idx int
subsetsize int
e double
grad double
return void

mlpgradbatchx() public static method

public static mlpgradbatchx ( multilayerperceptron network, double densexy, sparse sparsexy, int datasetsize, int datasettype, int idx, int subset0, int subset1, int subsettype, alglib buf, alglib gradbuf ) : void
network multilayerperceptron
densexy double
sparsexy sparse
datasetsize int
datasettype int
idx int
subset0 int
subset1 int
subsettype int
buf alglib
gradbuf alglib
return void

mlpgradn() public static method

public static mlpgradn ( multilayerperceptron network, double x, double desiredy, double &e, double &grad ) : void
network multilayerperceptron
x double
desiredy double
e double
grad double
return void

mlpgradnbatch() public static method

public static mlpgradnbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad ) : void
network multilayerperceptron
xy double
ssize int
e double
grad double
return void

mlpgradsplitcost() public static method

public static mlpgradsplitcost ( ) : int
return int

mlpgradsplitsize() public static method

public static mlpgradsplitsize ( ) : int
return int

mlphessianbatch() public static method

public static mlphessianbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad, double &h ) : void
network multilayerperceptron
xy double
ssize int
e double
grad double
h double
return void

mlphessiannbatch() public static method

public static mlphessiannbatch ( multilayerperceptron network, double xy, int ssize, double &e, double &grad, double &h ) : void
network multilayerperceptron
xy double
ssize int
e double
grad double
h double
return void

mlpimporttunableparameters() public static method

public static mlpimporttunableparameters ( multilayerperceptron network, double p ) : void
network multilayerperceptron
p double
return void

mlpinitpreprocessor() public static method

public static mlpinitpreprocessor ( multilayerperceptron network, double xy, int ssize ) : void
network multilayerperceptron
xy double
ssize int
return void

mlpinitpreprocessorsparse() public static method

public static mlpinitpreprocessorsparse ( multilayerperceptron network, sparse xy, int ssize ) : void
network multilayerperceptron
xy sparse
ssize int
return void

mlpinitpreprocessorsparsesubset() public static method

public static mlpinitpreprocessorsparsesubset ( multilayerperceptron network, sparse xy, int setsize, int idx, int subsetsize ) : void
network multilayerperceptron
xy sparse
setsize int
idx int
subsetsize int
return void

mlpinitpreprocessorsubset() public static method

public static mlpinitpreprocessorsubset ( multilayerperceptron network, double xy, int setsize, int idx, int subsetsize ) : void
network multilayerperceptron
xy double
setsize int
idx int
subsetsize int
return void

mlpinternalprocessvector() public static method

public static mlpinternalprocessvector ( int structinfo, double weights, double columnmeans, double columnsigmas, double &neurons, double &dfdnet, double x, double &y ) : void
structinfo int
weights double
columnmeans double
columnsigmas double
neurons double
dfdnet double
x double
y double
return void

mlpissoftmax() public static method

public static mlpissoftmax ( multilayerperceptron network ) : bool
network multilayerperceptron
return bool

mlpntotal() public static method

public static mlpntotal ( multilayerperceptron network ) : int
network multilayerperceptron
return int

mlpprocess() public static method

public static mlpprocess ( multilayerperceptron network, double x, double &y ) : void
network multilayerperceptron
x double
y double
return void

mlpprocessi() public static method

public static mlpprocessi ( multilayerperceptron network, double x, double &y ) : void
network multilayerperceptron
x double
y double
return void

mlpproperties() public static method

public static mlpproperties ( multilayerperceptron network, int &nin, int &nout, int &wcount ) : void
network multilayerperceptron
nin int
nout int
wcount int
return void

mlprandomize() public static method

public static mlprandomize ( multilayerperceptron network ) : void
network multilayerperceptron
return void

mlprandomizefull() public static method

public static mlprandomizefull ( multilayerperceptron network ) : void
network multilayerperceptron
return void

mlprelclserror() public static method

public static mlprelclserror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

mlprelclserrorsparse() public static method

public static mlprelclserrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

mlprmserror() public static method

public static mlprmserror ( multilayerperceptron network, double xy, int npoints ) : double
network multilayerperceptron
xy double
npoints int
return double

mlprmserrorsparse() public static method

public static mlprmserrorsparse ( multilayerperceptron network, sparse xy, int npoints ) : double
network multilayerperceptron
xy sparse
npoints int
return double

mlpsamearchitecture() public static method

public static mlpsamearchitecture ( multilayerperceptron network1, multilayerperceptron network2 ) : bool
network1 multilayerperceptron
network2 multilayerperceptron
return bool

mlpserialize() public static method

public static mlpserialize ( alglib s, multilayerperceptron network ) : void
s alglib
network multilayerperceptron
return void

mlpserializeold() public static method

public static mlpserializeold ( multilayerperceptron network, double &ra, int &rlen ) : void
network multilayerperceptron
ra double
rlen int
return void

mlpsetinputscaling() public static method

public static mlpsetinputscaling ( multilayerperceptron network, int i, double mean, double sigma ) : void
network multilayerperceptron
i int
mean double
sigma double
return void

mlpsetneuroninfo() public static method

public static mlpsetneuroninfo ( multilayerperceptron network, int k, int i, int fkind, double threshold ) : void
network multilayerperceptron
k int
i int
fkind int
threshold double
return void

mlpsetoutputscaling() public static method

public static mlpsetoutputscaling ( multilayerperceptron network, int i, double mean, double sigma ) : void
network multilayerperceptron
i int
mean double
sigma double
return void

mlpsetweight() public static method

public static mlpsetweight ( multilayerperceptron network, int k0, int i0, int k1, int i1, double w ) : void
network multilayerperceptron
k0 int
i0 int
k1 int
i1 int
w double
return void

mlpunserialize() public static method

public static mlpunserialize ( alglib s, multilayerperceptron network ) : void
s alglib
network multilayerperceptron
return void

mlpunserializeold() public static method

public static mlpunserializeold ( double ra, multilayerperceptron network ) : void
ra double
network multilayerperceptron
return void