Technical requirements
This chapter assumes that you have installed Polyglot Notebooks and VS Code. See Chapter 2 for additional details on this process.
Additionally, this chapter will involve hosting an ML.NET model in an ASP.NET Web API project. This can be done in VS Code with the web development workflow installed, or in Visual Studio.
For consistency and cross-platform support, this chapter will feature examples in VS Code when working with our web application. See the Further reading section for resources on working with Visual Studio and ASP.NET Web API projects.
You can follow along with the code in this chapter by opening the Chapter10.dib
notebook located in the Chapter10
folder of the repository, which is located at https://github.com/PacktPublishing/Data-Science-with-.NET-and-Polyglot-Notebooks
The second half of this chapter will work with the Chapter10/WinLossPredictorApi/WinLossPredictorApi.sln
solution file from the same repository in either Visual Studio...