Class

org.deeplearning4j.scalnet.models

Model

Related Doc: package models

Permalink

abstract class Model extends AnyRef

Abstract base class for neural net architectures.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Model
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Model()

    Permalink

Abstract Value Members

  1. abstract def compile(lossFunction: LossFunction, optimizer: Optimizer): Unit

    Permalink

    Compile neural net architecture.

    Compile neural net architecture. Call immediately before training.

    lossFunction

    loss function to use

    optimizer

    optimization algorithm to use

  2. abstract def fit(iter: DataSetIterator, nbEpoch: Int = defaultEpochs, listeners: List[IterationListener]): Unit

    Permalink

    Fit neural net to data.

    Fit neural net to data.

    iter

    iterator over data set

    nbEpoch

    number of epochs to train

    listeners

    callbacks for monitoring training

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def buildModelConfig(optimizer: Optimizer, seed: Long): Builder

    Permalink

    Build model configuration from optimizer and seed.

    Build model configuration from optimizer and seed.

    optimizer

    optimization algorithm to use in model

    seed

    seed to use

    returns

    NeuralNetConfiguration.Builder

  6. def buildOutput(lossFunction: LossFunction): Unit

    Permalink

    Make last layer of architecture an output layer using the provided loss function.

    Make last layer of architecture an output layer using the provided loss function.

    lossFunction

    loss function to use

  7. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  8. val defaultEpochs: Int

    Permalink
    Attributes
    protected
  9. val defaultOptimizer: SGD

    Permalink
    Attributes
    protected
  10. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. def getLayers: List[Node]

    Permalink
  15. def getNetwork: MultiLayerNetwork

    Permalink
  16. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  18. var layers: List[Node]

    Permalink
    Attributes
    protected
  19. var model: MultiLayerNetwork

    Permalink
    Attributes
    protected
  20. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  23. def predict(x: DataSet): INDArray

    Permalink

    Use neural net to make prediction on input x.

    Use neural net to make prediction on input x.

    x

    input represented as DataSet

  24. def predict(x: INDArray): INDArray

    Permalink

    Use neural net to make prediction on input x

    Use neural net to make prediction on input x

    x

    input represented as INDArray

  25. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  26. def toJson: String

    Permalink
  27. def toString(): String

    Permalink
    Definition Classes
    Model → AnyRef → Any
  28. def toYaml: String

    Permalink
  29. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped