Class ELM#

Inheritance Relationships#

Base Type#

Derived Types#

Class Documentation#

class ELM : public BasisFunc#

ELM base class.

Subclassed by ELMReLU, ELMSigmoid, ELMSin, ELMSwish, ELMTanh

Public Functions

ELM(double x0, double xf, int *nCin, int ncDim0, int min)#

ELM class constructor.

Calls BasisFunc class constructor and sets up weights and biases for the ELM. See BasisFunc class for more details.

virtual ~ELM()#

ELM class destructor.

void getW(double **arrOut, int *nOut)#

Python hook to return ELM weights.

void setW(double *arrIn, int nIn)#

Python hook to set ELM weights.

void getB(double **arrOut, int *nOut)#

Python hook to return ELM biases.

void setB(double *arrIn, int nIn)#

Python hook to set ELM biases.

Public Members

double *w#

ELM weights.

double *b#

ELM biases.

Protected Functions

virtual void Hint(const int d, const double *x, const int nOut, double *dark) = 0#

Function used internally to create the basis function matrices.

inline virtual void RecurseDeriv(const int d, int dCurr, const double *x, const int nOut, double *&F, const int mOut)#

This function is unecessary for ELM as it is all handled in Hint.

Therefore, this is just an empty function that returns a warning.