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

Made small improvements so the README is clearer #16

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

talolard
Copy link

I spent a few hours fighting with this after copy pasting from the README.
I've adjusted two things that I missed at first and hope will be simpler for the next person

  1. To load in the browser the wasm file needs to be served on the same path. This was stated but easy to miss so I made it bold.
  2. If you don't specify probabilityEstimates: true then predictProbability returns noise. This wasn't obvious and I went down a rabbit hole till I figured it out. So I added a commented out line specifying so.

I spent a few hours fighting with this after copy pasting from the README. 
I've adjusted two things that I missed at first and hope will be simpler for the next person

1) To load in the browser the wasm file needs to be served on the same path. This was stated but easy to miss so I made it bold. 
2) If you don't specify probabilityEstimates: true then predictProbability returns noise. This wasn't obvious and I went down a rabbit hole till I figured it out. So I added a commented out line specifying so.
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