tf.contrib.learn.DNNRegressor.config

tf.contrib.learn.DNNRegressor.config

tf.contrib.learn.DNNRegressor.bias_

tf.contrib.learn.DNNRegressor.bias_

tf.contrib.learn.DNNRegressor

class tf.contrib.learn.DNNRegressor A regressor for TensorFlow DNN models. Example: education = sparse_column_with_hash_bucket(column_name="education", hash_bucket_size=1000) occupation = sparse_column_with_hash_bucket(column_name="occupation", hash_bucket_size=1000) education_emb = embedding_column(sparse_id_column=education, dimension=16, combiner="sum") occupation_emb = e

tf.contrib.learn.DNNClassifier.__init__()

tf.contrib.learn.DNNClassifier.__init__(hidden_units, feature_columns, model_dir=None, n_classes=2, weight_column_name=None, optimizer=None, activation_fn=relu, dropout=None, gradient_clip_norm=None, enable_centered_bias=None, config=None) Initializes a DNNClassifier instance. Args: hidden_units: List of hidden units per layer. All layers are fully connected. Ex. [64, 32] means first layer has 64 nodes and second one has 32. feature_columns: An iterable containing all the feature columns use

tf.contrib.learn.DNNClassifier.weights_

tf.contrib.learn.DNNClassifier.weights_ DEPRECATED FUNCTION THIS FUNCTION IS DEPRECATED. It will be removed after 2016-10-13. Instructions for updating: This method inspects the private state of the object, and should not be used

tf.contrib.learn.DNNClassifier.predict_proba()

tf.contrib.learn.DNNClassifier.predict_proba(*args, **kwargs) Returns prediction probabilities for given features. (deprecated arguments) SOME ARGUMENTS ARE DEPRECATED. They will be removed after 2016-09-15. Instructions for updating: The default behavior of predict() is changing. The default value for as_iterable will change to True, and then the flag will be removed altogether. The behavior of this flag is described below. Args: x: features. input_fn: Input function. If set, x and y must

tf.contrib.learn.DNNClassifier.predict()

tf.contrib.learn.DNNClassifier.predict(*args, **kwargs) Returns predicted classes for given features. (deprecated arguments) SOME ARGUMENTS ARE DEPRECATED. They will be removed after 2016-09-15. Instructions for updating: The default behavior of predict() is changing. The default value for as_iterable will change to True, and then the flag will be removed altogether. The behavior of this flag is described below. Args: x: features. input_fn: Input function. If set, x must be None. batch_s

tf.contrib.learn.DNNClassifier.model_dir

tf.contrib.learn.DNNClassifier.model_dir

tf.contrib.learn.DNNClassifier.get_variable_value()

tf.contrib.learn.DNNClassifier.get_variable_value(name) Returns value of the variable given by name. Args: name: string, name of the tensor. Returns: Tensor object.

tf.contrib.learn.DNNClassifier.get_variable_names()

tf.contrib.learn.DNNClassifier.get_variable_names() Returns list of all variable names in this model. Returns: List of names.