object QuadELM_3L1 extends ModelFactory
The QuadELM_3L1
companion object provides factory functions for buidling three-layer
(one hidden layer) extreme learning machines.
Note, 'rescale' is defined in ModelFactory
in Model.scala.
- Alphabetic
- By Inheritance
- QuadELM_3L1
- ModelFactory
- Error
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
allForms(x: MatriD): MatriD
Create all forms/terms for each row/point placing them in a new matrix.
Create all forms/terms for each row/point placing them in a new matrix.
- x
the original un-expanded input/data matrix
- Definition Classes
- ModelFactory
-
def
apply(x: MatriD, y: VectoD, nz: Int, fname: Strings, hparam: HyperParameter, f0: AFF): QuadELM_3L1
Create an
QuadELM_3L1
for a data matrix and response vector.Create an
QuadELM_3L1
for a data matrix and response vector.- x
the input/data matrix
- y
the output/response vector
- nz
the number of nodes in hidden layer
- fname
the feature/variable names
- hparam
the hyper-parameters
- f0
the activation function family for layers 1->2 (input to hidden)
-
def
apply(xy: MatriD, nz: Int = -1, fname: Strings = null, hparam: HyperParameter = null, f0: AFF = f_tanh): QuadELM_3L1
Create an
QuadELM_3L1
for a combined data-response matrix.Create an
QuadELM_3L1
for a combined data-response matrix.- xy
the combined input/data and output/response matrix
- nz
the number of nodes in hidden layer
- fname
the feature/variable names
- hparam
the hyper-parameters
- f0
the activation function family for layers 1->2 (input to hidden)
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
- val drp: (Int, Null, Null, AFF)
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
flaw(method: String, message: String): Unit
- Definition Classes
- Error
-
def
forms(xi: VectoD, k: Int, nt: Int): VectoD
Given a vector/point 'v', compute the values for all of its forms/terms, returning them as a vector (assumes
Regression
with intercept).Given a vector/point 'v', compute the values for all of its forms/terms, returning them as a vector (assumes
Regression
with intercept). Override for expanded columns, e.g.,QuadRegression
.- xi
the vector/point (i-th row of x) for creating forms/terms
- k
the number of features/predictor variables (not counting intercept)
- nt
the number of terms
- Definition Classes
- ModelFactory
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
def
numTerms(k: Int): Int
The number of terms/parameters in the model (assumes
Regression
with intercept.The number of terms/parameters in the model (assumes
Regression
with intercept. Override for expanded columns, e.g.,QuadRegression
.- k
the number of features/predictor variables (not counting intercept)
- Definition Classes
- ModelFactory
-
val
rescale: Boolean
The 'rescale' flag indicated whether the data is to be rescaled/normalized
The 'rescale' flag indicated whether the data is to be rescaled/normalized
- Attributes
- protected
- Definition Classes
- ModelFactory
-
def
rescaleOff(): Unit
Turn rescaling off.
Turn rescaling off.
- Definition Classes
- ModelFactory
-
def
rescaleOn(): Unit
Turn rescaling on.
Turn rescaling on.
- Definition Classes
- ModelFactory
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated