mirror of
https://github.com/GokuMohandas/Made-With-ML.git
synced 2026-03-09 07:12:37 -05:00
[PR #154] [CLOSED] Dog subclass specifies species for user #213
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/GokuMohandas/Made-With-ML/pull/154
Author: @KennBot
Created: 10/29/2019
Status: ❌ Closed
Base:
master← Head:patch-1📝 Commits (1)
1471978Dog subclass specifies species for user📊 Changes
1 file changed (+4 additions, -4 deletions)
View changed files
📝
notebooks/01_Python.ipynb(+4 -4)📄 Description
Since we know the species is "dog" for the Dog subclass of Pet, instead of having the user specify species='dog' in params, we will just have the Dog class fill that in for the user, simplifying the interface. I also moved the 'breed' parameter in front of 'name', to fit a logical heirarchy - species -> breed -> name.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.