[机器学习] --- Getting Started With MachineLearning

本文介绍了机器学习的基本概念及其与传统方法的区别,详细阐述了从商业问题到机器学习问题的转换过程,并提供了创建机器学习模型的步骤。此外,还讨论了数据预处理、特征选择、模型训练、验证及评估的方法。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

一. What’s machine learning

Machine Learning is the science of gettingcomputers to act without being explicitly programmed    --- Andrew Ng

Machine learning is a technique of data science that helps computers learn from existing data in order to forecast future behaviors, outcomes, and trends.                                                                                                --- Microsoft






二. The difference between traditional approach and Machine Learning


From business problem to Machine learning problem: a Recipe
Step-by-step “recipe” for qualifying a business problem as a machine learning problem

  1. Do you need machine learning?
  2. Can you formulate your problem clearly?
  3. Do you have sufficient examples?
  4. Does your problem have a regular pattern?
  5. Can you find meaningful representations of your data? 
  6. How do you define success?



三. How to create machine learning models

 






四. The Core --- Data  


Data understanding


Data Preparation











 Approaches for Feature Selection




五. Modelling




Train the model






六. Model Evaluation






Hold-out validation strategy





k-fold cross validation strategy




leave-one-out cross validation strategy


    Model evaluation measures the quality of the machine learning model and determines how well our machine learning model will generalize to predict the target on new and future data.
     Because future instances have unknown target values, you need to check the accuracy metric of the ML model on data for which you already know the target answer, and use this assessment as a proxy for predictive accuracy on future data 1.
Evaluate your trained model by using validation/test dataset. You compare the results of your model's predictions to the target values in the evaluation data and use statistical techniques appropriate to your model to gauge your success.
     
 

What’s the accuracy

Accuracy measures the ratio of correct predictions to the total number of cases evaluated








Increasing precision reduces recall, and vice versa. This is called the precision/recall tradeoff

  • Within any one model, you can decide to emphasize either precision or recall.
  • You can influence precision and recall by changing the threshold of the model.








Metrics for evaluating regression model









Summary: Testing and Error Metrics








Tuning the Hyperparameter



Model Deployment










转载于:https://www.cnblogs.com/WayneZeng/p/9290687.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值