IndicoDataSolutions / IndicoIo-node

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

FIX: UI Tweak #82

Closed sihrc closed 8 years ago

sihrc commented 8 years ago

Allows UI as shown:

collection
    .addData(["text1", "label1"])
    .then(console.log)
    .predict()
    .then(console.log)
    .wait()
    .info()
    .predict("test1").then(function(res) {
        console.log(res);
    });

And such.

Disclaimer. my node is by no means strong, but a demo case I wrote and the tests still pass.

aidankmcl commented 8 years ago

test passing and I played with it a lil, glorious @sihrc!

merging to dev