Have a question? Connect with the community at the TensorFlow Forum Visit Forum

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.


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