com
.
github
.
cloudml
.
zen
.
ml
.
neuralNetwork
MLP
class
MLP
extends
Logging
with
Serializable
Annotations
@Experimental
()
Linear Supertypes
Serializable
,
Serializable
,
Logging
,
AnyRef
,
Any
Ordering
Alphabetic
By inheritance
Inherited
MLP
Serializable
Serializable
Logging
AnyRef
Any
Hide All
Show all
Learn more about member selection
Visibility
Public
All
Instance Constructors
new
MLP
(
topology:
Array
[
Int
]
)
new
MLP
(
topology:
Array
[
Int
]
,
inputDropout:
Double
,
hiddenDropout:
Double
)
new
MLP
(
innerLayers:
Array
[
Layer
]
,
dropout:
Array
[
Double
]
)
Value Members
final
def
!=
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
!=
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
##
()
:
Int
Definition Classes
AnyRef → Any
final
def
==
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
==
(
arg0:
Any
)
:
Boolean
Definition Classes
Any
final
def
asInstanceOf
[
T0
]
:
T0
Definition Classes
Any
def
assign
(
newNN:
MLP
)
:
MLP
Attributes
protected[
com.github.cloudml.zen.ml.neuralNetwork
]
def
clone
()
:
AnyRef
Attributes
protected[
java.lang
]
Definition Classes
AnyRef
Annotations
@throws
(
...
)
def
computeDelta
(
x:
DenseMatrix
[
Double
]
,
label:
DenseMatrix
[
Double
]
)
: (
Array
[
DenseMatrix
[
Double
]],
Array
[
DenseMatrix
[
Double
]])
Attributes
protected[
com.github.cloudml.zen.ml
]
def
computeGradient
(
x:
DenseMatrix
[
Double
]
,
label:
DenseMatrix
[
Double
]
)
: (
Array
[(
DenseMatrix
[
Double
],
DenseVector
[
Double
])],
Double
,
Double
)
Attributes
protected[
com.github.cloudml.zen.ml
]
def
computeGradientGivenDelta
(
x:
DenseMatrix
[
Double
]
,
out:
Array
[
DenseMatrix
[
Double
]]
,
delta:
Array
[
DenseMatrix
[
Double
]]
)
:
Array
[(
DenseMatrix
[
Double
],
DenseVector
[
Double
])]
Attributes
protected[
com.github.cloudml.zen.ml
]
def
dropOutMask
(
cols:
Int
)
:
Array
[
DenseMatrix
[
Double
]]
Attributes
protected[
com.github.cloudml.zen.ml
]
val
dropout
:
Array
[
Double
]
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]
)
final
def
getClass
()
:
Class
[_]
Definition Classes
AnyRef → Any
def
hashCode
()
:
Int
Definition Classes
AnyRef → Any
val
innerLayers
:
Array
[
Layer
]
final
def
isInstanceOf
[
T0
]
:
Boolean
Definition Classes
Any
def
isTraceEnabled
()
:
Boolean
Attributes
protected
Definition Classes
Logging
def
log
:
Logger
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logDebug
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logError
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logInfo
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logName
:
String
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logTrace
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
,
throwable:
Throwable
)
:
Unit
Attributes
protected
Definition Classes
Logging
def
logWarning
(
msg: ⇒
String
)
:
Unit
Attributes
protected
Definition Classes
Logging
final
def
ne
(
arg0:
AnyRef
)
:
Boolean
Definition Classes
AnyRef
final
def
notify
()
:
Unit
Definition Classes
AnyRef
final
def
notifyAll
()
:
Unit
Definition Classes
AnyRef
def
numInput
:
Int
def
numLayer
:
Int
def
numOut
:
Int
def
predict
(
x:
DenseMatrix
[
Double
]
)
:
DenseMatrix
[
Double
]
lazy val
rand
:
Random
Attributes
protected
def
setSeed
(
seed:
Long
)
:
Unit
final
def
synchronized
[
T0
]
(
arg0: ⇒
T0
)
:
T0
Definition Classes
AnyRef
def
toString
()
:
String
Definition Classes
AnyRef → Any
def
topology
:
Array
[
Int
]
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
(
...
)
Inherited from
Serializable
Inherited from
Serializable
Inherited from
Logging
Inherited from
AnyRef
Inherited from
Any
Ungrouped