Some understandings on machine learning algorithm (decision tree, SVM,KNN nearest neighbor, Random forest, naive Bayesian, logistic regression)

Source: Internet
Author: User
Tags svm

I. Decision TREE

Set an initial particle, starting at that point and branching out. (because the initial particle may fall on the boundary value, there may be problems with fitting at this point.)

Second, Svm

SVM is the best classification algorithm in addition to deep learning before the advent of deep learning. It has the following characteristics:

(1) It can be applied to the linear (regression problem) classification, but also to the nonlinear classification;

(2) By adjusting the setting of kernel function parameters, the data set can be mapped to multidimensional plane, fine-grained, so that its characteristics from two-dimensional to multi-dimensional, will be on the two-dimensional linear irreducible problem into a multi-dimensional linear can be divided, Finally, we look for an optimal cutting plane (which is equivalent to finding an optimal solution based on the decision number), so the classification effect of SVM is better than that of most machine learning classification methods.

(3) By setting other parameters, SVM can also prevent the problem of overfitting.

iii. Random Forest

  In order to prevent overfitting, a random forest is equivalent to several decision trees.

Four, KNN nearest neighbor

Since KNN has to traverse all the remaining points each time it looks for the next closest point to it, the algorithm is expensive.

V. Naive Bayes

To push the probability that the occurrence of event a occurs under B (where events A and B can be decomposed into multiple events), you can calculate the probability of event a occurring under the probability of event B, and then compute the result by Bayes theorem.

Vi. Logistic regression

(discrete variable, two- classification problem, only two values 0 and 1)

Some understandings on machine learning algorithm (decision tree, SVM,KNN nearest neighbor, Random forest, naive Bayesian, logistic regression)

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.