什麼是機器學習模型?What is a machine learning model?

機器學習模型是已定型的檔案,可以辨識特定類型的模式。A machine learning model is a file that has been trained to recognize certain types of patterns. 您可以透過一組資料將模型定型,為其提供一個演算法,使其可以利用演算法來從這些資料進行推理並從中學習。You train a model over a set of data, providing it an algorithm that it can use to reason over and learn from those data.

將模型定型之後,您可以使用模型對之前未曾看過的資料進行推理,並對這些資料進行預測。Once you have trained the model, you can use it to reason over data that it hasn't seen before, and make predictions about those data. 例如,假設您想要建置一個應用程式,以根據使用者的臉部表情來辨識使用者的情緒。For example, let's say you want to build an application that can recognize a user's emotions based on their facial expressions. 您可以藉由提供臉部的影像並將其標記為特定情緒,將模型定型,然後您可以在可辨識任何使用者情緒的應用程式中使用該模型。You can train a model by providing it with images of faces that are each tagged with a certain emotion, and then you can use that model in an application that can recognize any user's emotion. 如需這類應用程式的範例,請參閱 Emoji8 範例See the Emoji8 sample for an example of such an application.

Windows Machine Learning 針對其模型使用 Open Neural Network Exchange (ONNX) 格式。Windows Machine Learning uses the Open Neural Network Exchange (ONNX) format for its models. 您可以下載預先定型的模型,也可以將您自己的模型定型。You can download a pre-trained model, or you can train your own model. 如需詳細資訊,請參閱取得適用於 Windows ML 的 ONNX 模型See Get ONNX models for Windows ML for more information.

注意

使用下列資源取得 Windows ML 的說明:Use the following resources for help with Windows ML:

  • 如需詢問或回答有關 Windows ML 的技術問題,請使用 Stack Overflow 上的 windows-machine-learning 標籤。To ask or answer technical questions about Windows ML, please use the windows-machine-learning tag on Stack Overflow.
  • 如需回報錯誤 (bug),請在 GitHub 上提出問題。To report a bug, please file an issue on our GitHub.
  • 如需要求功能,請前往 Windows 開發人員意見反應To request a feature, please head over to Windows Developer Feedback.