IndicoDataSolutions / IndicoIo-node

A Node.js wrapper for the Indico API
MIT License
62 stars 7 forks source link

Different result when using example #2

Closed JoseRoman closed 10 years ago

JoseRoman commented 10 years ago
indico
  .political('Guns don\'t kill people. People kill people.', fn) 

Results { Libertarian: 0.47740164630834825, Liberal: 0.16617097211030055, Green: 0.08454409540443657, Conservative: 0.2718832861769146 }

This is different than https://github.com/IndicoDataSolutions/IndicoIo-node/blob/master/README.md#L39

Slater-Victoroff commented 10 years ago

Ah, you're totally right. Sorry about that. We updated a few of our models to give better predictions and it looks like the README still has the sample results for the old version in a couple of cases. I can open up a PR to fix this later today.