Top Description Methods
javax.visrec.ml.model

public Interface ModelBuilder<T>

Known Direct Implementers
javax.visrec.ml.classification.NeuralNetBinaryClassifier.Builder, javax.visrec.ml.classification.NeuralNetImageClassifier.Builder
Type Parameters
<T>
type of the object to be returned by the builder.
Imports
java.lang.reflect.InvocationTargetException, .Method, java.util.Map

Generic model builder interface, that all builders for machine learning algorithms implement.
Since
1.0

Method Summary

Modifier and TypeMethod and Description
public T

Returns:

object specified by the builder to build
build
()

Builds and returns an object using properties set using available builder methods.

public default T

Returns:

object specified by the builder to build
build
(Map<String, Object>
properties for the builder, a map of key, value pairs.
configuration
)

Builds an object using properties from the specified input argument

Method Detail

buildback to summary
public T build() throws ModelCreationException

Builds and returns an object using properties set using available builder methods.

Returns:T

object specified by the builder to build

buildback to summary
public default T build(Map<String, Object> configuration) throws ModelCreationException

Builds an object using properties from the specified input argument

Parameters
configuration:Map<String, Object>

properties for the builder, a map of key, value pairs.

Returns:T

object specified by the builder to build