object ActivationFunc
The ActivationFunc
object contains common Activation functions.
- See also
en.wikipedia.org/wiki/Activation_function
- Alphabetic
- By Inheritance
- ActivationFunc
- 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
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
gaussian(t: Double): Double
Compute the value of the 'gaussian' function at 't'.
Compute the value of the 'gaussian' function at 't'.
- t
the gaussian function argument
-
def
gaussianV(t: VectoD): VectoD
Return the vector of values of the 'gaussian' function applied to vector 't.' The values are computed in-place.
Return the vector of values of the 'gaussian' function applied to vector 't.' The values are computed in-place.
- t
the gaussian function vector argument
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
logistic(t: Double, a: Double, b: Double): Double
Compute the value of the 'logistic' function at 't'.
Compute the value of the 'logistic' function at 't'.
- t
the logistic function argument
- a
the shift parameter
- b
the spread parameter
-
def
logisticV(t: VectoD, a: Double, b: Double): VectoD
Compute the vector of values of the 'logistic' function applied to vector 't'.
Compute the vector of values of the 'logistic' function applied to vector 't'. The values are computed in-place.
- t
the logistic function argument
- a
the shift parameter
- b
the spread parameter
-
def
logit(p: Double): Double
Compute the log of the odds of an event occurring (e.g., success, 1).
Compute the log of the odds of an event occurring (e.g., success, 1). The inverse of the 'logit' function is the standard logistic function (sigmoid function).
- p
the probability, a number between 0 and 1.
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
-
def
sigmoid(t: Double): Double
Compute the value of the 'sigmoid' function at 't'.
Compute the value of the 'sigmoid' function at 't'. This is a special case of the logistic function, where 'a = 0' and 'b = 1'. It is also referred to as the standard logistic function. It is also the inverse of the logit function.
- t
the sigmoid function argument
-
def
sigmoidV(t: VectoD): VectoD
Return the vector of values of the 'sigmoid' function applied to vector 't.' The values are computed in-place.
Return the vector of values of the 'sigmoid' function applied to vector 't.' The values are computed in-place.
- t
the sigmoid function vector argument
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )