Book Image

Mastering .NET Machine Learning

By : Jamie Dixon, Damian R Mingle
Book Image

Mastering .NET Machine Learning

By: Jamie Dixon, Damian R Mingle

Overview of this book

.Net is one of the widely used platforms for developing applications. With the meteoric rise of Machine learning, developers are now keen on finding out how can they make their .Net applications smarter. Also, .NET developers are interested into moving into the world of devices and how to apply machine learning techniques to, well, machines. This book is packed with real-world examples to easily use machine learning techniques in your business applications. You will begin with introduction to F# and prepare yourselves for machine learning using .NET framework. You will be writing a simple linear regression model using an example which predicts sales of a product. Forming a base with the regression model, you will start using machine learning libraries available in .NET framework such as Math.NET, Numl.NET and Accord.NET with the help of a sample application. You will then move on to writing multiple linear regressions and logistic regressions. You will learn what is open data and the awesomeness of type providers. Next, you are going to address some of the issues that we have been glossing over so far and take a deep dive into obtaining, cleaning, and organizing our data. You will compare the utility of building a KNN and Naive Bayes model to achieve best possible results. Implementation of Kmeans and PCA using Accord.NET and Numl.NET libraries is covered with the help of an example application. We will then look at many of issues confronting creating real-world machine learning models like overfitting and how to combat them using confusion matrixes, scaling, normalization, and feature selection. You will now enter into the world of Neural Networks and move your line of business application to a hybrid scientific application. After you have covered all the above machine learning models, you will see how to deal with very large datasets using MBrace and how to deploy machine learning models to Internet of Thing (IoT) devices so that the machine can learn and adapt on the fly.
Table of Contents (18 chapters)
Mastering .NET Machine Learning
Credits
About the Author
Acknowledgments
About the Reviewers
www.PacktPub.com
Preface
Index

Acknowledgments

I had never considered writing a book until Meeta from Packt Publishing sent me an e-mail, asking me if I was interested in writing the book that you are holding. My first reaction was excitement immediately followed by fear. I have heard that writing a book is an arduous and painful undertaking with scant reward—was I really ready to dive into that? Fortunately, writing this book was nothing of the sort—all due to the many wonderful people that helped me along the way.

First and foremost are the technical reviewers Reed Copsey, Jr. and César Roberto de Souza. Their attention to detail, their spot-on suggestions, and occasional words of encouragement made all of the difference. Next, the team at Packt of Meeta Rajani, Pankaj Kadam, and Laxmi Subramanian took my words, code samples, and screenshots and turned them into something, well, beautiful. Mathias Brandiveder, Evalina Gasborova, Melinda Thielbar, James McCaffrey, Phil Trelford, Seth Jurez, and Chris Kalle all helped me at different points with questions about what and how to present the machine learning models and ideas. Dmitry Morozov and Ross McKinlay were indispensable for explaining the finer points of type providers. Isaac Abraham helped me with the section on MBrace and Tomas Petricek helped me with the section on Deedle. Chris Matthews and Mark Hutchinson reviewed the initial outline and gave me great feedback. Ian Hoppes saved me hours (days?) by sharing his expertise on the finer points of Razor and JavaScript. Finally, Rob Seder, Mike Esposito, and Kevin Allen encouraged and supported me throughout the entire process.

To everyone I mentioned and the people I may have missed, please accept my sincerest thanks.

Finally, my deepest love for the initial proofreader, soul mate, and best wife any person could have: Jill Dixon. I am truly the luckiest man in the world to be with you.