{"id":26601,"date":"2019-04-10T09:17:59","date_gmt":"2019-04-10T13:17:59","guid":{"rendered":"https:\/\/centricconsulting.com\/?p=26601"},"modified":"2023-10-11T08:50:59","modified_gmt":"2023-10-11T12:50:59","slug":"machine-learning-a-quick-introduction-and-five-core-steps","status":"publish","type":"post","link":"https:\/\/centricconsulting.com\/blog\/machine-learning-a-quick-introduction-and-five-core-steps\/","title":{"rendered":"Machine Learning: A Quick Introduction and Five Core Steps"},"content":{"rendered":"<h2 style=\"text-align: center;\">Machine learning is commonplace in today&#8217;s digital society. Its impact on business practices only increases with its functionality.<\/h2>\n<hr \/>\n<p>In this blog, we talk about <a href=\"https:\/\/centricconsulting.com\/blog\/why-women-should-get-excited-about-artificial-intelligence_cloud\/\">why everyone should get excited about artificial intelligence and machine learning<\/a>. <a href=\"https:\/\/centricconsulting.com\/technology-solutions\/data-analytics\/machine-learning\/\">Machine learning<\/a> (ML) continues to grow in its impact, providing exciting learning opportunities for technologists like us.<\/p>\n<p>So what is ML exactly? I\u2019ll explain the basics below.<\/p>\n<h2>Computers can learn!<\/h2>\n<p>Before getting deep into ML, let\u2019s start with a basic definition.<\/p>\n<p>We have seen many complex definitions, but the one I find most impactful is also one of the simplest: <strong>Machine learning \u201cgives computers the ability to learn without being explicitly programmed\u201d<\/strong> (Arthur Samuel, 1959).<\/p>\n<p>ML started in the \u201950s and has risen and fallen in fashion over the years. However, ML is in its prime now thanks to the popularity of Cloud technologies. <strong>Cloud enables ML to ingest and compute enormous amounts of data, allowing it to be more powerful<\/strong>. Additionally, new Cloud services allow ML to be much more accessible than previously known.<\/p>\n<p>The predictive features of ML allow it to be highly useful in things like fraud detection, customer services, energy production, healthcare, security, manufacturing, and many others.<\/p>\n<h2>Data and Learning<\/h2>\n<p>There are two basic types type of ML: unsupervised and supervised. The essential difference between supervised and unsupervised Learning are the types of data they ingest and the algorithms they leverage. Unsupervised Learning <strong>uses unlabeled data and \u201cself-guided\u201d learning algorithms<\/strong>. Supervised learning, on the other hand, <strong>uses labeled data and defined training algorithms<\/strong>.<\/p>\n<p>The primary goals are also different. In supervised learning, predictive analytics is the main goal. In contrast, unsupervised learning focuses on <a href=\"https:\/\/centricconsulting.com\/blog\/implement-data-driven-approach\">finding data patterns<\/a>.<\/p>\n<p>When we think about predicting outcomes with ML, we are typically referring to supervised learning.<\/p>\n<h2>AWS ML Services<\/h2>\n<p>Most of AWS ML Services orient towards supervised learning. Some of the most commonly used services are:<\/p>\n<ul>\n<li>Amazon SageMaker<\/li>\n<li>AWS DeepLens<\/li>\n<li>Amazon Lex<\/li>\n<li>Machine Learning<\/li>\n<li>Amazon Polly<\/li>\n<li>Rekognition<\/li>\n<\/ul>\n<p>That said, services like Amazon EMR with Spark Machine Learning Library are useful for unlabeled data and unsupervised learning.<\/p>\n<h2>Machine Learning Workflow<\/h2>\n<p>There are <a class=\"hoverZoomLink\" href=\"https:\/\/cdn-images-1.medium.com\/max\/1600\/1*KzmIUYPmxgEHhXX7SlbP4w.jpeg\" target=\"_blank\" rel=\"noopener noreferrer\">five core tasks<\/a> in the common ML workflow:<\/p>\n<h3>1. Get Data<\/h3>\n<p>The first step in the machine learning process is getting data.<\/p>\n<p>This process depends on your project and data type. For example, are you planning to collect real-time data from an IoT system or static data from an existing database?<\/p>\n<p>If you are looking for data to practice building a <a href=\"https:\/\/centricconsulting.com\/blog\/unpacking-the-machine-learning-lifecycle-with-mlops-developing-your-model\/\">machine learning model<\/a> with, you can also use data from internet sites like Kaggle.<\/p>\n<h3>2. Clean, Prepare &amp; Manipulate Data<\/h3>\n<p>Real-world data often has unorganized, missing, or noisy elements. Therefore, for <a href=\"https:\/\/centricconsulting.com\/resources\/machine-learning-made-easyish\/\">machine learning success<\/a>, after we chose our data, we need to clean, prepare, and manipulate the data.<\/p>\n<p><strong>This process is a critical step, and people typically spend up to 80 percent of their time in this stage. Having <a href=\"https:\/\/centricconsulting.com\/blog\/how-and-how-often-you-should-get-rid-of-bad-data\/\">a clean data set helps<\/a> with your model\u2019s accuracy down the road.<\/strong><\/p>\n<p>After getting the data to a state you like, you need to convert the data sets into valid formats for your chosen ML platform. For example, you may need to translate the data into a .CSV file and upload to AWS S3.<\/p>\n<p>Finally, you split your data into training and test data sets. The training set is used to train the model in the next step, while the test data is used to validate the model in the fourth step. The typical default is a 70\/30 split between training and test sets.<\/p>\n<h3>3. Train Model<\/h3>\n<p>This step is where the magic happens! The data set connects to an algorithm, and the algorithm leverages sophisticated mathematical modeling to learn and develop predictions.<\/p>\n<p>These algorithms commonly fall into one of three categories:<\/p>\n<ul>\n<li><strong>Binary<\/strong> \u2013 Classify into two categories.<\/li>\n<li><strong>Classification<\/strong> \u2013 Classify into many categories.<\/li>\n<li><strong>Regression<\/strong> \u2013 Predict a numeric.<\/li>\n<\/ul>\n<h3>4. Test Model<\/h3>\n<p>Now, it\u2019s time to <a href=\"https:\/\/centricconsulting.com\/blog\/transform-your-software-testing-methods-with-the-help-of-ai-and-chatgpt\/\">validate your trained model<\/a>. Using the test data from Step 3, we check the model\u2019s accuracy.<\/p>\n<p>If the results are not satisfactory, you need to improve and retrain your ML model (Step 5).<\/p>\n<h3>5. Improve<\/h3>\n<p>Practice makes perfect! Here are a few things you can do to refine your model and improve accuracy:<\/p>\n<ul>\n<li>Review your model\u2019s results with your business stakeholders. Are there other data elements worth adding to your model to make it more accurate?<\/li>\n<li>Reconsider your algorithm choice. Within each class of algorithm, there are dozens of algorithm choices. A different algorithm may perform better for you.<\/li>\n<li>Adjust the parameters of your chosen algorithm to improve performance. Sometimes small adjustments have a significant impact.<\/li>\n<\/ul>\n<p>These are just high-level steps \u2013 ML is as complicated as you choose! That said, by understanding the basic process of developing ML models, you gain a solid foundation for further learning.<\/p>\n<p>Take a <a href=\"https:\/\/centricconsulting.com\/blog\/machine-learning-my-journey-to-the-predictive-world\/\">deeper dive into machine learning<\/a> and its possibilities within your business.<\/p>\n<p style=\"text-align: left;\">\n        <div class=\"inline-cta dark-blue\">\n            <div class=\"inline-cta--content\">\n                 Struggling to sell machine learning to your organization? In this on-demand webinar, we explain how to approach machine learning so you can earn the buy-in and funding you need.\n            <\/div>\n            <div class=\"inline-cta--button\">\n                <a\n                    class=\"button\"\n                    href=\"https:\/\/go.centricconsulting.com\/NAT-FY22-12-WBNR-MachineLearningMadeEasyish_01LandingPage-OnDemand.html\"\n                    target=\"_blank\"\n                    >\n\n                    View Webinar\n                <\/a>\n            <\/div>\n        <\/div>\n","protected":false},"excerpt":{"rendered":"<p>Machine Learning is commonplace in today&#8217;s digital society. Its impact on business practices only increases with its functionality. Learn the steps.<\/p>\n","protected":false},"author":63,"featured_media":32962,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_oasis_is_in_workflow":0,"_oasis_original":0,"_oasis_task_priority":"","_relevanssi_hide_post":"","_relevanssi_hide_content":"","_relevanssi_pin_for_all":"","_relevanssi_pin_keywords":"","_relevanssi_unpin_keywords":"","_relevanssi_related_keywords":"","_relevanssi_related_include_ids":"","_relevanssi_related_exclude_ids":"","_relevanssi_related_no_append":"","_relevanssi_related_not_related":"","_relevanssi_related_posts":"","_relevanssi_noindex_reason":"","footnotes":""},"categories":[1],"tags":[18616,19123],"coauthors":[15012],"class_list":["post-26601","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-uncategorized","tag-data-and-analytics","tag-machine-learning","resource-categories-blogs","orbitmedia_post_topic-artificial-intelligence","orbitmedia_post_topic-data-analytics"],"acf":[],"publishpress_future_action":{"enabled":false,"date":"2025-03-27 02:39:11","action":"change-status","newStatus":"draft","terms":[],"taxonomy":"category"},"publishpress_future_workflow_manual_trigger":{"enabledWorkflows":[]},"_links":{"self":[{"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/posts\/26601"}],"collection":[{"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/users\/63"}],"replies":[{"embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/comments?post=26601"}],"version-history":[{"count":0,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/posts\/26601\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/media\/32962"}],"wp:attachment":[{"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/media?parent=26601"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/categories?post=26601"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/tags?post=26601"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/centricconsulting.com\/wp-json\/wp\/v2\/coauthors?post=26601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}