{"id":12050,"date":"2021-08-16T13:11:57","date_gmt":"2021-08-16T13:11:57","guid":{"rendered":"http:\/\/ismiletechnologies.com\/?p=12050"},"modified":"2021-10-11T19:03:17","modified_gmt":"2021-10-11T13:33:17","slug":"common-machine-learning-algorithms","status":"publish","type":"post","link":"https:\/\/ismiletechnologies.com\/en_us\/cloud-services\/common-machine-learning-algorithms\/","title":{"rendered":"Common Machine Learning Algorithms"},"content":{"rendered":"\t\t<div data-elementor-type=\"wp-post\" data-elementor-id=\"12050\" class=\"elementor elementor-12050\" data-elementor-post-type=\"post\">\n\t\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-866609 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"866609\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-263e82c6\" data-id=\"263e82c6\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap elementor-element-populated\">\n\t\t\t\t\t\t<div class=\"elementor-element elementor-element-675cefc5 elementor-widget elementor-widget-text-editor\" data-id=\"675cefc5\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t\n<p class=\"wp-block-paragraph\">The major algorithms used in machine learning include\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>Linear Regression<\/strong>&#8211; Regression shows any line or curves passing through data points on a predictor graph in a manner that the distance(vertical) between the data points and the line of regression is minimum.\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">If the regression shows linear relation between two variables plotted on the graph, it is called linear regression\u00a0<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-12053\" src=\"http:\/\/ismiletechnologies.com\/wp-content\/uploads\/2021\/08\/image-22.png\" alt=\"\" \/><\/figure>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-12054\" src=\"http:\/\/ismiletechnologies.com\/wp-content\/uploads\/2021\/08\/image-23.png\" alt=\"\" \/><\/figure>\n\n<p class=\"wp-block-paragraph\"><em>Here Umbrella is the dependent variable on rainfall\u00a0( independent)<\/em>\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>Support Vector Machine<\/strong>\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\"><span data-contrast=\"auto\">Support Vector Machine is a supervised ML algorithm used for classification or regression challenges. Here each data item is represented as a point in x dimensional space where x represents the features of the items. The value of each feature is plotted on a particular coordinate. Its goal is to create the best line or decision boundary (hyperplane) to group these x dimensional spaces into respective classes.\u00a0For example, I come across a number that appears as an alphabet. Now using SVM, we can identify whether it is a number or an alphabet. We train the ML model with images of numbers and alphabets, allowing the model to analyze the images geometrically. Then we test it on our subject (either an alphabet or number).\u00a0<\/span><span data-ccp-props=\"{\">\u00a0<\/span><\/p>\n<p><span data-contrast=\"auto\">Based on support vectors, we identify whether it is a number or an alphabet. <\/span><span data-ccp-props=\"{\">\u00a0<\/span><\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-12055\" src=\"http:\/\/ismiletechnologies.com\/wp-content\/uploads\/2021\/08\/image-24.png\" alt=\"\" \/><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>How SVM works?<\/strong><\/p>\n<p>Na\u00efve Bayes- It is a supervised learning algorithm which works on bayes theorem.\u00a0\u00a0<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-12056\" src=\"http:\/\/ismiletechnologies.com\/wp-content\/uploads\/2021\/08\/image-25.png\" alt=\"\" \/><\/figure>\n\n<p class=\"wp-block-paragraph\">P(A)- Probability of the hypothesis\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">P(B)- Probability of evidence\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">P(A|B)\u00a0Probability\u00a0of A\u00a0based on\u00a0event B.\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">P(B|A): Probability of evidence\u00a0if\u00a0the probability of\u00a0the\u00a0hypothesis is true.\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">It is generally used in text classification. It is called Na\u00efve Bayes because the features occur independent of other features. Na\u00efve Bayes can be used for binary and multi-class classifications\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>Logistic Regression<\/strong>&#8211; Logistic Regression is an ML algorithm used for classification. Contrary to linear regression, a sigmoid function or better called logistic function is used instead of a linear function. Sigmoid function is generally used to identify the predictive value of the probabilities.\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">Sigmoid- f(x) = 1\/1+(e)<sup>-x<\/sup>\u00a0<\/p>\n<p>\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\"><strong>K-Nearest\u00a0Neighbors<\/strong>\u00a0\u2013 This algorithm identifies the similarities between the new data and the available data cases and groups the new case to the most similar category.\u00a0<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-12061\" src=\"http:\/\/ismiletechnologies.com\/wp-content\/uploads\/2021\/08\/image-28.png\" alt=\"\" \/><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>Random Forest<\/strong>\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">It is a supervised learning ML algorithm that is made up of various decision\u00a0trees ,\u00a0the entire structure being the forest of these trees. These various random decision trees are merged to make accurate predictions\u00a0<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-12060\" src=\"http:\/\/ismiletechnologies.com\/wp-content\/uploads\/2021\/08\/image-27.png\" alt=\"\" \/><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>K-Means Clustering<\/strong>\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">It is a type of unsupervised ML algorithm that is used to group data that are not sorted into categories\u00a0<\/p>\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" class=\"wp-image-12058\" src=\"http:\/\/ismiletechnologies.com\/wp-content\/uploads\/2021\/08\/image-26.png\" alt=\"\" \/><\/figure>\n\n<p class=\"wp-block-paragraph\"><strong>Hierarchical Clustering<\/strong>\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">In\u00a0these almost similar objects\u00a0are made into groups called clusters. The groups are formed in a manner that objects within one group bear more resemblance than objects within the other group. The end point is a hierarchy of clusters.\u00a0<img decoding=\"async\" class=\"wp-image-12062\" src=\"http:\/\/ismiletechnologies.com\/wp-content\/uploads\/2021\/08\/image-29.png\" alt=\"\" \/><\/p>\n\n<p class=\"wp-block-paragraph\"><strong>DBScan\u00a0Clustering<\/strong>\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">With density-based scan algorithm, a slight change in data points doesn\u2019t affect the clustering outcome.\u00a0<\/p>\n\n<p class=\"wp-block-paragraph\">The algorithm uses two parameters\u00a0<\/p>\n\n<ul class=\"wp-block-list\">\n<li>minPts: The lowest number of points (the threshold value) grouped together in a cluster for considering a set or region dense\u00a0<\/li>\n<li>eps (E)-a measure for distance to devise out location of points present in the\u00a0neighbourhood\u00a0of any other point\u00a0<\/li>\n<\/ul>\n<p>\u00a0<\/p>\n\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-066b1e8 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"066b1e8\" data-element_type=\"section\" data-e-type=\"section\">\n\t\t\t\t\t\t<div class=\"elementor-container elementor-column-gap-default\">\n\t\t\t\t\t<div class=\"elementor-column elementor-col-100 elementor-top-column elementor-element elementor-element-640055c\" data-id=\"640055c\" data-element_type=\"column\" data-e-type=\"column\">\n\t\t\t<div class=\"elementor-widget-wrap\">\n\t\t\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/section>\n\t\t\t\t<\/div>\n\t\t","protected":false},"excerpt":{"rendered":"<p>The major algorithms used in machine learning include\u00a0 Linear Regression&#8211; Regression shows any line or curves passing through data points on a predictor graph in a manner that the distance(vertical) between the data points and the line of regression is minimum.\u00a0 If the regression shows linear relation between two variables plotted on the graph, it [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":12308,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81],"tags":[],"class_list":["post-12050","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cloud-services"],"_links":{"self":[{"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts\/12050","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/users\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/comments?post=12050"}],"version-history":[{"count":6,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts\/12050\/revisions"}],"predecessor-version":[{"id":18781,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts\/12050\/revisions\/18781"}],"wp:attachment":[{"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/media?parent=12050"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/categories?post=12050"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/tags?post=12050"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}