LostTech.TensorFlow : API Documentation

Type SDCALogisticClassifier

Namespace tensorflow.contrib.linear_optimizer.python.sdca_estimator

Parent _SDCAEstimator

Interfaces ISDCALogisticClassifier

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.

Public static methods

SDCALogisticClassifier NewDyn(object example_id_column, object feature_columns, object weight_column_name, object model_dir, ImplicitContainer<T> l1_regularization, ImplicitContainer<T> l2_regularization, object num_loss_partitions, object config, object feature_engineering_fn, object partitioner)

Public properties

object config get;

object config_dyn get;

string model_dir get;

object model_dir_dyn get;

object model_fn get;

object model_fn_dyn get;

object PythonObject get;