contrib.learn.ProblemType
tf.contrib.learn.ProblemType
class tf.contrib.learn.ProblemType
Defined in tensorflow/contrib/learn/python/learn/estimators/constants.py
.
See the guide: Learn (contrib) > Input processing
Enum-like values for the type of problem that the model solves.
These values are used when exporting the model to produce the appropriate signature function for serving.
The following values are supported: UNSPECIFIED: Produces a predict signature_fn. CLASSIFICATION: Produces a classify signature_fn. LINEAR_REGRESSION: Produces a regression signature_fn. LOGISTIC_REGRESSION: Produces a classify signature_fn.
Class Members
CLASSIFICATION
LINEAR_REGRESSION
LOGISTIC_REGRESSION
UNSPECIFIED
© 2017 The TensorFlow Authors. All rights reserved.
Licensed under the Creative Commons Attribution License 3.0.
Code samples licensed under the Apache 2.0 License.
https://www.tensorflow.org/api_docs/python/tf/contrib/learn/ProblemType