Python callable which returns a tf.Distribution
instance created using only logits.
label_dimension
Number of regression labels per example. This is the size
of the last dimension of the labels Tensor (typically, this has shape
[batch_size, label_dimension]).
logits_dimension
Number of logits per example. This is the size of the last
dimension of the logits Tensor (typically, this has shape
[batch_size, logits_dimension]).
Default value: label_dimension.
label_name
Python str, name of the key in label dict. Can be None if
label is a Tensor (single headed models).
weight_column_name
Python str defining feature column name representing
weights. It is used to down weight or boost examples during training. It
will be multiplied by the loss of the example.
enable_centered_bias
Python bool. If True, estimator will learn a
centered bias variable for each class. Rest of the model structure learns
the residual after centered bias.
head_name
Python str, name of the head. Predictions, summary and metrics
keys are suffixed by "/" + head_name and the default variable scope is
head_name.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2020-10-01 UTC."],[],[],null,["# tf.contrib.distributions.estimator_head_distribution_regression\n\n\u003cbr /\u003e\n\n|-------------------------------------------------------------------------------------------------------------------------------------------------|\n| [View source on GitHub](https://github.com/tensorflow/tensorflow/blob/v1.15.0/tensorflow/contrib/distributions/python/ops/estimator.py#L34-L83) |\n\nCreates a `Head` for regression under a generic distribution. (deprecated) \n\n tf.contrib.distributions.estimator_head_distribution_regression(\n make_distribution_fn, label_dimension=1, logits_dimension=None, label_name=None,\n weight_column_name=None, enable_centered_bias=False, head_name=None\n )\n\n| **Warning:** THIS FUNCTION IS DEPRECATED. It will be removed after 2018-10-01. Instructions for updating: The TensorFlow Distributions library has moved to TensorFlow Probability (https://github.com/tensorflow/probability). You should update all references to use [`tfp.distributions`](/probability/api_docs/python/tfp/distributions) instead of [`tf.contrib.distributions`](../../../tf/contrib/distributions).\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Args ---- ||\n|------------------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `make_distribution_fn` | Python `callable` which returns a `tf.Distribution` instance created using only logits. |\n| `label_dimension` | Number of regression labels per example. This is the size of the last dimension of the labels `Tensor` (typically, this has shape `[batch_size, label_dimension]`). |\n| `logits_dimension` | Number of logits per example. This is the size of the last dimension of the logits `Tensor` (typically, this has shape `[batch_size, logits_dimension]`). Default value: `label_dimension`. |\n| `label_name` | Python `str`, name of the key in label `dict`. Can be `None` if label is a `Tensor` (single headed models). |\n| `weight_column_name` | Python `str` defining feature column name representing weights. It is used to down weight or boost examples during training. It will be multiplied by the loss of the example. |\n| `enable_centered_bias` | Python `bool`. If `True`, estimator will learn a centered bias variable for each class. Rest of the model structure learns the residual after centered bias. |\n| `head_name` | Python `str`, name of the head. Predictions, summary and metrics keys are suffixed by `\"/\" + head_name` and the default variable scope is `head_name`. |\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n\u003cbr /\u003e\n\n| Returns ------- ||\n|---|---|\n| An instance of `Head` for generic regression. ||\n\n\u003cbr /\u003e"]]