Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

match chapter sections #6

Merged
merged 2 commits into from
Oct 13, 2019
Merged

match chapter sections #6

merged 2 commits into from
Oct 13, 2019

Conversation

rasbt
Copy link
Owner

@rasbt rasbt commented Oct 13, 2019

No description provided.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
@review-notebook-app
Copy link

Check out this pull request on  ReviewNB

You'll be able to see Jupyter notebook diff and discuss changes. Powered by ReviewNB.

@rasbt
Copy link
Owner Author

rasbt commented Oct 13, 2019

@vmirly pls take a look at the changes and then merge

@rasbt rasbt mentioned this pull request Oct 13, 2019
@@ -11,19 +11,69 @@
"Code License: [MIT License](https://github.com/rasbt/python-machine-learning-book-3rd-edition/blob/master/LICENSE.txt)"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add a space before library


Reply via ReviewNB

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In the last cell with headline: Splitting a dataset using tfds.Split, there is a bug in tfds.Split, so we may want to either remove it completely or add the following comment:

##--------------------------- Attention -----------------------------##

## Note: currently, tfds.Split ahs a bug             ##

## splitting [2, 1] is expected to result in 100 train and 50 test ##

## but instead, it results in 116 train and 34 test examples    ##

##-------------------------------------------------------------------##

Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh good that you caught that. We can keep it with that warning -- and we can then revisit this when Tf 2.0.1 comes out. In the meantime, can you add a further comment about this. I edited the one you had above and also fixed some typos. Please insert the one below into the notebook:

##--------------------------- Attention -----------------------------##

## Note: currently, tfds.Split has a bug  in TF 2.0.0           ##

## I.e., splitting [2, 1] is expected to result in 100 train and 50 test examples ##

## but instead, it results in 116 train and 34 test examples    ##

##-------------------------------------------------------------------##

 

Verified

This commit was signed with the committer’s verified signature. The key has expired.
re-taro Rintaro Itokawa
@vmirly vmirly merged commit d0553b1 into master Oct 13, 2019
@rasbt rasbt deleted the ch13-style branch November 1, 2019 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants