<?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 Shima Nikfal on Medium]]></title>
        <description><![CDATA[Stories by Shima Nikfal on Medium]]></description>
        <link>https://medium.com/@snikfal?source=rss-ea7841d6d145------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/2*cx6bVbYEu4gC3NEVHpS32A.jpeg</url>
            <title>Stories by Shima Nikfal on Medium</title>
            <link>https://medium.com/@snikfal?source=rss-ea7841d6d145------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 20:36:58 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@snikfal/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[How To Build A Museum Attribute Collection and Attribute Analysis System]]></title>
            <link>https://medium.com/data-science/how-to-build-a-museum-attribute-collection-and-attribute-analysis-system-82a6a9a840a?source=rss-ea7841d6d145------2</link>
            <guid isPermaLink="false">https://medium.com/p/82a6a9a840a</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[web-scraping]]></category>
            <category><![CDATA[software-development]]></category>
            <dc:creator><![CDATA[Shima Nikfal]]></dc:creator>
            <pubDate>Tue, 21 Apr 2020 16:36:16 GMT</pubDate>
            <atom:updated>2021-02-12T17:48:37.052Z</atom:updated>
            <content:encoded><![CDATA[<h3>Building a Complete, Containerized Machine Learning Solution From Data Scraping to Result Analysis</h3><h4>This post explains how to build an ML project step by step</h4><h3>Introduction</h3><p>Here I will describe how to build a system to retrieve data from Wikipedia, store them in the Postgres database and finally perform a linear regression algorithm to prospect the correlation between the city population and the influx of visitors.</p><blockquote>In the process of my job interview, I was asked to build a system to collect the data from Wikipedia and store it in a database. Finally, I was asked to perform a small linear regression ML algorithm to examine the relationships between the data. I am sharing my process and ideas on how I built the system for anyone who might be interested in doing a similar project. The project can be easily extended or adapted for any other field.</blockquote><p>The presentation I prepared for my interview and the code are available on my <a href="https://github.com/ShiNik/wiki_ml">Github</a>.</p><h3><strong>System Pipeline</strong></h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hzst4LZ2Xg1oGRnM" /></figure><h3>Docker Compose Module</h3><ul><li>Provides consistent execution environment</li><li>Single command to start system</li><li>Contains more than one container</li><li>Provides an isolated network environment between containers</li><li>Manages the coordination of starting containers in order based on dependence</li></ul><p>The docker-compose environment contains 4 containers: <a href="https://hub.docker.com/_/postgres">Postgres database</a>, <a href="https://www.pgadmin.org/download/pgadmin-4-container/">PgAdmin</a> , <a href="https://hub.docker.com/_/python">Python 3.7.6 application host</a> and <a href="https://hub.docker.com/u/jupyter/">Jupyter notebook</a></p><p>To see the final docker-compose file please refer to my <a href="https://github.com/ShiNik/wiki_ml/blob/master/docker-compose.yml">Github</a>.</p><h3>Data Fetcher Module</h3><p>Data fetching is the process of automatically mining data or collecting information from the World Wide Web.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/955/1*XYDVtw9FDyIpPjsLF1BbcQ.png" /><figcaption>Data Fetcher Module - Class Diagram</figcaption></figure><p>The two sources of data that are used in this project are <a href="http://www.worldcitiescultureforum.com/data/number-of-international-tourists-per-year">World cities culture forum wiki page</a> and <a href="https://en.wikipedia.org/wiki/List_of_most_visited_museums">List of most visited museums wiki page</a>.</p><p>The combination of <a href="https://en.wikipedia.org/w/api.php?action=help&amp;modules=parse">wiki-api </a>and Python <a href="https://requests.readthedocs.io/en/master/">Request</a> library are used to access the Wikipedia page and retrieve the information. The request library gets the text as wikitext. Wikitext needs to be parsed in order to extract the meaning of full information from it.</p><p>There are many libraries available to parse wikitext. After analyzing several, I decided to use <a href="https://github.com/5j9/wikitextparser">wikitextparser</a>. However, not all the text comes very clean after going through a parser. To solve this issue, I wrote a <a href="https://github.com/ShiNik/wiki_ml/blob/master/src/my_package/parser.py">post-processing</a> module using <a href="https://en.wikipedia.org/wiki/Help:Table">Wiki table rules </a>and <a href="https://en.wikipedia.org/wiki/Regular_expression">regular expressions</a> to perform more cleanup on the text before storing them in the database.</p><p>In total, the data included information for 33 cities and 46 museums. For each city the following characteristics are retrieved: name, population, size, year reported, total visitor. For each museum the following characteristics are retrieved: name, visitor, type,public_transit, location, established, built, year reported.</p><p>However, some wiki pages have missing data. The following figure shows the retrieved data. Missing data are marked in purple.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QgOmTKYzq-2HbCdXY1UHhg.png" /><figcaption>Retrieved Data And Missing Data</figcaption></figure><h3>Database Module</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/956/1*AJ2kF0sk9syPznd_zyvTFw.png" /><figcaption>Database Module - Class Diagram</figcaption></figure><p>I used <a href="https://www.postgresql.org/">postgres</a> open-source database which has docker support for this project along with <a href="https://www.sqlalchemy.org/">SQLAlchemy</a>. SQLAlchemy is a Python SQL Toolkit that gives developers the full power and flexibility of SQLRelational Mapper. If you need to learn more about AQLAlchemy please refer to their <a href="https://www.sqlalchemy.org/library.html#tutorials">tutorials</a>.</p><p>Since the data is extracted for the museum and city, there are only 2 tables needed for this project. A unique id is assigned to each museum and city as a primary key. City id is a foreign key in the Museum table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/911/1*4bjdUhYDnPEp4xOib4RKbw.png" /><figcaption>Database Tables</figcaption></figure><p>For detailed information related to the database of this project please refer to my <a href="https://github.com/ShiNik/wiki_ml/blob/master/src/my_package/database_manager.py">Github</a>.</p><h3>Logger, Configuration and Visualizer Module</h3><p>Logger records detailed events that occur within the application. Logs help to troubleshoot the application and infrastructure performance. Logging can happen at different levels which can be set by the user. The logger model internally uses python <a href="https://docs.python.org/3/library/logging.html">logging</a> library.</p><p>The configuration is used to set the parameters for different modules of the system and to avoid using any hard-coded settings. Some of the configurations used by the current system include main wiki page name, database configuration and translator between the wiki page and database field.</p><p>Visualizer is an independent module. Its job is to generate a different plot for visualization purposes.</p><p>Detailed information for <a href="https://github.com/ShiNik/wiki_ml/blob/master/src/my_package/log_manager.py">logger</a>, <a href="https://github.com/ShiNik/wiki_ml/blob/master/src/my_package/config.py">configuration</a> and <a href="https://github.com/ShiNik/wiki_ml/blob/master/src/my_package/visualizer.py">visualizer</a> can be found in my Github.</p><h3>Machine Learning Module</h3><p>The goal of the machine learning module is to create a linear regression algorithm to explore the correlation between the city population and the influx of visitors. This module consists of the following phases:</p><ul><li>Data Cleanup</li><li>Assessing the Data Distribution</li><li>Linear Regression</li><li>Correlation</li><li>Model Evaluation</li><li>Experiment</li><li>Result Analysis</li></ul><p>Detailed information for the <a href="https://github.com/ShiNik/wiki_ml/blob/master/src/my_package/machine_learning_manager.py">machine learning module</a> can be found in my Github.</p><h4>Data Cleanup</h4><p>In order to have more accurate prediction results, data quality is important. Data cleanup is used to improve and increase data quality. In this project the following cleaning procedures are performed to clean and correct data to make it usable:</p><p>1- Remove unwanted characters such as commas (“,”) from the population using regular expression</p><p>2- Extract numbers from year using regular expression</p><p>3- Convert numeric data from string to number</p><p>4- Remove missing data</p><h4>Assessing the Data distribution</h4><p>Data distribution is a great tool to better understand the data. There are many ways to assess data distribution such as histogram, boxplot, etc. In this project, the distribution of data is represented by histogram and probability plot.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ItmbQimNRbt8vTU_ZgQUBQ.png" /><figcaption>Museum Visitors Data Distribution</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AjJfbQus5Z40Q8KXtK_tHA.png" /><figcaption>City Population Data Distribution</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/716/1*C9rlHk6gc6Z4UIN279LVNg.png" /><figcaption>Probability plot Museum Visitors</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/723/1*ZtqcYJ2HRzVdn51Z_gdAKA.png" /><figcaption>Probability plot City population</figcaption></figure><h4>Linear Regression</h4><p>L<a href="https://en.wikipedia.org/wiki/Linear_regression">inear regression</a> is a <a href="https://en.wikipedia.org/wiki/Linearity">linear</a> approach to modelling the relationship between a <a href="https://en.wikipedia.org/wiki/Dependent_variable">dependent variable</a> and one or more <a href="https://en.wikipedia.org/wiki/Independent_variable">independent variables</a>. The following figures illustrate the linear regression equation and diagram.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/561/1*13HHPoLGKeIkqRu5ZfnUtg.png" /><figcaption>Linear regression formula</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/330/0*Om02H0MOumt4C9TM" /><figcaption><a href="https://www.analyticbridge.datasciencecentral.com/profiles/blog/show?id=2004291:BlogPost:317210">Linear Regression</a></figcaption></figure><h4>Correlation</h4><p>Two sets of data are strongly linked together when they have a high correlation value<strong>.</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/721/1*lWgz2elJT_dohQyHds95WA.png" /><figcaption><a href="https://www.mathsisfun.com/data/correlation.html">Correlation</a></figcaption></figure><p>Correlation can have value:</p><ul><li>1 is a perfect positive correlation</li><li>0 is no correlation (the values don’t seem linked at all)</li><li>-1 is a perfect negative correlation</li><li>Correlation is Positive when the values increase together, and</li><li>Correlation is Negative when one value decreases as the other increases</li></ul><h4>Model Evaluation</h4><p>Model evaluation is the methodology used to choose the best model regardless of architecture or parameters. The procedure of estimating how well a model generalizes to out-of-sample data is called a model evaluation procedure.</p><p>The most common model evaluation procedure is a train/test split procedure. This is a very fast and simple procedure and provides a very precise estimate of out-of-sample performance. One of the best practices is to split data randomly to train set and test set. I used the train_test_split function in the Scikit package for data splitting. I choose 80% of the data for training and 20% for testing.</p><p>You always need an evaluation metric to go along with your chosen procedure. The choice of metric depends on the type of problem you are addressing. For regression problems mean absolute error, mean squared error and root mean squared error is normally used as evaluation metrics.</p><h4>Experiment</h4><p>Since the range of the values for my data was varied I performed data normalization as well.</p><blockquote>Data Normalization is a technique often applied as part of data preparation for machine learning when features have different ranges to change the values of the data to common scale.</blockquote><p>To verify the correlation between dependent (museum visitors) and independent variables ( city population/city visitor), scatter plots are generated as follows:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*54ZYNyA4i2vmmLVvcWMKqA.png" /><figcaption>City population vs Museum Visitors</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/524/1*EM0vZru78AhBNs2elFEBVg.png" /><figcaption>City Visitors vs Museum Visitors</figcaption></figure><p>The following charts represent the model evaluation procedure:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-klL1rRxyRE_6T4NomwmVw.png" /><figcaption>Comparison Result Actual Value Vs Predicted Value for City Population</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4PlWAH1Q_VsW61WBq_dSTw.png" /><figcaption>Comparison Result Actual Value Vs Predicted Value for City Visitors</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/754/1*z9nnWNRfVX5cuxYdspRyJA.png" /><figcaption>Predicted vs test data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*XDnQm9YZK1FCV4kqFvVXZg.png" /><figcaption>Predicted vs test data</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/882/1*-k09xMsYH0Se-b9SvpqjxQ.png" /><figcaption>Residuals plot for City population</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/872/1*cXS4SgW2vDi8zcc7gwVmdw.png" /><figcaption>Residuals plot for City Visitors</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9aRPVEEURMYjPXNq7DZdoA.png" /><figcaption>Evaluation Of Error For City Population And City Visitors</figcaption></figure><p>C.P: City Population</p><p>C.V: City Visitor</p><p>M.v.: Museum Visitors</p><p>EV: Explained Variance</p><p>PCC: Pearson Correlation Coefficient</p><p>MSLE: Mean Squared Log Error</p><p>R2: coefficient of determination (R²)</p><p>MAE: Mean Absolute Error</p><p>MSE: Mean Squared Error</p><p>RMSE: Root Mean Squared Error</p><p>Another experiment performed was to find the correlation between city population with maximum visitors, all the visitors of museums per city and visitors to each museum. The same analysis was performed using city visitors in place of city population.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*alyU0zxUMdBz74Qukoq0SA.png" /><figcaption>Experiment results</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4WBI6ak7bgNQvJfP1JY-iQ.png" /><figcaption>LiearRegression Analysis, Worst result mark by yellow and Best Result Mark by Orange</figcaption></figure><h4>Results analysis</h4><ol><li>The population does not have a significant correlation with museum visitors.</li><li>A single feature is not a good predictor of museum visitors.</li><li>The model does not fit the data due to needing more data, bad assumptions or poor features.</li><li>Data collection does not follow the real data distribution e.g. year for data does not match, museum visitor is only cover 2018 but city population and city visitors belong to any year.</li></ol><h3>Improvement</h3><p>There are several improvements I think could be made to the project in the future:</p><h4><strong>System Level</strong></h4><ul><li>Use NLP to extract information for the wiki</li><li>Have an interactive system to get user input for correlation</li><li>Use JSON file instead of a config file</li><li>Add web interface using of Django and Flask python library to display the user interface through a browser</li><li>Analyze the database for performance improvement</li></ul><h4><strong>Data Level</strong></h4><ul><li>To extract the features efficiently, review existing approaches on the relationship between visitor and museum</li><li>Fetch more data such as the distance of museums to public transport, restaurant, etc.</li><li>With more data, find the most correlated features by using multiple linear regression</li><li>Perform decision tree to find the most effective features on having the highest visitors</li></ul><h3>Conclusion</h3><p>Hopefully, this post was helpful to those wondering how to do a similar project. The code of the post is available on my <a href="https://github.com/ShiNik/wiki_ml">Github</a>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=82a6a9a840a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/how-to-build-a-museum-attribute-collection-and-attribute-analysis-system-82a6a9a840a">How To Build A Museum Attribute Collection and Attribute Analysis System</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A Guide to transitioning from software Developer/Engineer to Machine Learning Engineer]]></title>
            <link>https://medium.com/data-science/a-guide-to-transitioning-from-software-developer-engineer-to-machine-learning-engineer-49c8395dd63a?source=rss-ea7841d6d145------2</link>
            <guid isPermaLink="false">https://medium.com/p/49c8395dd63a</guid>
            <category><![CDATA[software-developer]]></category>
            <category><![CDATA[deep-learning]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Shima Nikfal]]></dc:creator>
            <pubDate>Mon, 23 Mar 2020 22:20:42 GMT</pubDate>
            <atom:updated>2020-04-23T03:00:11.821Z</atom:updated>
            <content:encoded><![CDATA[<h4>A guide on how to transit as a Software Developer to a Machine learning engineer</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/0*nIBGubw6d43TZZkZ.jpg" /><figcaption>Image by <a href="https://pixabay.com/users/geralt-9301/?utm_source=link-attribution&amp;utm_medium=referral&amp;utm_campaign=image&amp;utm_content=1307227">Gerd Altmann</a> from <a href="https://pixabay.com/illustrations/artificial-intelligence-brain-think-3382507/">Pixabay</a></figcaption></figure><p>This blog is intended for any beginner or professional programmer/or academic people who are interested in machine learning. To step into the machine learning engineering field, you don’t need to rely on data science work experience. This blog is for anyone who plans to learn Machine learning on his own.</p><p>Let me tell you how I started my journey to become a machine learning engineer. I have many years of C++ development experiences with an interest in image processing. Lately, machine learning has been applied to many real-world applications. I quickly became fascinated with this new paradigm. Beginning two years ago, I have been actively seeking more information and knowledge in the subject, including self-studying and doing many self projects.</p><blockquote>As a person who loves all aspects of image processing, I decided to explore deep learning since two years ago. Now, I want to publish this resource to help other people, that are as fascinated as I am by AI, and who are looking to do the same. I hope this blog makes it easier for them to try the same approach I did.</blockquote><h3>Table of Contents</h3><ol><li>Data Science vs Machine Learning Engineering</li><li>Machine Learning skills</li><li>Machine Learning Programming Skills</li><li>Other Activities</li><li>Conclusion</li><li>Resources</li></ol><h3><strong>1. Data Science vs Machine Learning Engineering</strong></h3><p>It is critical to understand the differences between a Data Scientist and a Machine Learning engineer. The Machine Learning Engineer role is specialized for machine learning, and may also be referred to in job descriptions as ‘Software Engineer, Machine Learning’, or ‘Data Engineer’.</p><p>There is a wealth of online resources on the difference between Data Scientists and Machine Learning Engineers — make sure to check out:</p><ul><li><a href="https://blog.panoply.io/what-is-the-difference-between-a-data-engineer-and-a-data-scientist">Panoply: What is the difference between a data engineer and a data scientist?</a></li><li><a href="https://www.springboard.com/blog/machine-learning-engineer-vs-data-scientist/">Springboard: Machine Learning Engineer vs Data Scientist</a></li><li><a href="https://www.oreilly.com/ideas/data-engineers-vs-data-scientists">O’Reilly: Data engineers vs. data scientists</a></li></ul><p>As part of <a href="https://skymind.ai/wiki/machine-learning-workflow">a machine learning workflow</a>, data scientists utilize statistical analysis to determine which machine learning approach to use. Only then do they begin prototyping and building out those models.</p><blockquote>Machine learning engineers will often collaborate with data scientists before and after the modelling process; building data pipelines to feed data into models. Finally, designing an engineering system that will serve these models to ensure continuous model health.</blockquote><p>The following diagrams will explain the interaction of different roles within machine learning projects:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lNUlhqdJSTgbfGbHyke12w.png" /><figcaption>Different roles within machine learning projects</figcaption></figure><h3>2. Machine Learning skills</h3><h4>2.1. Machine learning Theory</h4><p>There are many resources out there to learn machine learning theory. Personally I like the courses by <a href="https://en.wikipedia.org/wiki/Andrew_Ng">Andrew Ng</a>. Here are some courses I found useful in understanding machine learning:</p><p><a href="https://www.youtube.com/watch?v=UzxYlbK2c7E&amp;list=PLA89DCFA6ADACE599"><strong>Stanford CS229 by Andrew Ng: Machine Learning</strong></a></p><p>This course provides a broad introduction to machine learning and statistical pattern recognition. This course goes much more into the mathematical derivations of the algorithms.</p><p><a href="https://www.youtube.com/watch?v=PPLop4L2eGk&amp;list=PLLssT5z_DsK-h9vYZkQkYNWcItqhlRJLN"><strong>Stanford CS229A by Andrew Ng: Applied Machine learning</strong></a></p><p>This is an amazing course, suppling a complete overview of machine learning. As an applied machine learning course, it is much less mathematical compared to CS229 and spends more time on the practical aspects.</p><p><a href="https://www.youtube.com/watch?v=PySo_6S4ZAg"><strong>Stanford CS230 by Andrew Ng: Deep Learning</strong></a></p><p>In this course, you will learn the foundations of Deep Learning, understand how to build neural networks, and learn how to lead successful machine learning projects. This course is less focused on mathematics and spends more time in teaching the practical approach to apply machine learning algorithms. This is the most hands-on and practical of this list.</p><p><a href="https://www.youtube.com/watch?v=vT1JzLTH4G4&amp;list=PLa-Bt050gYuhEeLRG8YBmFxwLvTJ5FqPS"><strong>Stanford CS231 by Fei-Fei Li: Convolution Neural Networks</strong></a></p><p>This course provides a detailed introduction to the details of the deep learning architectures with a focus on learning end-to-end models, particularly image classification. It focuses on deep learning in more depth than CS230.</p><p><a href="https://www.youtube.com/watch?v=jikAvn68mYY&amp;list=PLZSO_6-bSqHQHBCoGaObUljoXAyyqhpFW&amp;index=75"><strong>UC Berkeley stat-157 by Alex Smola: Deep learning</strong></a></p><p>This course is a great course on deep learning with an explanation of the latest deep learning architecture. You will learn how to implement each model in detail. You have full access to all the code in <a href="https://github.com/d2l-ai/berkeley-stat-157">GitHub</a>.</p><blockquote>These courses are all useful and you will benefit from exploring all of them. In each course, you will learn different things. Theses courses provide excellent grounding in the field. If you want to learn deep learning, you will need to learn the foundations of machine learning and deep learning. You will need this foundation before you go deeper into Computer Vision, Natural Language Processing, Robotics or Deep Reinforcement Learning. You will also see a bit of each specialization from Computer Vision, Natural Language Processing, Speech Recognition, and even a little bit on self-driving cars. That will help you to decide which area of the field is most interesting to you.</blockquote><h4>2.2. Deep Learning Frameworks</h4><p>Many libraries exist for building deep learning applications. The most common ones are TensorFlow, Keras and PyTorch. These three libraries are all open-source. There are many resources available to learn more about these frameworks. I have made a comparison between them which you can find in my <a href="https://github.com/ShiNik/DeepLearning_Tensorflow/blob/master/doc/deep_learning_frameworks.md">Github</a>.</p><h4>2.3. <em>Machine Learning workflow</em></h4><p>A machine learning workflow is a process required to build a machine learning project from scratch. This process can vary from one project to another. However, the core common steps of a machine learning project can be found as follow:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*n3xBewPnL7REBDrsUYjtjA.png" /><figcaption><em>Machine learning workflow</em></figcaption></figure><h3>3. Machine Learning Programming Skills</h3><h4>3.1. Python</h4><p>Python is the most common language used in machine learning. Python can be very challenging to debug since it is based on dynamic data typing. For those coming from the strongly structured language such as C++, it can be challenging to adapt to dynamic typing and scripting.</p><p>Scripting languages are intended to be very fast to learn and write in, as generally, they request short source code. However, you might face some difficulties as your application grows. First, you do not have the help of a compiler like C++ to catch your errors and mistakes. Moreover, all the types are dynamic, so as your programs get larger you might have a hard time trace and find out the type of the variables. This can make your code becomes error-prone and buggy, especially if it is not well designed.</p><p>It is a good practice to use a python package manager. The problem with global installation is that You can only install a single version of a package at one time for a given Python interpreter. This can be an issue when your applications require a different version of the same library. Also, upgrading libraries can break your applications</p><p>There are many python package managers but <a href="https://www.anaconda.com/distribution/">Anaconda</a> is the most commonly used in data science work. Anaconda simplifies package management and deployment. It brings many of the tools used in data science and machine learning with just one install, so it’s great for having a short and simple setup.</p><p>Another great feature of Anaconda is conda which is the Anaconda package manager. You can install many libraries using conda. Moreover, In Anaconda we can create a virtual environment and it helps to isolate different libraries and versions. It is a good idea to create a virtual environment for each project if they are using different Python libraries.</p><h4><strong>3.2. Python libraries</strong></h4><p>Python’s standard libraries are very large and many may be required for your project. These libraries contain many modules written in C. The most common ones you should know are panda, numpy, matplotlib, opencv-python, scipy, scikit-learn, and tensorboard.</p><blockquote>If you would like to learn more, I will leave the useful links in the references section for you to visit.</blockquote><h4><strong>3.3. Python Integrated Development Environment</strong></h4><p>There are many integrated development environments (IDEs) that you can choose to develop your software. The common IDEs that being used for machine learning are <a href="https://jupyter.org/">Jupyter Notebook</a>, <a href="https://www.jetbrains.com/pycharm/">PyCharm</a>. These IDEs make programming of machine learning easier.</p><p>Juyter notebook is easy if you are prototyping an idea or making a simple function. I find it is not easy to format my code or debug my code in Jupyter Notebook.</p><p>PyCharm is an open-source software made at JetBrains who are best known for their Java IDE called IntelliJ IDEA. Some interesting features of PyCharm IDE include a code editor, a very strong debugger with a graphical interface and error highlighting. It has built-in support for Git, SVN, and Mercurial.</p><h3><strong>4. Other Activities</strong></h3><h4><strong>4.1. Blogs that are freely Available</strong></h4><p>There are many blogs available with information about AI and machine learning. Some of these blogs belong to well-known companies such as Google or Bair Blog. But if you are looking for simple examples and guides you can refer to the three following blogs; <a href="https://towardsdatascience.com/">towards data science</a>, <a href="https://medium.com/topic/machine-learning">medium</a> and <a href="https://machinelearningmastery.com/about/">machine learning mastery</a>.</p><h4><strong>4.2. Podcast</strong></h4><p>The podcast is an amazing resource to get information about the new technology and the market direction. Here are two of my favourite podcasts: <a href="https://podcasts.google.com/?feed=aHR0cHM6Ly9jaGFuZ2Vsb2cuY29tL3ByYWN0aWNhbGFpL2ZlZWQ&amp;ved=0CAAQ4aUDahcKEwjQmsa3hKznAhUAAAAAHQAAAAAQAw">Practical AI</a> and <a href="https://podcasts.google.com/?feed=aHR0cHM6Ly93d3cuY29nbmlseXRpY2EuY29tL2ZlZWQvcG9kY2FzdC8">AI Today</a>.</p><h4><strong>4.3. Practicing Machine learning</strong></h4><p><a href="https://www.youtube.com/user/sentdex">Sentdex Youtube</a> channel contains many practical applications of machine learning and deep learning. He is focused on the implementation of machine learning and deep learning so he does not go into the theory behind each algorithm. He explains everything step by step in a very simple language that everyone can follow. You can access to all the code from his <a href="https://pythonprogramming.net/">blog</a>.</p><p>I have worked on a simple Dogs vs. Cats classification project using Keras and TensorFlow that can help you to start building deep learning project. You also get familiar with building a data pipeline using <a href="https://www.tensorflow.org/api_docs/python/tf/data/Dataset">TensorFlow Dataset</a> to classify images of cats and dogs. You can access the code in my <a href="https://github.com/ShiNik/DeepLearning_Tensorflow">GitHub</a>.</p><p>I made a small regression project which demonstrates how to build a simple linear regression. This code is also accessible from my <a href="https://github.com/ShiNik/wiki_ml">GitHub</a>.</p><h4><strong>4.4. Participating in Competitions</strong></h4><p>Another great place to learn about new technologies and build your network is meetup. Attending meetups can be very useful. Hackathons are another great way to practise and improve your python and deep learning skills. Hackathons are normally a one-day competition in which you will receive real data and a challenge and you need to solve by the end of the day.</p><p>By now, we know if we need to build a deep learning project we require data. To start a deep learning project you first need to have a dataset of images. Building a dataset can be very challenging or even impossible. Luckily <a href="https://www.kaggle.com/competitions">Kaggle</a> provides us with many free datasets to use for this purpose.</p><p>If you reach the point that you need a bigger challenge, you can attend AI competitions. Every year many companies such as AI labs Microsoft, Kaggle and others hold competitions you may participate in.</p><h3>5. Conclusion</h3><p>Hopefully, this post was helpful to those wondering how to become a machine learning engineer.</p><p>Here are some ideas that you can study on your own:</p><ul><li>Test Machine learning system</li><li>Try to learn about machine learning deployment</li><li>Try to learn about Docker</li></ul><h3>6. Resources</h3><p>l\Learn Python from <a href="https://www.youtube.com/user/schafer5">Corey Schafer</a> youtube channel and <a href="https://www.youtube.com/user/sentdex">Sentdex</a> youtube channel: These channels are rich resources for learning python, machine learning, deep learning and natural language processing</p><p><a href="https://kapeli.com/cheat_sheets/Conda.docset/Contents/Resources/Documents/index">Conda</a> cheat sheet: This cheat sheet summarizes commonly used for Conda command-line instructions for quick reference</p><p><a href="https://plugins.jetbrains.com/pycharm">PyCharm Plugins Library</a>: Plugins are very useful can help you easily expand PyCharm’s features</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=49c8395dd63a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/a-guide-to-transitioning-from-software-developer-engineer-to-machine-learning-engineer-49c8395dd63a">A Guide to transitioning from software Developer/Engineer to Machine Learning Engineer</a> was originally published in <a href="https://medium.com/data-science">TDS Archive</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>