Skip to content
This repository has been archived by the owner on Feb 24, 2022. It is now read-only.

Fix inverted arguments in Titanic_Survival_Exploration.ipynb #11

Merged
merged 1 commit into from
Apr 5, 2016
Merged

Fix inverted arguments in Titanic_Survival_Exploration.ipynb #11

merged 1 commit into from
Apr 5, 2016

Conversation

KarthikNayak
Copy link
Contributor

In Titanic_Survival_Exploration.ipynb, accuracy_score() expects the arguments
'truth, pred', but while calling the same function we have inverted the arguments.
Although this still works, its confusing and incorrect.

In Titanic_Survival_Exploration.ipynb, accuracy_score() expects the arguments
'truth, pred', but while calling the same function we have inverted the arguments.
Although this still works, its confusing and incorrect.
@napratin
Copy link
Contributor

Thanks for pointing out, @KarthikNayak! @ShengKungYi Can you confirm (and merge the PR)?

@ShengKungYi ShengKungYi merged commit 1d6183b into udacity:master Apr 5, 2016
@ShengKungYi
Copy link
Contributor

Sorry for the delay in the verification of the change. Shouldn't change anything with the outputs, but it does maintain the consistency of the code. Thanks!

@jared-weed
Copy link
Contributor

Is this made live in the classroom, as well?

@ShengKungYi
Copy link
Contributor

That's a good point. The archive needs to be updated as well. I'll take care of that.

sthalles added a commit to sthalles/machine-learning that referenced this pull request Jun 9, 2016
nelsonvega added a commit to nelsonvega/machine-learning that referenced this pull request Nov 15, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants