{"id":12092,"date":"2021-08-16T13:23:18","date_gmt":"2021-08-16T13:23:18","guid":{"rendered":"http:\/\/ismiletechnologies.com\/?p=12092"},"modified":"2022-10-06T17:20:18","modified_gmt":"2022-10-06T11:50:18","slug":"building-the-machine-learning-model","status":"publish","type":"post","link":"https:\/\/ismiletechnologies.com\/en_us\/cloud-services\/building-the-machine-learning-model\/","title":{"rendered":"Building the Machine Learning Model"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">The basic steps for building ML model have&nbsp;been described below&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Collecting and preparing your data&nbsp;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">You need to collect all the relevant of the process for creating the ML model for that process. You can use APIs to collect data from various sources or merge existing databases and extract data from them. Once collected, the quality of the data needs to be ensured because the quality directly affects how your ML model will fare.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"2\"><li>Preparing quality data sets for your ML model&nbsp;<\/li><\/ol>\n\n\n\n<ul class=\"wp-block-list\"><li>Ensuring correct data format to feed to the model&nbsp;<\/li><li>Deal with missing data&nbsp;by eliminating them or use estimators to input the missing value&nbsp;<\/li><li>While dealing with categorical data, map the ordinal features and encode the class labels&nbsp;<\/li><li>Split data into subsets&nbsp;<\/li><li>Decompose the data into multiple parts to capture existent relationship&nbsp;<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Combine transactional data and attribute date&nbsp;<\/li><li>Undertake data normalization&nbsp;<\/li><li>Use Principal component analysis to find out the patterns existent in data by&nbsp;studying correlations existing between the features&nbsp;<\/li><li>Hand over your data to a data scientist for intricate analysis of the final data quality&nbsp;<\/li><\/ul>\n\n\n\n<ol class=\"wp-block-list\" start=\"3\"><li>Select the algorithm most suited for the ML model you are going to create&nbsp;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">The various algorithm models and their applications in the ML projects have been mentioned below&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Logistic regression- predicting price&nbsp;<\/li><li>Random Forest-&nbsp;Phising&nbsp;and Fraud detection&nbsp;<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Recuriing\u00a0neural networks- Voice recognition\u00a0<\/li><li>Estimating the value of data using regression algorithms\u00a0<\/li><li>K-Means- Segregation and segmentation\u00a0<\/li><li>Na\u00efve bayes- Noise\u00a0filtering\u00a0<\/li><\/ul>\n\n\n\t\t<div data-elementor-type=\"section\" data-elementor-id=\"33253\" class=\"elementor elementor-33253\" data-elementor-post-type=\"elementor_library\">\n\t\t\t\t\t<section class=\"elementor-section elementor-top-section elementor-element elementor-element-1f27ef0 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"1f27ef0\" data-element_type=\"section\" data-e-type=\"section\" data-settings=\"{&quot;background_background&quot;:&quot;gradient&quot;}\">\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-c65c317\" data-id=\"c65c317\" 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<section class=\"elementor-section elementor-inner-section elementor-element elementor-element-dc3c880 elementor-section-boxed elementor-section-height-default elementor-section-height-default\" data-id=\"dc3c880\" 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-33 elementor-inner-column elementor-element elementor-element-3248be5\" data-id=\"3248be5\" 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-5886bd6 elementor-widget elementor-widget-heading\" data-id=\"5886bd6\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"heading.default\">\n\t\t\t\t\t<h2 class=\"elementor-heading-title elementor-size-default\">Ready to experience the full power of cloud technology?<\/h2>\t\t\t\t<\/div>\n\t\t\t\t<div class=\"elementor-element elementor-element-1f56c4e elementor-widget elementor-widget-text-editor\" data-id=\"1f56c4e\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"text-editor.default\">\n\t\t\t\t\t\t\t\t\t<p><span class=\"TextRun Highlight SCXW216552313 BCX0\" lang=\"EN-IN\" xml:lang=\"EN-IN\" data-contrast=\"none\"><span class=\"NormalTextRun SCXW216552313 BCX0\">Our cloud experts will speed up cloud deployment, and make your business more efficient.\u00a0<\/span><\/span><span class=\"EOP SCXW216552313 BCX0\" data-ccp-props=\"{&quot;201341983&quot;:0,&quot;335559739&quot;:160,&quot;335559740&quot;:259}\">\u00a0<\/span><\/p>\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<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-4b7dd61\" data-id=\"4b7dd61\" 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-81f081a elementor-align-center elementor-widget elementor-widget-lottie\" data-id=\"81f081a\" data-element_type=\"widget\" data-e-type=\"widget\" data-settings=\"{&quot;source&quot;:&quot;external_url&quot;,&quot;source_external_url&quot;:{&quot;url&quot;:&quot;https:\\\/\\\/assets4.lottiefiles.com\\\/packages\\\/lf20_kkesf8mx.json&quot;,&quot;is_external&quot;:&quot;&quot;,&quot;nofollow&quot;:&quot;&quot;,&quot;custom_attributes&quot;:&quot;&quot;},&quot;loop&quot;:&quot;yes&quot;,&quot;play_speed&quot;:{&quot;unit&quot;:&quot;px&quot;,&quot;size&quot;:0.9,&quot;sizes&quot;:[]},&quot;lazyload&quot;:&quot;yes&quot;,&quot;link_to&quot;:&quot;none&quot;,&quot;trigger&quot;:&quot;arriving_to_viewport&quot;,&quot;viewport&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:&quot;&quot;,&quot;sizes&quot;:{&quot;start&quot;:0,&quot;end&quot;:100}},&quot;start_point&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:0,&quot;sizes&quot;:[]},&quot;end_point&quot;:{&quot;unit&quot;:&quot;%&quot;,&quot;size&quot;:100,&quot;sizes&quot;:[]},&quot;renderer&quot;:&quot;svg&quot;}\" data-widget_type=\"lottie.default\">\n\t\t\t\t\t<div class=\"e-lottie__container\"><div class=\"e-lottie__animation\"><\/div><\/div>\t\t\t\t<\/div>\n\t\t\t\t\t<\/div>\n\t\t<\/div>\n\t\t\t\t<div class=\"elementor-column elementor-col-33 elementor-inner-column elementor-element elementor-element-ac6262c\" data-id=\"ac6262c\" 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-e19f719 elementor-align-right elementor-mobile-align-left elementor-tablet-align-right elementor-widget elementor-widget-button\" data-id=\"e19f719\" data-element_type=\"widget\" data-e-type=\"widget\" data-widget_type=\"button.default\">\n\t\t\t\t\t\t\t\t\t\t<a class=\"elementor-button elementor-button-link elementor-size-xs\" href=\"#elementor-action%3Aaction%3Dpopup%3Aopen%26settings%3DeyJpZCI6IjI5OTEiLCJ0b2dnbGUiOnRydWV9\">\n\t\t\t\t\t\t<span class=\"elementor-button-content-wrapper\">\n\t\t\t\t\t\t\t\t\t<span class=\"elementor-button-text\">Start Today !<\/span>\n\t\t\t\t\t<\/span>\n\t\t\t\t\t<\/a>\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\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\n\n\n\n<ol class=\"wp-block-list\" start=\"4\"><li>Create an evaluation protocol&nbsp;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">To measure our progress in building the ML model, create an evaluation protocol&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\"><li>Create the validation set&nbsp;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">For this you need to split data into two parts, one used for testing and the other for training your data model&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">You can also used K-fold validation method or iterative K-fold validation with shuffling&nbsp;<\/p>\n\n\n\n\n\n<ol class=\"wp-block-list\" start=\"5\"><li>Training your ML model&nbsp;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">For this you need to define the name of the model based on model properties, upload the data set, let your model run the defined algorithms for processing the data, calculate the performance across pre-defined metrics, check for consistency of the run. Test whether the ML processing is able to solve the business problem. Check whether it has repetitiveness in solving problems with the set of pre-defined rules.&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\" start=\"6\"><li>Tune the ML model\u2019s hyperparameters&nbsp;<\/li><\/ol>\n\n\n\n<p class=\"wp-block-paragraph\">Tune the ML model\u2019s hyperparameters&nbsp;or find the best hyperparameters combination using Grid Search Cross validation.&nbsp;<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The process involves&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\"><li>Setting the parameter grid&nbsp;<\/li><\/ul>\n\n\n\n<ul class=\"wp-block-list\"><li>Setting the scoring method and the number of folds&nbsp;<\/li><li>Building K-fold object with the required number of folds&nbsp;<\/li><li>Building Grid Search object with the chosen ML model and fitting it&nbsp;<\/li><\/ul>\n","protected":false},"excerpt":{"rendered":"<p>The basic steps for building ML model have&nbsp;been described below&nbsp; Collecting and preparing your data&nbsp; You need to collect all the relevant of the process for creating the ML model for that process. You can use APIs to collect data from various sources or merge existing databases and extract data from them. Once collected, the [&hellip;]<\/p>\n","protected":false},"author":3,"featured_media":12304,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[81],"tags":[],"class_list":["post-12092","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\/12092","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=12092"}],"version-history":[{"count":5,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts\/12092\/revisions"}],"predecessor-version":[{"id":33671,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/posts\/12092\/revisions\/33671"}],"wp:attachment":[{"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/media?parent=12092"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/categories?post=12092"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/ismiletechnologies.com\/en_us\/wp-json\/wp\/v2\/tags?post=12092"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}