MachineLearningpart1--Linearregressionwithonevariable
 
Definition
AcomputerprogramissaidtolearnfromexperienceEwithrespecttosomeclassoftasksTandperformancemeasureP,ifitsperformanceattasksinT,asmeasuredbyP,improveswithexperienceE.
假设用P来评估计算机程序在某任务类T上的性能,若一个程序通过利用经验ET中任务上获得了性能改善,则我们就说关于TP,该程序对E进行了学习。
 
Example:playingcheckers.
E=theexperienceofplayingmanygamesofcheckers.
T=thetaskofplayingcheckers.
P=theprobabilitythattheprogramwillwinthenextgame.
Ingeneral,anymachinelearningproblemcanbeassignedtooneoftwobroadclassifications:
SupervisedlearningandUnsupervisedlearning.
 
1.1SupervisedLearning
Insupervisedlearning,wearegivenadatasetandalreadyknowwhatourcorrectoutputshouldlooklike,havingtheideathatthereisarelationshipbetweentheinputandtheoutput.
在监督学习中,我们得到了一个数据集,并且已经知道我们的正确输出应该是什么样子,认为输入和输出之间存在着一种关系。
Supervisedlearningproblemsarecategorizedinto"regression"and"classification"problems.
Inaregressionproblem,wearetryingtopredictresultswithinacontinuousoutput,meaningthatwearetryingtomapinputvariablestosomecontinuousfunction.