Packages

final case class TrainableAlgorithm(core: MantikItemCore[TrainableAlgorithmDefinition], trainedBridge: Bridge) extends BridgedMantikItem with Product with Serializable

A trainable algorithm

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TrainableAlgorithm
  2. Serializable
  3. Product
  4. Equals
  5. BridgedMantikItem
  6. MantikItem
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new TrainableAlgorithm(core: MantikItemCore[TrainableAlgorithmDefinition], trainedBridge: Bridge)

Type Members

  1. type DefinitionType = TrainableAlgorithmDefinition
  2. type OwnType = TrainableAlgorithm
    Definition Classes
    TrainableAlgorithmMantikItem

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def bridge: Bridge

    Returns the item bridge.

    Returns the item bridge.

    Definition Classes
    BridgedMantikItem
  6. def bridgeMantikId: MantikId

    Returns the type's bridge.

    Returns the type's bridge.

    Definition Classes
    BridgedMantikItem
  7. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
  8. val core: MantikItemCore[TrainableAlgorithmDefinition]
    Definition Classes
    TrainableAlgorithmMantikItem
  9. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  10. def functionType: FunctionType
  11. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  12. def isCached: Boolean

    Return true if the item is requested for caching (This doesn't have to mean that the cache is evaluated)

    Return true if the item is requested for caching (This doesn't have to mean that the cache is evaluated)

    Definition Classes
    MantikItem
  13. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  14. def itemId: ItemId

    Returns the ai.mantik.elements.ItemId of the item.

    Returns the ai.mantik.elements.ItemId of the item.

    Definition Classes
    MantikItem
  15. def mantikId: MantikId

    Returns the mantik id.

    Returns the mantik id. (Note: if it was stored after generating, it may not reflect the name)

    Definition Classes
    MantikItem
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  19. def productElementNames: Iterator[String]
    Definition Classes
    Product
  20. def push(): PushAction

    Pushes an item to the registry.

    Pushes an item to the registry.

    Definition Classes
    MantikItem
  21. def save(): SaveAction

    Save an item back in the local database

    Save an item back in the local database

    Definition Classes
    MantikItem
  22. def statType: DataType
  23. def state(implicit planningContext: PlanningContext): MantikItemState

    Returns the state of the item.

    Returns the state of the item.

    Definition Classes
    MantikItem
  24. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  25. def tag(name: NamedMantikId): OwnType

    Tag the item, giving it an additional name.

    Tag the item, giving it an additional name.

    Note: this will only have an effect, if the Item is saved or pushed.

    returns

    the tagged item.

    Definition Classes
    MantikItem
  26. def toString(): String
    Definition Classes
    MantikItem → AnyRef → Any
  27. def train(trainingData: DataSet, cached: Boolean = true): (Algorithm, DataSet)

    Train this TrainableAlgorithm with given trainingData.

    Train this TrainableAlgorithm with given trainingData.

    cached

    if true, the result will be cached. This is important for if you want to access the training result and stats.

  28. val trainedBridge: Bridge
  29. def trainingDataType: DataType
  30. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  31. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  32. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  33. def withCore(core: MantikItemCore[TrainableAlgorithmDefinition]): TrainableAlgorithm

    Override the current source type.

    Override the current source type.

    Attributes
    protected
    Definition Classes
    TrainableAlgorithmMantikItem
  34. def withMantikHeader(mantikHeader: MantikHeader[DefinitionType]): OwnType

    Override the mantik header (not this can be dangerous).

    Override the mantik header (not this can be dangerous).

    Attributes
    protected
    Definition Classes
    MantikItem
  35. def withMetaValue[T](name: String, value: T)(implicit arg0: ValueEncoder[T]): OwnType

    Convenience function to udpate a single meta value.

    Convenience function to udpate a single meta value. Types are matched automatically if possible

    Definition Classes
    MantikItem
    Annotations
    @throws("If a value is missing or of wrong type or not changeable.")
  36. def withMetaValues(values: (String, SingleElementBundle)*): OwnType

    Update Meta Variables.

    Update Meta Variables.

    Definition Classes
    MantikItem
    Annotations
    @throws("If a value is missing or of wrong type or not changeable.")

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from BridgedMantikItem

Inherited from MantikItem

Inherited from AnyRef

Inherited from Any

Ungrouped