final case class TrainableAlgorithm(core: MantikItemCore[TrainableAlgorithmDefinition], trainedBridge: Bridge) extends BridgedMantikItem with Product with Serializable
A trainable algorithm
- Alphabetic
- By Inheritance
- TrainableAlgorithm
- Serializable
- Serializable
- Product
- Equals
- BridgedMantikItem
- MantikItem
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new TrainableAlgorithm(core: MantikItemCore[TrainableAlgorithmDefinition], trainedBridge: Bridge)
Type Members
-
type
DefinitionType = TrainableAlgorithmDefinition
- Definition Classes
- TrainableAlgorithm → BridgedMantikItem → MantikItem
-
type
OwnType = TrainableAlgorithm
- Definition Classes
- TrainableAlgorithm → MantikItem
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
bridge: Bridge
Returns the item bridge.
Returns the item bridge.
- Definition Classes
- BridgedMantikItem
-
def
bridgeMantikId: MantikId
Returns the type's bridge.
Returns the type's bridge.
- Definition Classes
- BridgedMantikItem
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @HotSpotIntrinsicCandidate()
-
val
core: MantikItemCore[TrainableAlgorithmDefinition]
- Definition Classes
- TrainableAlgorithm → MantikItem
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def functionType: FunctionType
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
itemId: ItemId
Returns the ai.mantik.elements.ItemId of the item.
Returns the ai.mantik.elements.ItemId of the item.
- Definition Classes
- MantikItem
-
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
-
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
push(): PushAction
Pushes an item to the registry.
Pushes an item to the registry.
- Definition Classes
- MantikItem
-
def
save(): SaveAction
Save an item back in the local database
Save an item back in the local database
- Definition Classes
- MantikItem
- def statType: DataType
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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
-
def
toString(): String
- Definition Classes
- MantikItem → AnyRef → Any
-
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.
- val trainedBridge: Bridge
- def trainingDataType: DataType
-
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( ... )
-
def
withCore(core: MantikItemCore[TrainableAlgorithmDefinition]): TrainableAlgorithm
Override the current source type.
Override the current source type.
- Attributes
- protected
- Definition Classes
- TrainableAlgorithm → MantikItem
-
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
-
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( ... )
-
def
withMetaValues(values: (String, SingleElementBundle)*): OwnType
Update Meta Variables.
Update Meta Variables.
- Definition Classes
- MantikItem
- Annotations
- @throws( ... )