Skip to content

Commit 026a150

Browse files
committed
Fix broken links in contrib/learn/python/learn/README.md
This fix fixes broken links in `contrib/learn/python/learn/README.md` by replacing g3doc with appropriate URLs, e.g., ``` - ([docs](../../../../g3doc/api_docs/python/contrib.learn.md#LinearClassifier)) + ([docs](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/LinearClassifier)) ``` NOTE: Inside `contrib/learn/python/learn/README.md` there are still several `g3doc` references. However the remaining links are actually correct and are not broken. Signed-off-by: Yong Tang <[email protected]>
1 parent bbe056e commit 026a150

File tree

1 file changed

+9
-9
lines changed
  • tensorflow/contrib/learn/python/learn

1 file changed

+9
-9
lines changed

tensorflow/contrib/learn/python/learn/README.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ TF Learn is a simplified interface for TensorFlow, to get people started on pred
99

1010
### Why *TensorFlow Learn*?
1111

12-
- To smooth the transition from the [scikit-learn](http://scikit-learn.org/stable/) world of one-liner machine learning into the more open world of building different shapes of ML models. You can start by using [fit](../../../../g3doc/api_docs/python/contrib.learn.md#Estimator.fit)/[predict](../../../../g3doc/api_docs/python/contrib.learn.md#Estimator.predict) and slide into TensorFlow APIs as you are getting comfortable.
12+
- To smooth the transition from the [scikit-learn](http://scikit-learn.org/stable/) world of one-liner machine learning into the more open world of building different shapes of ML models. You can start by using [fit](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/Estimator#fit)/[predict](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/Estimator#predict) and slide into TensorFlow APIs as you are getting comfortable.
1313
- To provide a set of reference models that will be easy to integrate with existing code.
1414

1515
## Installation
@@ -43,17 +43,17 @@ Optionally you can install [scikit-learn](http://scikit-learn.org/stable/) and [
4343
### Existing Estimator Implementations
4444

4545
- [`LinearClassifier`](https://www.tensorflow.org/code/tensorflow/contrib/learn/python/learn/estimators/linear.py)
46-
([docs](../../../../g3doc/api_docs/python/contrib.learn.md#LinearClassifier))
46+
([docs](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/LinearClassifier))
4747
- [`LinearRegressor`](https://www.tensorflow.org/code/tensorflow/contrib/learn/python/learn/estimators/linear.py)
48-
([docs](../../../../g3doc/api_docs/python/contrib.learn.md#LinearRegressor))
48+
([docs](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/LinearRegressor))
4949
- [`DNNClassifier`](https://www.tensorflow.org/code/tensorflow/contrib/learn/python/learn/estimators/dnn.py)
50-
([docs](../../../../g3doc/api_docs/python/contrib.learn.md#DNNClassifier))
50+
([docs](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/DNNClassifier))
5151
- [`DNNRegressor`](https://www.tensorflow.org/code/tensorflow/contrib/learn/python/learn/estimators/dnn.py)
52-
([docs](../../../../g3doc/api_docs/python/contrib.learn.md#DNNRegressor))
52+
([docs](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/DNNRegressor))
5353
- [`DNNLinearCombinedClassifier`](https://www.tensorflow.org/code/tensorflow/contrib/learn/python/learn/estimators/dnn_linear_combined.py)
54-
([docs](../../../../g3doc/api_docs/python/contrib.learn.md#DNNLinearCombinedClassifier))
54+
([docs](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/DNNLinearCombinedClassifier))
5555
- [`DNNLinearCombinedRegressor`](https://www.tensorflow.org/code/tensorflow/contrib/learn/python/learn/estimators/dnn_linear_combined.py)
56-
([docs](../../../../g3doc/api_docs/python/contrib.learn.md#DNNLinearCombinedRegressor))
56+
([docs](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/DNNLinearCombinedRegressor))
5757
- [`SVM`](https://www.tensorflow.org/code/tensorflow/contrib/learn/python/learn/estimators/svm.py)
5858
([docs](https://www.tensorflow.org/code/tensorflow/contrib/learn/python/learn/estimators/g3doc/svm.md))
5959
- [`GMM`](https://www.tensorflow.org/code/tensorflow/contrib/factorization/python/ops/gmm.py)
@@ -67,7 +67,7 @@ Below are a few simple examples of the API. For more examples, please see [examp
6767

6868
General tips:
6969

70-
- It's useful to rescale a dataset to 0 mean and unit standard deviation before passing it to an [`Estimator`](../../../../g3doc/api_docs/python/contrib.learn.md#estimators). [Stochastic Gradient Descent](https://en.wikipedia.org/wiki/Stochastic_gradient_descent) doesn't always do the right thing when variable are at very different scales.
70+
- It's useful to rescale a dataset to 0 mean and unit standard deviation before passing it to an [`Estimator`](https://www.tensorflow.org/api_docs/python/tf/contrib/learn/Estimator). [Stochastic Gradient Descent](https://en.wikipedia.org/wiki/Stochastic_gradient_descent) doesn't always do the right thing when variable are at very different scales.
7171

7272
- Categorical variables should be managed before passing input to the estimator.
7373

@@ -219,7 +219,7 @@ INFO:tensorflow:Loss for final step: 0.0162506.</pre>
219219

220220
## Summaries
221221

222-
If you supply a `model_dir` argument to your `Estimator`s, TensorFlow will write summaries for ``loss`` and histograms for variables in this directory. (You can also add custom summaries in your custom model function by calling [Summary](../../../../g3doc/api_docs/python/train.md#summary-operations) operations.)
222+
If you supply a `model_dir` argument to your `Estimator`s, TensorFlow will write summaries for ``loss`` and histograms for variables in this directory. (You can also add custom summaries in your custom model function by calling [Summary](https://www.tensorflow.org/api_guides/python/summary) operations.)
223223

224224
To view the summaries in TensorBoard, run the following command, where `logdir` is the `model_dir` for your `Estimator`:
225225

0 commit comments

Comments
 (0)