LogisticRegressionClassificationMachineLearningClassificationEmail:Spam/NotSpam?ransactions:Fraudulent(Yes/No)?Tumor:Malignant/Benign?0:“NegativeClass”(.,benigntumor)1:“PositiveClass”(.,malignanttumor):If,predict“y=1”If,predict“y=0”TumorSizeMalignant?(Yes)1(No)0Classification:y=0or1canbe>1or<0LogisticRegression:LogisticRegressionHypothesis=estimatedprobabilitythaty=1oninputxTellpatientthat70%chanceoftumorbeingmalignantExample:If“probabilitythaty=1,givenx,parameterizedby”LogisticRegressionDecisionboundaryMachineLearningLogisticregressionSupposepredict““ifpredict““ifz1x1x2DecisionBoundary123123Predict““if
机器学习 吴恩达 Lecture6 来自淘豆网m.daumloan.com转载请标明出处.