<?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 Ken Ota on Medium]]></title>
        <description><![CDATA[Stories by Ken Ota on Medium]]></description>
        <link>https://medium.com/@keeeeen0827?source=rss-1c4036bc8d13------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sCrNA5QIU0X9XXwo</url>
            <title>Stories by Ken Ota on Medium</title>
            <link>https://medium.com/@keeeeen0827?source=rss-1c4036bc8d13------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 08:24:02 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@keeeeen0827/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[Neural Network]]></title>
            <link>https://keeeeen0827.medium.com/neural-network-a2a5e526ef3b?source=rss-1c4036bc8d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/a2a5e526ef3b</guid>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[neural-networks]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Ken Ota]]></dc:creator>
            <pubDate>Wed, 25 Nov 2020 12:41:00 GMT</pubDate>
            <atom:updated>2020-11-25T12:41:00.787Z</atom:updated>
            <content:encoded><![CDATA[<p><a href="https://deepai.org/machine-learning-glossary-and-terms/neural-network">deepai.org</a></p><h3>What is a Neural Network?</h3><p>An artificial neural network learning algorithm, or neural network, or just neural net, is a computational learning system that uses a network of functions to understand and translate a data input of one form into a desired output, usually in another form. The concept of the artificial neural network was inspired by human biology and the way neurons of the human function together to understand inputs from human senses.</p><p>Neural networks are just one of many tools and approaches used in machine learning algorithms. The neural network itself may be used as a piece in many different machine learning algorithms to process complex data inputs into a space that computers can understand.</p><p>Neural networks are being applied to many real-life problems today, including speech and image recognition, spam email filtering, finance, and medical diagnosis, to name a few.</p><h3>How does a Neural Network work?</h3><p>Machine learning algorithms that use neural networks generally do not need to be programmed with specific rules that define what to expect from the input. The neural net learning algorithm instead learns from processing many labeled examples (i.e. data with “answers”) that are supplied during training and using this answer key to learn what characteristics of the input are needed to construct the correct output. Once a sufficient number of examples have been processed, the neural network can begin to process new, unseen inputs and successfully return accurate results. The more examples and variety of inputs the program sees, the more accurate the results typically become because the program learns with experience.</p><p>This concept can best be understood with an example. Imagine the “simple” problem of trying to determine whether or not an image contains a cat. While this is rather easy for a human to figure out, it is much more difficult to train a computer to identify a cat in an image using classical methods. Considering the diverse possibilities of how a cat may look in a picture, writing code to account for every scenario is almost impossible. But using machine learning, and more specifically neural networks, the program can use a generalized approach to understanding the content in an image. Using several layers of functions to decompose the image into data points and information that a computer can use, the neural network can start to identify trends that exist across the many, many examples that it processes and classify images by their similarities.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/640/1*XJ88aNMuKNxOXin7je90Qg.png" /><figcaption>DeepAi</figcaption></figure><p>After processing many training examples of cat images, the algorithm has a model of what elements, and their respective relationships, in an image are important to consider when deciding whether a cat is present in the picture or not. When evaluating a new image, the neural net compares the data points about the new image to its model, which is cased off of all previous evaluations. It then uses some simple statistics to decides whether the image contains a cat or not cased on how closely it matches the model.</p><p>In this example, the layers of functions between the input and the output are what make up the neural network. In practice, the network is slightly more complicated than the image above shows. The following image captures the interaction between layers slightly better ,but keep in mind that there are many variations of the relationships between nodes, or artificial neurons.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/296/1*-XQUzC7_tETPuiMMjPMrvw.jpeg" /><figcaption>DeepAi</figcaption></figure><h3>Applications of Neural Networks</h3><p>Neural networks can be applied to a broad range of problems and can assess many different types of input, including images, videos, files, databases, and more. They also do not require explicit programming to interpret the content of those inputs.</p><p>Because of the generalized approach to problem solving that neural networks offer, there is virtually no limit to the areas that technique can be applied. Some common applications of neural networks today, including image/pattern recognition, self driving vehicle trajectory prediction, facial recognition, data mining, email spam filtering, medical diagnosis, and research. There are many more ways that neural nets are used today, and adoption is increasing rapidly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a2a5e526ef3b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Machine Learning Landscape]]></title>
            <link>https://keeeeen0827.medium.com/the-machine-learning-landscape-eb4cced98705?source=rss-1c4036bc8d13------2</link>
            <guid isPermaLink="false">https://medium.com/p/eb4cced98705</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[keras]]></category>
            <category><![CDATA[tensorflow]]></category>
            <category><![CDATA[scikit-learn]]></category>
            <dc:creator><![CDATA[Ken Ota]]></dc:creator>
            <pubDate>Sat, 21 Nov 2020 08:39:58 GMT</pubDate>
            <atom:updated>2020-11-23T12:51:29.180Z</atom:updated>
            <content:encoded><![CDATA[<p><em>Hands-On Machine Learning with Scikit-Learn , Keras &amp; TensorFlow</em></p><h4>Exercises</h4><p><strong>1- How would you define Machine Learning ?</strong></p><p>Machine Learning is about building systems that can learn from data. Learning means getting better at some task, given some performance measure.</p><p><strong>2- Can you name four types of problems where it shines ?</strong></p><p>Machine Learning is great for complex problems for which we have no algorithmic solutions, to replace long lists of hand-tuned rules, to build systems that adapt to fluctuating environments, and finally to help humans learn.</p><p><strong>3- What is a labeled training set ?</strong></p><p>A labeled training set is a training set that contains the desired solutions for each instance.</p><p><strong>4- What are the two most common supervised tasks ?</strong></p><p>The two most common supervised tasks are regression and classification.</p><p><strong>5- Can you name four common unsupervised tasks ?</strong></p><p>Common unsupervised tasks include clustering, visualization, dimensionality reduction, and association rule learning.</p><p><strong>6- What type of Machine Learning algorithm would you use to allow a robot to walk in various unknown terrains ?</strong></p><p>Reinforcement Learning is likely to perform best if we want a robot to learn to walk in various unknown terrains, since this is typically the type of problem that Reinforcement Learning tackles. It might be possible to express the problem as a supervised or semisupervised learning problem, but it would be less natural.</p><p><strong>7- What type of algorithm would you use to segment your customers into multiple groups ?</strong></p><p>If you don’t know to define the groups, then you can use a clustering algorithm (unsupervised learning) to segment your customers into clusters of similar customers. However, if you know what groups you would like to have, then you can feed many examples of each to a classification algorithm (supervised learning), and it will classify all your customers into these groups.</p><p><strong>8- Would you frame the problem of spam detection as a supervised learning problem or an unsupervised learning problem ?</strong></p><p>Spam detection is a typical supervised learning problem: the algorithm is fed many emails along with their labels (spam or not spam).</p><p><strong>9- What is an online learning system ?</strong></p><p>An online learning system can learn incrementally, as opposed to a batch learning system. This makes it capable of adapting rapidly to both changing data and autonomous systems, and of training on very large quantities of data.</p><p><strong>10- What is out-of-core learning ?</strong></p><p>Out-of-core algorithms can handle vast quantities of data that cannot fit in a computer’s main memory. An out-of-core learning algorithm chops the data into mini-batches and uses online learning techniques to learn from these mini-batches.</p><p><strong>11- What type of learning algorithm relies on a similarity measure to make predictions ?</strong></p><p>An instance-based learning system learns the training data by heart; then, when given a new instance, it uses a similarity measure to find the most similar learned instances and uses them to make predictions.</p><p><strong>12- What is the difference between a model parameter and a learning algorithm’s hyperparameter ?</strong></p><p>A model has one or more model parameters that determine what it will predict given a new instance (e.g., the slope of a linear model). A learning algorithm tries to find optimal values for these parameters such that the model generalizes well to new instances. A hyperparameter is a parameter of the learning algorithm itself, not of the model(e.g., the amount of regularization to apply).</p><p><strong>13- What do model-based learning algorithms search for ? What is the most common strategy they use to succeed ? How do they make predictions ?</strong></p><p>Model-based learning algorithms search for an optimal value for the model parameters such that the model will generalize well to new instances. We usually train such systems by minimizing a cost function that measures how bad the system is at making predictions on the training data, plus a penalty for model complexity if the model is regularized. To make predictions, we feed the new instance’s features into the model’s prediction function, using the parameter values found by the learning algorithm.</p><p><strong>14- Can you name four of the main challenges in Machine Learning ?</strong></p><p>Some of the main challenges in Machine Learning are the lack of data, poor data quality, nonrepresentative data, uninformative features, excessively simple models that underfit the training data, and excessively complex models that overfit the data.</p><p><strong>15- If your model performs great on the training data but generalizes poorly to new instances, what is happening ? Can you name three possible solutions ?</strong></p><p>If a model performs great on the training data but generalizes poorly to new instances, the model is likely overfitting the training data ( or we got extremely lucky on the training data). Possible solutions to overfitting are getting more data, simplifying the model (selecting a simpler algorithm, reducing the number of parameters or features used, or regularizing the model), or reducing the noise in the training data.</p><p><strong>16- What is a test set, and why would you want to use it ?</strong></p><p>A test set is used to estimate the generalization error that model will make on new instances, before the model is launched in production.</p><p><strong>17- What is the purpose of a validation set ?</strong></p><p>A validation set is used to compare models. It makes it possible to select the best model and tune the hyperparameters.</p><p><strong>18- What is the train-dev set, when do you need it, and how do you use it ?</strong></p><p>The train-dev set is used when there is a risk of mismatch between the training data and the data used in the validation and test datasets (which should always be as close as possible to the data used once the model is in production). The train-dev set is a part of the training set that’s held out (the model is not trained on it). The model is trained on the rest of the training set, and evaluated on both the train-dev set and the validation set. If the model performs well on the training set but not on the train-dev set, then the model is likely overfitting the training set. If it performs well on both the training set and the train-dev set, but not on the validation set, then there is probably a significant data mismatch between the training data and the validation + test data, and you should try to improve the training data to make it look more like validation + test data.</p><p><strong>19- What can go wrong if you tune hyperparameters using the test set ?</strong></p><p>If you tune hyperparameters using the test set, you risk overfitting the test set, and the generalization error you measure will be optimistic (you may launch a model that performs worse than you expect).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=eb4cced98705" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>