Class IndependentRegressionTreeModel

java.lang.Object
org.tribuo.Model<T>
org.tribuo.SparseModel<T>
org.tribuo.common.tree.TreeModel<Regressor>
org.tribuo.regression.rtree.IndependentRegressionTreeModel
All Implemented Interfaces:
com.oracle.labs.mlrg.olcut.provenance.Provenancable<org.tribuo.provenance.ModelProvenance>, Serializable, org.tribuo.protos.ProtoSerializable<org.tribuo.protos.core.ModelProto>

A Model wrapped around a list of decision tree root Nodes used to generate independent predictions for each dimension in a regression.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    Protobuf serialization version.

    Fields inherited from class org.tribuo.Model

    ALL_OUTPUTS, BIAS_FEATURE

    Fields inherited from interface org.tribuo.protos.ProtoSerializable

    DESERIALIZATION_METHOD_NAME, PROVENANCE_SERIALIZER
  • Method Summary

    Modifier and Type
    Method
    Description
    deserializeFromProto(int version, String className, com.google.protobuf.Any message)
    Deserialization factory.
    int
    Probes the trees to find the depth.
    Optional<org.tribuo.Excuse<Regressor>>
    getExcuse(org.tribuo.Example<Regressor> example)
     
     
    Returns null, as this model contains multiple roots, one per regression output dimension.
    Returns an unmodifiable view on the root node collection.
    Map<String,List<com.oracle.labs.mlrg.olcut.util.Pair<String,Double>>>
     
    org.tribuo.Prediction<Regressor>
    predict(org.tribuo.Example<Regressor> example)
     
    org.tribuo.protos.core.ModelProto
     
     

    Methods inherited from class org.tribuo.common.tree.TreeModel

    countNodes

    Methods inherited from class org.tribuo.SparseModel

    copy, getActiveFeatures

    Methods inherited from class org.tribuo.Model

    castModel, deserialize, deserializeFromFile, deserializeFromStream, generatesProbabilities, getExcuses, getFeatureIDMap, getName, getOutputIDInfo, getProvenance, predict, predict, serializeToFile, serializeToStream, setName, validate

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, wait, wait, wait