<?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 James Hamilton on Medium]]></title>
        <description><![CDATA[Stories by James Hamilton on Medium]]></description>
        <link>https://medium.com/@jamesrdhamilton?source=rss-4764a80ea558------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ysMwzcwbr6vRga74QU9vmw.jpeg</url>
            <title>Stories by James Hamilton on Medium</title>
            <link>https://medium.com/@jamesrdhamilton?source=rss-4764a80ea558------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 27 Nov 2026 21:48:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@jamesrdhamilton/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[Mastering the Data Science Workflow]]></title>
            <link>https://medium.com/data-science/mastering-the-data-science-workflow-2a47d8b613c4?source=rss-4764a80ea558------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a47d8b613c4</guid>
            <category><![CDATA[data-science-process]]></category>
            <category><![CDATA[data-science-workflow]]></category>
            <category><![CDATA[data-science-projects]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-science-lifecycle]]></category>
            <dc:creator><![CDATA[James Hamilton]]></dc:creator>
            <pubDate>Sat, 16 Sep 2023 14:46:02 GMT</pubDate>
            <atom:updated>2023-09-16T14:46:02.178Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*lfkB7WOYYTLnqt2S" /><figcaption>Photo by <a href="https://unsplash.com/@aronvisuals?utm_source=medium&amp;utm_medium=referral">Aron Visuals</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h4>Confidently navigate your data science projects with these 6 simple stages!</h4><h3>Introduction</h3><p>In today’s data-driven world, we must navigate a vast sea of information to extract valuable insights. In order to guide us safely through these challenging waters, we require a reliable compass: the data science workflow.</p><h4>What is the data science workflow?</h4><p>The data science workflow is a structured framework of stages that guides data scientists in effectively navigating the complexities of data science projects.</p><h4>Stages</h4><p><strong>1) Definition<br>2) Collection<br>3) Preparation<br>4) Exploration<br>5) Analysis<br>6) Communication</strong></p><h4>Importance</h4><p>The data science workflow empowers data scientists to collaborate efficiently and effectively when extracting value from data.</p><h4>Challenges</h4><p>The data science workflow is inherently iterative, so it is crucial to recognise the need to revisit earlier stages when new insights emerge.</p><h4>Alternative Frameworks</h4><p>There is no one-size-fits-all data science workflow, accordingly this article offers a personalised take, drawing inspiration from widely recognised frameworks like <a href="https://www.datascience-pm.com/crisp-dm-2/">CRISP-DM</a> and <a href="https://machinelearningmastery.com/how-to-work-through-a-problem-like-a-data-scientist/">OSEMN</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*LtSOAfs5CPd3oq2N" /><figcaption>Photo by <a href="https://unsplash.com/@brett_jordan?utm_source=medium&amp;utm_medium=referral">Brett Jordan</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>1) Definition</h3><p>The definition stage<strong> </strong>involves clearly outlining the project in order to ensure that efforts, expectations, and resources are aligned with a shared purpose and direction.</p><h4>Techniques</h4><p><strong>Context<br></strong>Gather contextual information related to the project (e.g. causes, goals, issues, expectations, implications)</p><p><strong>Objectives<br></strong>Define desired outcomes, measurable goals, and key questions before breaking tasks into distinct, manageable components</p><p><strong>Constraints<br></strong>Determine the limitations of the project by considering important factors (e.g. resource availability, time constraints, data accessibility, ethical considerations)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*MTLzKHJLnjSz1tKb" /><figcaption>Photo by <a href="https://unsplash.com/@fertroulik?utm_source=medium&amp;utm_medium=referral">Fer Troulik</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>2) Collection</h3><p>The collection stage involves acquiring the necessary data in order to perform a meaningful analysis based upon accurate information.</p><h4>Techniques</h4><p><strong>Data Requirements<br></strong>Define which data is needed to properly approach the project (e.g. format, variables, time range, granularity)</p><p><strong>Data Sources<br></strong>Find reliable and relevant data sources (e.g. databases, APIs, files, sensor readings)</p><p><strong>Authentication<br></strong>Secure necessary permissions to access the data (e.g. email/password, OAuth, API key, robots.txt)</p><p><strong>Collection<br></strong>Acquire the data using appropriate methods (e.g. SQL queries, API calls, web scraping, manual data entry)</p><p><strong>Data Management<br></strong>Handle the data in accordance with best practices (e.g. data quality, data governance, data security)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*BWA8Ln8ZKrmM5szT" /><figcaption>Photo by <a href="https://unsplash.com/@madoarceo?utm_source=medium&amp;utm_medium=referral">Darren Ahmed Arceo</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>3) Preparation</h3><p>The preparation stage involves processing the raw data in order to achieve a consistent and structured format that is well-suited for a reliable analysis.</p><h4>Techniques</h4><p><strong>Data Cleaning<br></strong>Identify and handle errors and inconsistencies in the data (e.g. missing values, duplicate entries, anomalies, data formats)</p><p><strong>Data Integration<br></strong>Combine data from multiple sources whilst ensuring consistency (e.g. variables, naming conventions, indexing)</p><p><strong>Feature Engineering<br></strong>Engineer meaningful features from raw data (e.g. feature selection, feature creation, data transformation)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*CWjUCMukYK-CH93o" /><figcaption>Photo by <a href="https://unsplash.com/@iqxazmi?utm_source=medium&amp;utm_medium=referral">Iqx Azmi</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>4) Exploration</h3><p>The exploration stage involves understanding the main characteristics of the data in order to formulate valid hypotheses, identify issues, and refine the project definition.</p><h4>Techniques</h4><p><strong>Distribution Analysis<br></strong>Examine the distribution of each variable (e.g. mean, median, standard deviation, skew, outliers)</p><p><strong>Dependency Analysis<br></strong>Investigate and quantify variable relationships to understand how they influence each other (e.g. correlations, interactions, covariances, time series analysis)</p><p><strong>Data Segmentation<br></strong>Explore the data using various segments and subsets to understand how patterns vary across different groups</p><p><strong>Hypothesis Generation<br></strong>Generate initial insights to develop hypotheses about relationships and patterns</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pDmT3ktsYlp5gF3r" /><figcaption>Photo by <a href="https://unsplash.com/@jkoblitz?utm_source=medium&amp;utm_medium=referral">Julia Koblitz</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>5) Analysis</h3><p>The analysis stage involves performing an in-depth examination of the data in order to develop a robust solution that is capable of producing valuable insights.</p><h4>Techniques</h4><p><strong>Hypothesis Testing<br></strong>Apply significance tests to assess the statistical importance of observed patterns and relationships (e.g. t-test, ANOVA, chi-squared test)</p><p><strong>Advanced Techniques<br></strong>Utilise advanced algorithms relevant to specific hypotheses (e.g. time series analysis, regression analysis, anomaly detection)</p><p><strong>Modelling<br></strong>Select, build, and assess suitable models with relevant metrics to identify the optimal configuration whilst considering trade-offs such as complexity, interpretability, and performance</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IyIeQgr2dQJ-QIWY" /><figcaption>Photo by <a href="https://unsplash.com/@patrickian4?utm_source=medium&amp;utm_medium=referral">Patrick Fore</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>6) Communication</h3><p>The communication stage involves presenting<strong> </strong>the project and its findings to stakeholders in order to create clarity and awareness.</p><h4>Techniques</h4><p><strong>Model Deployment<br></strong>Deploy the model for real-world use (e.g. create an API, build a web application, integrate into an existing system)</p><p><strong>Monitoring and Logging<br></strong>Implement performance tracking and issue logging for the model during usage</p><p><strong>Documentation<br></strong>Create comprehensive project documentation covering technical details (e.g. model architecture, data sources, assumptions, limitations)</p><p><strong>Reporting and Presentation<br></strong>Produce and deliver concise, informative, and engaging project summaries (e.g. objectives, methods, results, insights, key findings)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*uD4SPNTzssAQKl8B" /><figcaption>Photo by <a href="https://unsplash.com/@jordanmadrid?utm_source=medium&amp;utm_medium=referral">Jordan Madrid</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><h3>Conclusion</h3><p>The data science workflow is an essential tool because it provides structure and organisation to complex projects, resulting in improved decision-making, enhanced collaboration, and greater accuracy.</p><p>Data science is a dynamic field, and whilst the workflow provides a solid foundation, it should be adapted to fit specific project needs and goals.</p><p>Embracing and applying the data science workflow will empower data scientists to streamline their process and thrive in the ever-changing, ever-growing sea of data.</p><h3>References</h3><p>[1] J. Saltz, <a href="https://www.datascience-pm.com/data-science-workflow/">What is a Data Science Workflow?</a> (2022), The Data Science Process Alliance<br>[2] P. Guo, <a href="https://cacm.acm.org/blogs/blog-cacm/169199-data-science-workflow-overview-and-challenges/fulltext">Data Science Workflow: Overview and Challenges</a> (2013), Communications of the ACM<br>[3] Springboard, <a href="https://www.kdnuggets.com/2016/03/data-science-process.html">The Data Science Process</a> (2016), KDNuggets<br>[4] S. Gupta, <a href="https://www.springboard.com/blog/data-science/data-science-process/">Data Science Process: A Beginner’s Guide in Plain English</a> (2022), Springboard<br>[5] M. Tabladillo, <a href="https://learn.microsoft.com/en-us/azure/architecture/data-science-process/lifecycle">The Team Data Science Process Lifecycle</a> (2022), Microsoft<br>[6] D. Cielen, A. Meysman, M. Ali, <a href="https://livebook.manning.com/book/introducing-data-science/chapter-2/">Introducing Data Science — Chapter 2: The Data Science Process</a> (2016), Manning Publications<br>[7] Z. Awofeso, <a href="https://www.analyticsvidhya.com/blog/2022/07/structuring-data-science-projects-workflow-beginners-guide/">A Beginner’s Guide to Structuring Data Science Project’s Workflow</a> (2023), Analytics Vidhya<br>[8] N. Hotz, <a href="https://www.datascience-pm.com/crisp-dm-2/">What is CRISP-DM?</a> (2023), The Data Science Process Alliance<br>[9] J. Brownlee, <a href="https://machinelearningmastery.com/how-to-work-through-a-problem-like-a-data-scientist/">How To Work Through A Problem Like A Data Scientist</a> (2014), Machine Learning Mastery</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a47d8b613c4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/mastering-the-data-science-workflow-2a47d8b613c4">Mastering the Data Science Workflow</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>