AI机器学习(一)背景及环境(C#)

AI机器学习(一)背景及环境(C#)

前言

随着alphago人机对战最终以机器大胜之后,AI的商业应用逐步进入我们的视野。很多人投身到机器学习领域,我也作为一个爱好者始终关注这一方面。因工作需要,偶然间涉猎到了图像识别领域,考虑到图像拍照所受的光照、曝光、噪点等多方面影响,一方面当前团队对传统图像识别算法掌握的专业知识有限;另一方面准确性的验证和调优若采用传统算法,时间周期会非常长。因上手边有大量确定的图像识别结论数据为依据,最终确定采用机器学习。

机器学习概念网上很多,感兴趣的大家可以上网搜一搜,在这里给个小建议,对于大部分开发人员(不做纯理论研究),动手总比了解概念后印象深的多。
接下来,把我实际摸索过程中的点滴,说明给大家。期望能给那些用到机器学习的同学省一些时间。

框架选择

受团队和个人熟悉的开发语言限制,框架的选择上主要围绕.NET下属的几个语种进行筛选。最终选择了Accord.net开源项目。
这里写图片描述

http://accord-framework.net/
其次原因是项目开源,而且上手相对轻松。

环境安装

安装Visual Studio 2012环境,从微软官网上下载。这里推荐使用2012的主要原因是后续的DEMO代码都在此基础之上进行,如果切换到高版本或更低版本运行,程序会或多或少的出现问题。

这里写图片描述

新建一个控制台项目,.NET Framework选择4.5版本,主要因为引入Accord.net的NuGet获取方便。

这里写图片描述

从NuGet中获取accord.machineaccord.controls

这里写图片描述

Power your C# and .NET applications with exciting machine learning models and modular projects Key Features Produce classification, regression, association, and clustering models Expand your understanding of machine learning and C# Get to grips with C# packages such as Accord.net, LiveCharts, and Deedle Book Description Machine learning is applied in almost all kinds of real-world surroundings and industries, right from medicine to advertising; from finance to scientifc research. This book will help you learn how to choose a model for your problem, how to evaluate the performance of your models, and how you can use C# to build machine learning models for your future projects. You will get an overview of the machine learning systems and how you, as a C# and .NET developer, can apply your existing knowledge to the wide gamut of intelligent applications, all through a project-based approach. You will start by setting up your C# environment for machine learning with the required packages, Accord.NET, LiveCharts, and Deedle. We will then take you right from building classifcation models for spam email fltering and applying NLP techniques to Twitter sentiment analysis, to time-series and regression analysis for forecasting foreign exchange rates and house prices, as well as drawing insights on customer segments in e-commerce. You will then build a recommendation model for music genre recommendation and an image recognition model for handwritten digits. Lastly, you will learn how to detect anomalies in network and credit card transaction data for cyber attack and credit card fraud detections. By the end of this book, you will be putting your skills in practice and implementing your machine learning knowledge in real projects. What you will learn Set up the C# environment for machine learning with required packages Build classification models for spam email filtering Get to grips with feature engineering using NLP techniques for Twitter sentiment analysis Forecast foreign exchange rates using continuous and time-series data Make a recommendation model for music genre recommendation Familiarize yourself with munging image data and Neural Network models for handwritten-digit recognition Use Principal Component Analysis (PCA) for cyber attack detection One-Class Support Vector Machine for credit card fraud detection Who this book is for If you're a C# or .NET developer with good knowledge of C#, then this book is perfect for you to get Machine Learning into your projects and make smarter applications. Table of Contents Basics of machine learning modeling Spam email filtering Twitter sentiment analysis Foreign exchange rate forecast Fair value of house/property Customer segmentation Music genre recommendation Handwritten digit recognition Cyber attack detection Credit card fraud detection What is next?
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值