<?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 Malvin Khoe on Medium]]></title>
        <description><![CDATA[Stories by Malvin Khoe on Medium]]></description>
        <link>https://medium.com/@MalvinKhoe?source=rss-f7a07760ee37------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*H7qZwv8zFNEHzQHpPp94OQ.jpeg</url>
            <title>Stories by Malvin Khoe on Medium</title>
            <link>https://medium.com/@MalvinKhoe?source=rss-f7a07760ee37------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 23 Nov 2026 10:19:43 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@MalvinKhoe/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[Feature Engineering, Is it really that simple?]]></title>
            <link>https://medium.com/tiket-com/feature-engineering-is-it-really-that-simple-a7d1954a0a0a?source=rss-f7a07760ee37------2</link>
            <guid isPermaLink="false">https://medium.com/p/a7d1954a0a0a</guid>
            <category><![CDATA[beginners-guide]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[feature-engineering]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Malvin Khoe]]></dc:creator>
            <pubDate>Thu, 27 Apr 2023 03:04:37 GMT</pubDate>
            <atom:updated>2023-04-27T03:04:37.796Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mwRixLZRxOESi5hu3HqILQ.jpeg" /></figure><p>So, you are an up-and-coming Data Scientist at the start of your journey. You start taking online courses on how to be a Data Scientist and on those courses, you encounter a section called “Feature Engineering”. You read through it and think to yourself, “Hmmm… is it really that simple?”</p><p>Yes! It is that simple, in theory, but it is a different story in practice.</p><p>Simply to put, Feature Engineering aims to make our raw data more suitable for our machine learning objective. This is an important step in building a machine-learning model because our model depends on the data we put in. If we feed the right data, the model will do great, but if we shove in the wrong or unnecessary data, the model won’t do any good. The data that we put in will affect the accuracy of the model, the prediction speed, the scalability, and many more.</p><p>The hardest part of feature engineering is knowing what data and techniques should we apply and when to utilize them. For example, in some cases, we need to normalize our data, but in other cases, we don’t. There are times when we can merge two or more features and there are times when we cannot do that. Just because one feature engineering technique works wonders in one case, that doesn’t mean it will have the same effect in other cases. So here are 3 tips that hopefully can help you with feature engineering</p><h3><strong>Know Your Model</strong></h3><p>Different models will require different kinds of features to work optimally. Some models are sensitive to numeric features, like Linear Regression for example. If the raw data have a wide range of numerical values, let’s say on one feature the range is between 0.001 and 1, and on another feature the range is between 1000 and 100,000; normalizing the data beforehand may lead to a better model than using the raw data. Techniques as simple as normalizing the data will have a big impact on a Linear Regression model but if you are using a tree-based model like Decision Tree, it won’t have that much of an impact. Having a lot of binary features, like the results of One-Hot Encoding, may suit well for a Decision Tree model. However, for a Linear Regression model it won’t be as good or even could make the model worse.</p><p>Knowing the limit of your model is also important, how much data are you working with? How many features will you use? If you are using a simple model, you need to simplify your features like merging a couple of related features and deleting unnecessary features.</p><p>You need to know your model first so that you can make the data in such a way that it will optimize your model performance.</p><h3><strong>Remember Your Objective</strong></h3><p>Sometimes when we are conducting feature engineering, we are so into it and tend to create more and more features; we forget the objective of our model. We need to remind ourselves of the objective and the expected results of our Exploratory Data Analysis (EDA).</p><p>Remembering the objective will help us in generating ideas on what kind of feature we could create that is relevant to the objective. For example, if we have 2 kinds of data, one for the average price that the user usually bought and one for the actual price of the product, and your objective is to find which product the user will most likely buy. Remembering the objective, we can create a feature that shows whether or not that product fits the user’s budget. We can create some sort of comparison feature, that is the actual price divided by the average items’ price which the user usually bought. The closer the result to 1, the more fitting the product’s price is to the user. Having such feature created, we can probably remove the other 2 features depending on the situation.</p><p>The results of our EDA also determine what kind of features we need to create or modify. Remember, EDA is the process where we try to analyze what kind of features will affect the outcome, and from EDA we already know what features matter the most. So if we have an idea for a new feature, but the EDA results say that the new feature won’t matter, then don’t do it, it would only wasting our time.</p><h3>Don’t Stop Experimenting</h3><p>Even though there are a lot of do’s and don’ts when we are conducting feature engineering, just remember, <strong>we are scientists!</strong> Don’t stop experimenting and don’t be afraid of trying new ideas! Sometimes when we are not sure about something, it’s just better to throw everything and see what sticks than over-analyzing and ended up doing nothing. The more we try things out, the more experience we gain. The more experience we gain, the better scientists we will become.</p><h3><strong>Conclusion</strong></h3><p>Feature Engineering is a simple concept, but conducting it properly requires a lot of practice and experience. So don’t be afraid to try things out. Sure, we might fail, but when we fail; but it is also a great opportunity for us to further investigate and learn “Why” we failed. Even these tips I just gave you are the results of learning from all of my past mistakes. Just remember, <strong>We are scientists and keep on learning is what scientists do.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a7d1954a0a0a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tiket-com/feature-engineering-is-it-really-that-simple-a7d1954a0a0a">Feature Engineering, Is it really that simple?</a> was originally published in <a href="https://medium.com/tiket-com">tiket.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[In Data Science They Do This, Right?]]></title>
            <link>https://medium.com/tiket-com/in-data-science-they-do-this-right-db3f682828f2?source=rss-f7a07760ee37------2</link>
            <guid isPermaLink="false">https://medium.com/p/db3f682828f2</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[misconception]]></category>
            <dc:creator><![CDATA[Malvin Khoe]]></dc:creator>
            <pubDate>Mon, 31 Oct 2022 05:01:32 GMT</pubDate>
            <atom:updated>2022-10-31T05:01:32.784Z</atom:updated>
            <content:encoded><![CDATA[<p>Data Science, Artificial Intelligence, and Machine Learning, are the words that we hear quite often these days. “Data Scientist is The Hottest Job in 21st Century”, but what does it really mean? Unfortunately, there are many misconceptions on what data science really is. A lot of people even use the word data scientist very loosely. Not only at the personal level, but also there are companies which often use the word data science without knowing what data science really is. Such phenomenon not only occurs in the small startups or small companies, but also it can be found in the big companies as well.</p><p>As someone who was interested in data science long before I knew what data science is, these are some misconceptions that I found along my journey from a computer science student up to becoming a full-time data scientist for a big tech company in Indonesia.</p><p><strong>MODELLING IS NOT THE ONLY PART OF THE JOB</strong></p><blockquote>“Data Science is all about creating the best machine learning model.”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*SM4Uyi1tvTTIFaBk" /></figure><p>This sentence is probably one of the biggest misconceptions about data science. While it is true to some extent, people always misunderstand what the “best model” means. The best machine learning model is not always the model with the most complicated or the most advanced algorithms. So suddenly putting a deep learning model into your project that didn’t really need to use a deep learning model (i.e. basic regression and classification) will not make it better, in fact, most of the time it will get worse. The best machine learning model will vary from project to project, there is no one-stop solution for all, and there are times when deep learning is needed but there are also times when simple classification algorithms would suffice.</p><p><strong>Prepare the Data First</strong></p><p>In order to create the best machine learning model, we need to <strong>focus more on the data</strong> <strong>that we are working with</strong> rather than focusing on the model itself. This is something that <strong>most people often overlook</strong> even though it is the <strong>foundation</strong> of every machine learning model. So before we start creating the model, first we need to <strong>analyze</strong> the data that we are working with and gaining certain degree of understanding on what kind of data we are dealing with. Several questions that will come to your horizon, including:</p><ul><li>Is it time series data?</li><li>What is the type of fields we are dealing with? Is it categorical data? Is it numerical data? Or is our data containing the mixture of both numerical and categorical data?</li><li>Then, we will need to understand representation of your data. Is this value showing the price of the product or is this value showing the number of products that has been sold?</li></ul><p>After we understand the data, we need to explore it further before we can feed the data into our model.</p><p>Things that we need to explore further are the <strong>missing values</strong>, and the <strong>distribution of the data. </strong>Furthermore, we can also look at the correlation between our training data and the desired outcome. In some cases, we can also create new data based on the existing data, or what we call as <strong>feature engineering</strong>. After all of these steps in your analysis, we can create the <strong>final dataset</strong> that we will use to train and evaluate our model.</p><p><strong>Know How to Evaluate The Model</strong></p><p>Another important thing to look at is <strong>how we evaluate the model</strong>. This, arguably, is the most important part of creating a machine learning model. How can you know how good your machine learning model is if not from the evaluation?</p><p>There are many metrics to evaluate a model, so how can we choose which evaluation metrics will be used? By knowing what your goals are, and choosing the evaluation metrics that reflects those goals, you will have more validated experiments on your machine learning models. Firstly, you have to clearly define the nature of problem definition. For example, do you see it as a classification or a regression problem? If we want to create a model for classification, we can use accuracy. However, if we have an imbalanced dataset, we cannot simply choose accuracy because it will not reflect the real performance of our model. Hence, we may choose to use precision and recall instead, depending on your business scenarios. Knowing what kind of evaluation metrics to use will help us to create a better model.</p><p>As we can see, there are many things to do before we create a model and sometimes these things are much more important than the modelling itself.</p><p><strong>DON’T FORGET YOUR OOP (Object Oriented Programming)</strong></p><blockquote>“Data Scientists don’t need OOP because they code in python”</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*RLl8Kb6kmzrjfLB4.png" /></figure><p>This misconception comes from all the data science courses out there, which often too focused to teach us to use Jupyter Notebooks only. And because of the nature of Jupyter Notebooks and python, <strong>we often forget to implement any OOP concept</strong>.</p><p>So, where do data scientists create their models?</p><ul><li>We still use Jupyter Notebooks, however, it is used in the data exploration and experimentation only.</li></ul><p>In order to deploy our model to production, we need to create an API and we cannot create an API from Jupyter Notebooks. We need to put our code for modelling from Jupyter Notebooks into an executable python script. Since we are creating an API, we need to implement OOP and also clean code so it will be easier to maintain and debug.</p><p>So, don’t forget your python OOP because you are going to need it dearly.</p><p><strong>FOCUS ON THE BASICS</strong></p><p>The last one is not a misconception about data science, but this is a misconception on <strong>“How to get an entry-level Data Science job”</strong>. Many fresh graduates believe that they can get an entry-level job because they have created a deep learning model before or some other high-level model out there, but they often forget about the basics.</p><p>Please focus on the basics first, and master the fundamentals of Data Science. Don’t forget how to calculate precision and recall, create confusion matrices, create cross-validation, and understand simple machine learning algorithms like Linear Regression, Naive Bayes, etc. Being able to explain the pros and cons of these algorithms on a given real-world use case shows that you really understand those algorithms technically, and theoretically. Even the creativity to link those algorithm usages to potential computer science problems will be much appreciated as a Data Scientist. Not only the data scientist have to know in details the nature of the data, but also the models and even “story-telling” based on cross-validated experiments. Knowing well statistics and probability theories would be the minimum requirements to enter the world of practical data science. Be passionate and be extremely excited when dealing with the data, being challenged when you encounter extremely difficult problems to solve. And, do not be afraid to ask any questions to your peers or leads. As a competent data scientist, do not assume your question is a stupid question (read this article for your inspiration: <a href="https://towardsdatascience.com/why-you-should-ask-questions-as-a-data-scientist-46fb9f2bf893">https://towardsdatascience.com/why-you-should-ask-questions-as-a-data-scientist-46fb9f2bf893</a>). Be hungry about consuming the data.</p><p><strong>CONCLUSION</strong></p><p>Data science is a relatively new field in computer science, especially in Indonesia, so there will be misconceptions here and there. I hope this article could help you in identifying the misconceptions continue your journey becoming a great data scientist in the future.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=db3f682828f2" width="1" height="1" alt=""><hr><p><a href="https://medium.com/tiket-com/in-data-science-they-do-this-right-db3f682828f2">In Data Science They Do This, Right?</a> was originally published in <a href="https://medium.com/tiket-com">tiket.com</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>