Logistic regression of machinelearning

Source: Internet
Author: User

I. Overview

Assuming there are some data points, we fit the points in a straight line (the line is called the best fit Line), and the fitting process is called regression;

The main idea of using logistic regression to classify the classification boundary line is to set up the regression formula according to the existing data. The word " regression " Here stems from the best fit, meaning that the mathematical analysis behind it will be described in the next section to find the best fitting set of parameters. The practice of training classifiers is to find the best fit parameters, using the optimization algorithm.

Second, the classification based on logistic regression and sigmoid function

The unit step function is also called the Hevy step function (Heaviside step functions)
sigmoid function:

    

logistic regression classifier, We can take a regression coefficient in each feature and then add all the result values, substituting this sum into sigmoid0~10.51 0.5 is classified into 0

logistic

So what's the problem now? After determining the function form of the classifier, how to determine the optimal regression coefficient "is different from the weighting in weighted linear regression"?

Optimal regression coefficient determination based on optimization method

Gradient Rise method

Logistic regression of machinelearning

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.