Type SDCALogisticClassifier
Namespace tensorflow.contrib.linear_optimizer.python.sdca_estimator
Parent _SDCAEstimator
Interfaces ISDCALogisticClassifier
Methods
Properties
Public instance methods
IEnumerator<object> predict_classes(PythonFunctionContainer input_fn)
Runs inference to determine the predicted class per instance.
Parameters
-
PythonFunctionContainer
input_fn - The input function providing features.
Returns
-
IEnumerator<object>
- A generator of predicted classes for the features provided by input_fn. Each predicted class is represented by its class index (i.e. integer from 0 to n_classes-1)
object predict_classes_dyn(object input_fn)
Runs inference to determine the predicted class per instance.
Parameters
-
object
input_fn - The input function providing features.
Returns
-
object
- A generator of predicted classes for the features provided by input_fn. Each predicted class is represented by its class index (i.e. integer from 0 to n_classes-1)
IEnumerator<object> predict_proba(PythonFunctionContainer input_fn)
Runs inference to determine the class probability predictions.
Parameters
-
PythonFunctionContainer
input_fn - The input function providing features.
Returns
-
IEnumerator<object>
- A generator of predicted class probabilities for the features provided by input_fn.
object predict_proba_dyn(object input_fn)
Runs inference to determine the class probability predictions.
Parameters
-
object
input_fn - The input function providing features.
Returns
-
object
- A generator of predicted class probabilities for the features provided by input_fn.