|Constructor and Description|
Constructs a sparse model from the supplied arguments.
|Modifier and Type||Method and Description|
Copies a model, returning a deep copy of any mutable state, and a shallow copy otherwise.
Return an immutable view on the active features for each dimension.
copy, generatesProbabilities, getExcuse, getExcuses, getFeatureIDMap, getName, getOutputIDInfo, getProvenance, getTopFeatures, innerPredict, predict, predict, predict, setName, toString, validate
public SparseModel(String name, ModelProvenance provenance, ImmutableFeatureMap featureIDMap, ImmutableOutputInfo<T> outputIDInfo, boolean generatesProbabilities, Map<String,List<String>> activeFeatures)
name- The model name.
provenance- The model provenance.
featureIDMap- The features the model knows.
outputIDInfo- The outputs the model can produce.
generatesProbabilities- Does this model generate probabilistic outputs.
activeFeatures- The active features in this model.
Copyright © 2015–2021 Oracle and/or its affiliates. All rights reserved.