Skip to content
This repository has been archived by the owner on Apr 7, 2019. It is now read-only.

Commit

Permalink
Merge pull request #383 from gliptak/patch-5
Browse files Browse the repository at this point in the history
Add command line details to README
  • Loading branch information
CreatureDev authored Oct 12, 2017
2 parents 49f64eb + 0ba03f1 commit 27344c4
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,12 @@ and looks like this

![Builder Service](images/spam-detection-python localhost 55001.png)

You can also access predict from the command line:

```
$ curl -X POST --data 'To find out who it could be call from your mobile or landline 09064015307 BOX334SK38ch ' http://localhost:55001/pypredict
{"labelIndex":1,"label":"spam","classProbabilities":[0.7601361910841853,0.23986380891581469]}
```

**NOTE** You may get Python errors if you don't have the correct Python packages install.
A good way to test this is to run ```score.py```. If it works fine it looks like this.
Expand Down

0 comments on commit 27344c4

Please sign in to comment.