Repository navigation
Improve docstrings involving package structure - #11167
Conversation
|
Can one of the admins verify this patch? |
|
Thank you for putting this together. I think that the original intent was to have "tf.learn" as a project name, not reflecting the actual package name. In that case we would want to leave it as is. @martinwicke WDYT? |
|
The tf.learn name is confusing and we want to basically remove it completely. Using the package name is fine, but there's usually no need to. Ideally, we'd just get rid of the qualifier and talk about e.g., Estimator directly, or if clarification is required, tf.estimators.Estimator. |
f7fbdef to
7beecee
Compare
|
I agree with the feedback, thank you @drpngx and @martinwicke! This PR has been revised as follows:
|
| hash_bucket_size=1000) | ||
|
|
||
| Example of building tf.learn model using FeatureColumns: | ||
| Example of building `Estimator` model using FeatureColumns: |
There was a problem hiding this comment.
Can you check the grammar RE plurals, "A Estimator" etc?
There was a problem hiding this comment.
Yes, I have been checked the grammar as follows:
$ grep -r "\`A Estimator\`" . | wc -l
0
$ grep -r "\`Estimator\`" . | wc -l
100
$ grep -r "\`Estimators\`" . | wc -l
1
The "Estimator" is the most frequently used word among the above.
There was a problem hiding this comment.
It doesn't sound good grammatically. I'm thinking that this should be an Example of building an Estimator, for instance.
There was a problem hiding this comment.
Thank you! I put "an" or plural forms on usages of Estimator.
7004e9c to
6161574
Compare
|
ping for @drpngx (or @martinwicke ) |
|
Sorry I'm out this week. Martin, feel free to reply if you get to it sooner
…On Jul 24, 2017 10:09 PM, "Vijay Vasudevan" ***@***.***> wrote:
ping for @drpngx <https://github.com/drpngx> (or @martinwicke
<https://github.com/martinwicke> )
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#11167 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AT_SbXrVX_Dar8zu9_rldGCK6OA1KP9Eks5sRPoKgaJpZM4OKQ8C>
.
|
|
Jenkins, test this please. |
This PR improves docstrings involving
tf.learn. In the case oftensorflow_dataframe.py, I think it is better to put justDataFramein order to keep consistency within one file. Except for the case, all thetf.learns are replaced bytf.contrib.learns.