AI Gets Smarter with Microsoft's Cognitive Toolkit 2.0

Microsoft's second release of its open source deep learning framework earlier this month adds support for Java bindings, Spark, and Keras.

Artificial intelligence just got smarter with the 2.0 release earlier this month of the Microsoft Cognitive Toolkit. This version adds support for Java Bindings, Spark, and Keras.

AI sounds like we might be talking about the future of computing -- but there's important work being done with it now. As an example, Microsoft researchers worked with a team of digital crime investigators with the Federal Trade Commission to thwart malware scammers, and key was the use the Cognitive Toolkit.

A typical scam being run currently is a pop-up ad that warns computer users of a virus on their computers, which in turn tells them to call or contact a company to help get rid of the virus. It's not just one company working these scams, but hundreds, and locating them is tricky, since those companies would often continue relocating their digital footprints. To track them down, the researchers and investigators used a mix of tools: the computer vision API from the Toolkit to scan and gather information at faster than human speed to eventually pinpoint the origin of the scams; Power BI to gather and slice the data into something meaningful; Azure to host and run the apps.

(The full story of the discovery, capture, and prosecution covers quite a few other Microsoft technologies; you can read the whole story on The Official Microsoft Blog here.)

With the Cognitive Toolkit at 2.0, there are a few more new features:

  • Support for Java Bindings, Spark: Besides evaluating models in Python, BrainScript, or C#, Cognitive Toolkit models can now be evaluated with a new Java API, which means it can now be integrated into Java-based deep learning models and can be used on the Spark platform.
  • Model Compression: The Toolkit now includes "extensions that allow quantized implementations of several FP operations, which are several times faster compared to full precision counterparts," which makes evaluating models on lower-powered computing devices such as smartphones much more accurate.
  • Keras Support in Preview: The added Keras support is also new, and being tested in a public preview. The open source Keras neural network library is popular with developers for its user-friendliness when used for deep learning applications, and now that the Cognitive Toolkit supports it, code that's written with Keras can easily be used by the Toolkit without having to change it.

Details on these features is in this blog post from the Cognitive Team.

About the Author

Michael Domingo is a long-time software publishing veteran, having started up and managed several developer publications for the Clipper compiler, Microsoft Access, and Visual Basic. He's also managed IT pubs for 1105 Media, including Microsoft Certified Professional Magazine and Virtualization Review before landing his current gig as Visual Studio Magazine Editor in Chief. Besides his publishing life, he's a professional photographer, whose work can be found by Googling domingophoto.

comments powered by Disqus


  • What's New in Visual Studio 2019 v16.5 Preview 2

    The second preview of Visual Studio 2019 v16.5 has arrived with improvements across the flagship IDE, including the core experience and different development areas such as C++, Python, web, mobile and so on.

  • C# Shows Strong in Tech Skills Reports

    Microsoft's C# programming language continues to show strong in tech industry skills reports, with the most recent examples coming from a skills testing company and a training company.

  • Color Shards

    Sharing Data and Splitting Components in Blazor

    ASP.NET Core Version 3.1 has at least two major changes that you'll want to take advantage of. Well, Peter thinks you will. Depending on your background, your response to one of them may be a resounding “meh.”

  • Architecture Small Graphic

    Microsoft Ships Preview SDK, Guidance for New Dual-Screen Mobile Era

    Microsoft announced a new SDK and developer guidance for dealing with the new dual-screen mobile era, ushered in by the advent of ultra-portable devices such as the Surface Duo.

  • How to Create a Machine Learning Decision Tree Classifier Using C#

    After earlier explaining how to compute disorder and split data in his exploration of machine learning decision tree classifiers, resident data scientist Dr. James McCaffrey of Microsoft Research now shows how to use the splitting and disorder code to create a working decision tree classifier.

.NET Insight

Sign up for our newsletter.

Terms and Privacy Policy consent

I agree to this site's Privacy Policy.

Upcoming Events