A multi-label predictor.
A plugin that will ultimately produce the SparseMultiLabelPredictor.
Created by ryan.
Created by ryan.
A sparse multi-label predictor takes:
A sparse multi-label predictor takes:
and returns a Map from the labels passed in, to the prediction associated with the label.
A lazy version of a sparse multi-label predictor.
A lazy version of a sparse multi-label predictor. It is a curried zero-arg function that produces a sparse multi-label predictor.
This definition is "lazy" because we can't guarantee that the underlying predictor is
Serializable
so we pass around a function that can be cached in a transient
lazy val
. This function should however be Serializable
and testing should be done
to ensure that each predictor producer is Serializable
.
Created by ryan.deak on 8/31/17.