Live data from Hacker News

Microsoft Cognitive Services

projectoxford.ai

31–40 of 65 posts

Re: Microsoft Cognitive Services

#31
post #9

So I recently had a chance to use these APIs for a Microsoft hackathon project and wow are these APIs unstable right now. I was trying to use their Linguistic Analysis API for POS tagging some text, and even for text as short as 500 characters, the API took over a minute to respond. If I bumped it upto a 1000 characters, the API would just error out and give a 500 status code without any explanation after keeping me…

That seems.. like there is something wrong?

I run multiple POS taggers at decent scale, and I've never seen anything that slow.

Maybe they hadn't provisioned enough compute that day or something?

Re: Microsoft Cognitive Services

#32
post #16

Earlier quoted context omitted.

Weird because POS tagging takes linear time in the number of words.

That's assuming a lot... there are many, many ways to do part of speech tagging. You could imagine a slow implementation that exhaustively considered every possible POS tagging for an input sequence (would be O(k^N) where k is # of parts of speech)

You could imagine a slow implementation that exhaustively considered every possible POS tagging for an input sequence (would be O(k^N) where k is # of parts of speech)

You could.. if you were crazy. No sane implementation would do that, and POS tagging isn't some brand new thing where people make that kind of mistake.

Re: Microsoft Cognitive Services

#33

I have thought about this many times. What kind of startups or companies would actually pay for ML as a service at the initial stages knowing very well that a) you are providing a lot of training data and instead of being paid for the service, you are actually paying for the privilege? b) if your product/service takes off, there is a higher chance you will be competing not against similar startups, but rather a featu…

Interestingly, Microsoft's ToS:

You grant to Microsoft and will secure and maintain all rights in the Data necessary for us to: ... (iv) improve the Service Components and other Microsoft products and services

http://research.microsoft.com/en-us/um/legal/CognitiveServic...

Google Vision API:

5.2 Use of Customer Data. Google will not access or use Customer Data, except as necessary to provide the Services to Customer.

https://cloud.google.com/terms/

Re: Microsoft Cognitive Services

#34

I would pay money to buy a image to text software (text recognition) if it was as good as Microsoft's and I could run it batch on my images.

Pay Google for Google Vision API access. I'm using it for OCR and quite satisfied with the recognition quality

Re: Microsoft Cognitive Services

#35

I have thought about this many times. What kind of startups or companies would actually pay for ML as a service at the initial stages knowing very well that a) you are providing a lot of training data and instead of being paid for the service, you are actually paying for the privilege? b) if your product/service takes off, there is a higher chance you will be competing not against similar startups, but rather a featu…

But in those APIs there is no feedback loop to tell MS/Google "hey you classified this wrong: here's what it actually is" (example)

Re: Microsoft Cognitive Services

#36
post #24

I have thought about this many times. What kind of startups or companies would actually pay for ML as a service at the initial stages knowing very well that a) you are providing a lot of training data and instead of being paid for the service, you are actually paying for the privilege? b) if your product/service takes off, there is a higher chance you will be competing not against similar startups, but rather a featu…

I think this comes down to making sure your advantage is inhouse but outsource the other stuff. For the vast amount of companies where ML isn't in any way core, this is great. For example we've got a little internal app that includes a profile picture. Currently we pre-crop photos before uploading. Obviously not the best solution. Putting together a little javascript thingy to allow the user to crop is somewhere deep…

Face recognition is built into OpenCV. It should be very easy to implement this feature yourself without relying on any third party.

http://docs.opencv.org/2.4/modules/contrib/doc/facerec/tutor...

Re: Microsoft Cognitive Services

#37
post #24

Earlier quoted context omitted.

I think this comes down to making sure your advantage is inhouse but outsource the other stuff. For the vast amount of companies where ML isn't in any way core, this is great. For example we've got a little internal app that includes a profile picture. Currently we pre-crop photos before uploading. Obviously not the best solution. Putting together a little javascript thingy to allow the user to crop is somewhere deep…

Yeah I think this is a good use case. But is that going to be a huge business for Microsoft/Google/Amazon? There are serious companies (like Netflix) that put their entire infrastructure on cloud platforms. If the concerns the OP raises are valid, no company for whom ML is a big (read: high usage, high paying) feature is going to rely on these cloud services. And startups that do rely on the cloud services for their…

Yes, this is what I am trying to say. It looks as if the use-cases, if not the market-size itself, is a lot less ambitious if you choose to use these services.

But also - what happens when you wish to expand and grow? My guess is, if this capability was developed in house, you would almost certainly find it easier to not just scale without incurring a "success tax", but most importantly you are now exposed to the deep bowels of the ML process which should certainly give you far greater insight into potential tangentially related services.

An example: you use a natural language processing API and get all the brand mentions in some text the customer has submitted - certainly a useful service for competitive research. As your company scales, now you are more or less beholden to the ML service - if nothing else at least for the consistency of results, which is likely to make you super cautious about rolling your own. But you don't know how the results (brand mentions) were actually inferred. If you were to ask, "Hmm.. what other types of entities can I extract and have it be more useful for our customers? What about only getting brand mentions if it is in the same paragraph as a complaint?" - you might face some options which you might not really like - for one, the way the ML API is structured might actually make this operation expensive (after all, the data is pretty adjacent before being sent to the ML API, but not necessarily so once it is processed). Also, since you never understood how the brand mentions were extracted, it is very likely you are missing out on a ton of insight you could gain by rolling out your own capabilities.

And not to mention: if the ML capability has been outsourced, and if ML is indeed going to drastically impact your industry, then you would certainly not want to be in the position where your competitor can easily disrupt you merely because they spent the time to develop such capabilities in house.

Re: Microsoft Cognitive Services

#38

I have thought about this many times. What kind of startups or companies would actually pay for ML as a service at the initial stages knowing very well that a) you are providing a lot of training data and instead of being paid for the service, you are actually paying for the privilege? b) if your product/service takes off, there is a higher chance you will be competing not against similar startups, but rather a featu…

There are a ton of reasons.

For example, it could just be that ML is not your business. If you're a image hosting platform, you don't necessarily want to build your own NSFW image checker. There's no harm in leveraging something else out there that works great, assuming that you can bankroll it.

Alternatively it can be used as a stop-gap. You're in the middle of implementing your own ML system (or planning to), but you can use a 3rd party to fill the gap until you're ready to go live with your own version.

This is also a great way to test new features and see if users respond to it.

In my opinion it boils down to if either you need to own the model, or guarantee the quality of it, then perhaps you should consider owning it yourself. Otherwise, it's fine to consider using a third party.

Re: Microsoft Cognitive Services

#39
does anyone know if I can use this service on the new german datacenter so that no data is send to the US?

Also did anybody worked with their video APIs? They say it works 'near realtime'. What can I expect from that? Does it work with livestream?

Re: Microsoft Cognitive Services

#40

Earlier quoted context omitted.

Watch as miniature data centers begin dotting the landscape to handle the latency issues.

How about a miniature data centre on a drone that follows you around, so you can use your phone?

More like putting datacenter on satellite - plenty of solar energy, lower latency due to direct visibility. Cooling is a problem though.
Post reply on HN