- Hands-On Machine Learning with ML.NET
- Jarred Capellman
- 215字
- 2021-06-24 16:43:29
Project architecture
The simple project will be split into two primary functions:
- Training and evaluation
- Model runs
This split between functionality models real-world production applications that utilize machine learning, as there are often teams dedicated to each.
For those who wish to start with a completed project and follow along with the rest of this section, you can get the code from here: https://github.com/PacktPublishing/Hands-On-Machine-Learning-With-ML.NET/tree/master/chapter02
The following screenshot shows the project breakdown in Solution Explorer of Visual Studio. As mentioned earlier, the project is split into two main classes—Predictor and Trainer:
The Trainer class contains all the model building and evaluation code, while the Predictor class, as the name implies, contains the code to run predictions with a trained model.
The BaseML class is what we will be using in subsequent chapters and expanding upon throughout the remainder of the book. The idea behind this class is to cut down on the DRY (don't repeat yourself) violations and to create a cohesive and easy to iterate framework. The Constants class further assists this idea—to cut down on magic strings as we move into more complex applications; this design will be used in all future chapter projects.
Lastly, the Program class is the main entry point for our console application.
- 多媒體CAI課件設計與制作導論(第二版)
- Web應用系統開發實踐(C#)
- Oracle 11g從入門到精通(第2版) (軟件開發視頻大講堂)
- 算法精粹:經典計算機科學問題的Java實現
- Python從入門到精通(精粹版)
- Animate CC二維動畫設計與制作(微課版)
- Learn Scala Programming
- Reactive Programming With Java 9
- Learning JavaScript Data Structures and Algorithms
- Python深度學習:模型、方法與實現
- 詳解MATLAB圖形繪制技術
- 小型編譯器設計實踐
- 測試架構師修煉之道:從測試工程師到測試架構師
- ASP.NET求職寶典
- Microsoft Exchange Server 2016 PowerShell Cookbook(Fourth Edition)