<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by KaeTheDev on Medium]]></title>
        <description><![CDATA[Stories by KaeTheDev on Medium]]></description>
        <link>https://medium.com/@kaethedev?source=rss-91ab7633b1d7------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*XpoEoRad3h6naInneoVu1w.jpeg</url>
            <title>Stories by KaeTheDev on Medium</title>
            <link>https://medium.com/@kaethedev?source=rss-91ab7633b1d7------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 22:56:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@kaethedev/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Machine Learning in iOS]]></title>
            <link>https://medium.com/@kaethedev/machine-learning-in-ios-54fd73f1a473?source=rss-91ab7633b1d7------2</link>
            <guid isPermaLink="false">https://medium.com/p/54fd73f1a473</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[coreml]]></category>
            <category><![CDATA[create-ml]]></category>
            <category><![CDATA[swiftui]]></category>
            <dc:creator><![CDATA[KaeTheDev]]></dc:creator>
            <pubDate>Thu, 16 Dec 2021 21:31:54 GMT</pubDate>
            <atom:updated>2021-12-17T00:19:15.286Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*NpVYGEe98YPS8_o5ZerLng.png" /><figcaption>Machine Learning in iOS</figcaption></figure><p>Machine Learning is said to be the future of mobile application development. It is becoming the center of most industries, and the market will cross $20 billion in 2024. But what is Machine Learning? How does this growing technology impact iOS development?</p><p>Most people use Artificial Intelligence and Machine Learning interchangeably. However, <a href="https://www.sas.com/en_in/insights/analytics/machine-learning.html">Artificial Intelligence</a> is the broader scientific term, which is the theory that computers can emulate human behaviors. <a href="https://www.sas.com/en_in/insights/analytics/machine-learning.html">Machine Learning</a>, on the other hand, is a subset of Artificial Intelligence that takes the original theory a step further and involves training a machine on how to learn as a human would. <a href="https://developer.apple.com/machine-learning/core-ml/">Core ML</a> is a framework launched by Apple that makes the process of adding Machine Learning technologies to a project easier, and this is changing the future of mobile app development.</p><h3>How Does Machine Learning Work?</h3><p>Both artificial intelligence and machine learning were born from pattern recognition. So the idea with this is that the systems you create can use data to identify patterns and then learn from them. Once it identifies the pattern, it can then make decisions with little to no human intervention. Machine Learning follows a circular lifecycle that consists of 6 phases.</p><p>Let’s go over each phase using an example. Let’s say you want to build an app that can recognize your friends and family when you take a picture of them. This kind of machine learning is known as image recognition, which means to classify the dominant object or scene in an image.</p><h4>Ask The Question</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oxObzIMHUeMS_aTwzCxJWg.png" /><figcaption>Image Credit: undraw.co/illustrations</figcaption></figure><p>The first step of the Machine Learning lifecycle is to ask, “What is it that I want the machine to learn?” Using our example, we want the machine to learn to recognize people when you take a picture of them.</p><h4>Collect The Data</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*3kztVWgXA14wJCei8AA10w.png" /><figcaption>Image Credit: undraw.co/illustrations</figcaption></figure><p>After you identify the question, the next step is to collect the data that is needed to answer the question. In this case, we would need pictures of our friends and family. These pictures would be used to build the model. In Machine Learning, the model is the algorithm that was learned by the computer to perform a certain task. It also contains the data that is needed to run that algorithm.</p><h4>Train The Algorithm</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/848/1*NcqNZI1FJ9MOE4V325t1Jw.png" /><figcaption>Image Credit: undraw.co/illustrations</figcaption></figure><p>After we’ve collected our data and built our model, it is time to train the algorithm. Training the algorithm is easy, just give it examples of the problem you are trying to solve. Back to our example, if you wanted to train the algorithm to recognize a friend you would simply show it examples or images of the friend you want it to identify. The model would then use <em>Probability Distribution</em> behind the scenes to make predictions. These probabilities are the confidence that the model has in the predictions. The more confident the model is about its predictions the more one probability goes up, and the other down.</p><h4>Try It Out</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Pu9Er90-O6a1c1Z8jfkiOg.png" /><figcaption>Image Credit: undraw.co/illustrations</figcaption></figure><p>Training the model with examples of the issue you want it to solve gives the model knowledge. In the “try it out” phase, with our image classification app, we can show it an image it has never seen before. This is called inference, and it involves using the trained model to make predictions or draw conclusions. So we give the model a picture of a friend or relative that it has never seen and see if it can match the right name with the right photo.</p><h4>Collect Feedback</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/980/1*I4RUYfuxTULXiOObx2MClQ.png" /><figcaption>Image Credit: undraw.co/illustrations</figcaption></figure><p>As you test out your trained model, you want to make sure that it generalizes well. What this means is that it is making good predictions based on the problem it is supposed to solve. Training your models and collecting feedback is one of the main challenges of machine learning.</p><h4>Use Feedback</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nWcFfNGt8iMPxgdyMGRFHw.png" /><figcaption>Image Credit: undraw.co/illustrations</figcaption></figure><p>Finally, once the first five phases are complete, it is time for the model to use the feedback it received and improve on the algorithm. This process, as stated, is circular and repetitive. The repetition helps the model improve its accuracy. The picture below depicts the process.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*-ESBOiJQZqRMnLZvoStEEA.png" /><figcaption>The 6 Steps of Machine Learning</figcaption></figure><h3>Why Is Machine Learning Useful?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*64NHllt6iEs7LbXztz3ujg.jpeg" /><figcaption>Official Logo for iOS Machine Learning</figcaption></figure><p>There are at least 5 sectors and 3 industries currently utilizing machine learning technologies. These include financial services, health care, transportation, legal, agriculture, government, oil &amp; gas, and retail. Because these sectors and industries work with large amounts of data, they have recognized the value in machine learning. Machine learning helps these companies improve or increase efficiency with certain tasks by using their data to identify patterns. One of the main things Machine Learning is enabling them to do is identify profitable opportunities or avoid unknown risks. Any business that implements this technology into its process is putting itself ahead of its competitors.</p><h4>How Is Machine Learning Used in iOS?</h4><p>Core ML is the official machine learning model of Apple. It is a framework that was released in 2017 and its primary goal was to ensure user privacy by supporting on-device machine learning. There were two more versions released after the first one, Core ML 2 and Core ML 3 both released in 2018 and 2019 respectively. Each one improved on the original model. Core ML 2 optimized the size, improved the speed, and gave developers the ability to customize their Core ML models. Core ML 3 added support for a neural network with more than 100 layer types, and on-device machine learning model training.</p><p>On-device computing is key to the Core ML framework because this allows apps to use machine learning without network connections or API calls. Core ML supports image analysis, natural language processing, audio to text conversion, and sound analysis. For a short time, you would have to create &amp; train models using the Python programming language and Google’s TensorFlow framework. However, Apple unveiled Create ML, both an app &amp; framework, a year after Core ML. Create ML is the official tool that iOS Developers use to create and train models for apps. Adding Create ML created an end-to-end pathway for iOS &amp; macOS developers. So now there is no need for third-party tools when creating models with iOS.</p><p>While the idea of a computer being able to program itself sounds like it would make developers/programmers obsolete, the reality of that is far off. Developers/Programmers are currently not being threatened by Artificial Intelligence or Machine Learning. Machine Learning is simply changing the way we approach solving problems using applications. It is already implemented into so many apps that are used by millions of people, Netflix, Tinder, Amazon, YouTube, and Snapchat, to name a few, and most would never know. Machine Learning is creating better user experiences and allowing developers to create more attractive, smart, and engaging apps.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=54fd73f1a473" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>