New! Use Simple ML for Sheets to apply machine learning to the data in your Google Sheets Read More

Module: tfdf.py_tree.objective

Definition of a model objective.

An objective contains a task (e.g. classification), a label column name, and objective specific meta-data e.g. the number of classes for a classification objective.

Classes

class AbstractObjective: Abstract objective.

class ClassificationObjective: Objective for classification.

class RankingObjective: Objective for ranking.

class RegressionObjective: Objective for regression.

Task Instance of google.protobuf.internal.enum_type_wrapper.EnumTypeWrapper