reductionml#

class reductionml.ActionProbsPred#
value#
class reductionml.ActionScoresPred#
value#
class reductionml.CbAdfFeatures#
class reductionml.CbLabel(action, cost, probability)#
action#
cost#
probability#
class reductionml.FormatType#
DsJson = FormatType.DsJson#
Json = FormatType.Json#
VwText = FormatType.VwText#
class reductionml.Parser#
static create_parser(format_type, reduction_type, hash_seed, num_bits)#
static create_parser_with_workspace(format_type, workspace)#
parse(chunk)#
class reductionml.ReductionType#
CB = ReductionType.CB#
Simple = ReductionType.Simple#
class reductionml.ScalarPred#
prediction#
raw_prediction#
class reductionml.SimpleLabel(value, weight)#
value#
weight#
class reductionml.SparseFeatures#
class reductionml.Workspace#
static create_from_config(args)#
static create_from_json_model(data)#
static create_from_model(data)#
learn(features, label)#
predict(features)#
predict_then_learn(features, label)#
serialize()#
serialize_to_json()#