Skip to content

Exercise #8: 'acc' key should be 'accuracy'#12

Open
agonzalezro wants to merge 1 commit intoMicrosoftDocs:masterfrom
agonzalezro:patch-1
Open

Exercise #8: 'acc' key should be 'accuracy'#12
agonzalezro wants to merge 1 commit intoMicrosoftDocs:masterfrom
agonzalezro:patch-1

Conversation

@agonzalezro
Copy link

The snippet in exercise #8 is trying to access the key 'acc' that doesn't
exist in keras.models.Sequential().fit(...).history. It should be accessing
'accuracy' instead.

The snippet in exercise MicrosoftDocs#8 is trying to access the key 'acc' that doesn't
exist in keras.models.Sequential().fit(...).history. It should be accessing
'accuracy' instead.
@agonzalezro
Copy link
Author

I am having the same problem but the other way around (instead accuracy it's expecting acc) and the model seems to be Sequential again so I don't understand what's going on.

Could it be using different versions of keras?

@agonzalezro
Copy link
Author

Sorry for bothering again, but the last exercise (#10) has the same problem that the one shown in this PR: acc should be accuracy. So, summarising:

BTW, I forgot to mention that I am running the exercises in Microsoft Docs webs and not locally, so I am using the versions provided by your Jupyter notebooks.

Thanks!

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.

1 participant