News

Microsoft Announces 'Windows ML' Platform for AI-Assisted Windows 10 Apps

Microsoft today said Windows 10 developers will soon be able to more easily infuse artificial intelligence (AI) functionality into their apps with the help of a new machine learning platform coming in the next update of the OS.

The announcement was made at today's Windows Developers Day event.

Further information was provided in a post titled "AI Platform for Windows Developers," in which the company said the AI expertise it developed in products like Cortana and Bing Search will be made available to Windows app coders.

"With the next major update to Windows 10, we begin to deliver the advances that have been built into our apps and services as part of the Windows 10 platform," Microsoft said. "Every developer that builds apps on Windows 10 will be able to use AI to deliver more powerful and engaging experiences."

Initially, the AI functionality will focus on machine learning, as different partners like Qualcomm Technologies and AMD will help out with the "Windows ML" platform.

Windows ML Architecture
[Click on image for larger view.] Windows ML Architecture (source: Microsoft).

Microsoft said the AI platform in Windows 10 will let developers use pre-trained machine learning models in their Windows device apps. Benefits of this to developers, the company said, include:

  • Low latency, real-time results. Windows can perform AI evaluation tasks using the local processing capabilities of the PC, enabling real-time analysis of large local data such as images and video. Results can be delivered quickly and efficiently for use in performance intensive workloads like game engines, or background tasks such as indexing for search.
  • Reduced operational costs. Together with Microsoft's Cloud AI platform, developers can build affordable, end-to-end AI solutions that combine training models in Azure with deployment to Windows devices for evaluation. Significant savings can be realized by reducing or eliminating costs associated with bandwidth due to ingestion of large data sets, such as camera footage or sensor telemetry. Complex workloads can be processed in real-time on the edge, with minimal sample data sent to the cloud for improved training on observations.
  • Flexibility. Developers can choose to perform AI tasks on device or in the cloud based on what their customers & scenarios need. AI processing can happen on the device if it becomes disconnected, or in scenarios where data cannot be sent to the cloud due to cost, size, policy or customer preference.

A key component of the initiative is Windows support for ONNX (Open Neural Network Exchange Format), an open ecosystem for interchangeable AI models, backed by Microsoft, Facebook and Amazon Web Services.

Using Azure Machine Learning Workbench, Windows 10 developers and data science types will be able train and use ONNX models. Also, the company said its Azure Custom Vision Service will support the creation of ONNX models for Windows 10.

The new functionality will soon be available directly within the Visual Studio IDE.

"We've also invested in delivering a great development experience for AI developers on Windows," Microsoft said. "Starting with Visual Studio Preview 15.7, adding an ONNX file to a UWP project will automatically generate a model interfaces in your project. For prior versions of Visual Studio, developers can use the MLGen tool to generate the code interface and then manually add it to their projects. This capability will be coming soon to Visual Studio tools for AI as well."

According to "Windows Machine Learning" documentation published today, the new platform will leverage device CPUs and GPUs for hardware-accelerated performance to help with computational evaluations for both classical machine learning algorithms and deep learning.

The documentation provides guidance for creating a first Windows ML app, training a model and converting a model, along with sample apps that show how to use the new platform.

About the Author

David Ramel is an editor and writer at Converge 360.

comments powered by Disqus

Featured

  • Compare New GitHub Copilot Free Plan for Visual Studio/VS Code to Paid Plans

    The free plan restricts the number of completions, chat requests and access to AI models, being suitable for occasional users and small projects.

  • Diving Deep into .NET MAUI

    Ever since someone figured out that fiddling bits results in source code, developers have sought one codebase for all types of apps on all platforms, with Microsoft's latest attempt to further that effort being .NET MAUI.

  • Copilot AI Boosts Abound in New VS Code v1.96

    Microsoft improved on its new "Copilot Edit" functionality in the latest release of Visual Studio Code, v1.96, its open-source based code editor that has become the most popular in the world according to many surveys.

  • AdaBoost Regression Using C#

    Dr. James McCaffrey from Microsoft Research presents a complete end-to-end demonstration of the AdaBoost.R2 algorithm for regression problems (where the goal is to predict a single numeric value). The implementation follows the original source research paper closely, so you can use it as a guide for customization for specific scenarios.

  • Versioning and Documenting ASP.NET Core Services

    Building an API with ASP.NET Core is only half the job. If your API is going to live more than one release cycle, you're going to need to version it. If you have other people building clients for it, you're going to need to document it.

Subscribe on YouTube