diff --git a/README.md b/README.md index 8403f8dfa..7d029f0ae 100644 --- a/README.md +++ b/README.md @@ -106,10 +106,12 @@ outputs "buy" you have access to the set of matched classes and the associated value from the classifier. outputs: + [ { label: 'sell', value: 0.39999999999999997 }, { label: 'buy', value: 0.19999999999999998 } ] from this: + console.log(classifier.getClassifications('i am long copper'));