<?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 Piero Cinquegrana on Medium]]></title>
        <description><![CDATA[Stories by Piero Cinquegrana on Medium]]></description>
        <link>https://medium.com/@pierothebear?source=rss-ae537184c917------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*zAOq8rDej-mBzXmU.jpg</url>
            <title>Stories by Piero Cinquegrana on Medium</title>
            <link>https://medium.com/@pierothebear?source=rss-ae537184c917------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 05 Dec 2026 15:59:53 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pierothebear/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[What is Leadership?]]></title>
            <link>https://medium.com/@pierothebear/what-is-leadership-518ec0e13ca9?source=rss-ae537184c917------2</link>
            <guid isPermaLink="false">https://medium.com/p/518ec0e13ca9</guid>
            <category><![CDATA[leadership]]></category>
            <category><![CDATA[leadership-coaching]]></category>
            <category><![CDATA[leadership-development]]></category>
            <dc:creator><![CDATA[Piero Cinquegrana]]></dc:creator>
            <pubDate>Wed, 25 Aug 2021 15:41:18 GMT</pubDate>
            <atom:updated>2021-08-25T18:01:48.445Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*LIn_y5vZBVUJBvKGeMTOYQ.jpeg" /></figure><p>We often associate leadership with charisma, courage, vision, decisiveness. Let us call this <em>the alpha type </em>of leadership. There is another side of leadership that is often neglected, hidden to the plain eye. It is hidden not because it is not important. On the contrary, it is hidden because our society is dominated by leaders that show the above qualities. This other type of leadership is marked by the ability to listen, build coalitions, feel empathy, bridge conflict. Let us call this <em>the beta type</em> of leadership.</p><p>For whatever evolutionary reason that escapes my knowledge and understanding, the innate abilities of alpha and beta leaders do not often intersect. Throughout history, the instances of extremely courageous, charismatic leaders able to listen and build coalitions are few and far between. Sometimes it happens: a freak of nature emerges that shows a large intersection of both alpha and beta talent. Because aggression or micro-aggressions are ubiquitous in business and politics, alpha leaders often come out on top.</p><p>I often thought about the difference between managers and leaders. For some strange reason, I associated the beta type with managers and alpha type with leaders. The more I thought about it, the more it became clear that this was yet another preconceived notion based on empirical evidence, but not grounded in logic and reasoning.</p><p>A country dominated by alpha leaders is a society that is divided. A company dominated by alpha leaders is usually less diverse, more aggressive and most likely less innovative in the long run.</p><p>I painted a stark picture to show the reader the difference between alpha and beta leadership types. However, the reality is more complicated. Through self-awareness, coaching and deep discussion both alpha and beta leaders can teach one another and learn from each other.</p><p>What qualities then do true leaders show? Look for values. Look at their character: honesty, integrity, transparency, authenticity. Ultimately, those values are going to be the compass guiding their decision making. In situations of conflict and stress, true leaders de-escalate conflict and climb on higher ground. Alpha leaders will appeal to their strategy or vision and beta leaders will appeal to their innate ability to build coalitions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=518ec0e13ca9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Machine Learning on the Edge]]></title>
            <link>https://medium.com/motive-eng/machine-learning-on-the-edge-dc663181b957?source=rss-ae537184c917------2</link>
            <guid isPermaLink="false">https://medium.com/p/dc663181b957</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[trucking]]></category>
            <category><![CDATA[hardware]]></category>
            <dc:creator><![CDATA[Piero Cinquegrana]]></dc:creator>
            <pubDate>Tue, 10 Mar 2020 16:01:01 GMT</pubDate>
            <atom:updated>2020-03-10T16:01:01.073Z</atom:updated>
            <content:encoded><![CDATA[<h3>Haunted by Phantom Events</h3><p>The trucking industry is undergoing a silent data revolution. Since the <a href="https://www.eldfacts.com/eld-mandate/">Electronic Logging Device (ELD) mandate</a> was passed, an industry that was long deprived of digital connectivity now has a connected device in every cab.</p><p>With new technology come new problems. Most vehicles will give faulty sensor readings once in a while. The false sensor readings make the vehicle appear to be moving while it is stationary, creating false driving periods and other issues for drivers.</p><p>While ELD vendors generally accept this as an unavoidable problem, at KeepTruckin, our team of data scientists and engineers has been hard at work on solving this issue using artificial intelligence. Over the last few months, we’ve released new updates to our products to automatically detect false sensor readings in most cases, eliminating the problem in more than 98% of situations.</p><h3>What Are Phantom Events?</h3><p>Regulation mandates that ELDs (at KeepTruckin, we call these devices “Vehicle Gateways”) detect truck movements above 5 mph and automatically log such status changes in the driver log.</p><p>Many vehicles have faulty sensors that can cause bad readings, sometimes making a stationary vehicle seem like it is moving. This creates non-existent <a href="https://www.fmcsa.dot.gov/regulations/hours-of-service">hours-of-service (HOS)</a> violations. Non-existent HOS violations cause significant pain for drivers, who must manually correct the logs. Moreover, drivers can be put out of service for this malfunction or be forced to find workarounds by reducing their work shifts. In our experience, most vehicles show such aberrations from time to time, making phantom events a pernicious problem across the industry.</p><p>The first step was to understand exactly what was going on.</p><h3>Why Do They Happen?</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AV72FgREA8gdThioaiQGAw.png" /><figcaption>Electronic Device Log Reporting an HOS Violation Due to Phantom Events</figcaption></figure><p><em>Phantom events</em> are false positives from the Gateway Unit signaling that the vehicle is moving while the vehicle is actually not. The speed sensor has a reading of greater than 5 mph and creates a change in status in the electronic log. Specifically, the driver log will change status from <em>off-duty</em> to → <em>driving</em> or <em>on-duty </em>to → <em>driving</em>. This can cause apparent violations that register on the driver’s logs and must be corrected manually.</p><p>Why do such events occur? There are a few reasons why false readings happen: (1) power take-off, and (2) defective sensor or bad transmission protocol.</p><ol><li>Power take-off: A secondary power generator for some auxiliary function of the truck, such as turning a cement mixer drum or raising the bed of a dump truck, causes a spike in the speed sensor when it is engaged.</li><li>Defective sensor or bad transmission protocol: A common cause of short, invalid driving events can occur from malfunctions in sensors or bad transmission protocol operating on the truck.</li></ol><h3>How to Contain Phantom Events?</h3><p>Phantom events haunt the entire ELD industry, but KeepTruckin is not sitting idly on the sidelines waiting for customers to complain. We decided that phantom events would undermine one of our core missions — to provide reliable safety and compliance solutions — and we acted to build a solution to contain them.</p><p>Given what we knew about phantom events — that they caused <em>brief</em> spikes in vehicle speed sensors — we formulated a strategy using many independent sensors to verify that the truck really had crossed 5 mph. This is commonly referred to as <em>sensor fusion</em>.</p><p>Next, we trained the model. In machine learning, one of the most important ingredients is data. More data usually lead to better models. Using KeepTruckin’s industry-leading virtual fleet of over 300,000 connected vehicles, we could gather data on thousands of these rare events. This allowed us to train a highly accurate model that could detect whether the increase in speed was really happening, or if it was just the result of a faulty sensor read.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*y5uOo8UM5SpONqOB" /><figcaption>Driving Periods and Phantom Rate</figcaption></figure><h3>Machine Learning on the Edge</h3><p>After the model was ready, we deployed it directly on the Gateway Unit to ensure that it would work without a cellular connection. For compliance reasons, the driver log has to work anywhere in the United States, even in locations without an internet connection. Because the classifier validates a basic function of the Gateway Unit (that is, knowing whether the vehicle is moving or not), KeepTruckin cannot wait for the Gateway Unit to go back online to generate the driver log. If a law enforcement official makes a traffic stop, the driver has to provide the driver log in any circumstance.</p><p>The model achieved great success: it reduced the occurrence of phantom events by 98%. Although we have not eliminated the problem completely, we have reduced its occurrence dramatically and confined it to the most severe cases.</p><h3>Conclusion</h3><p>ELDs are bringing about change to the logistics industry, and KeepTruckin’s products have the most advanced hardware and software capabilities for both local and long-haul fleets. Compliance is near and dear to long-haul trucking companies, and HOS logs are a crucial piece of that equation.</p><p>All electronics, including sensors, cables, and circuit boards, can fail. The problem of false speed readings affects the entire ELD industry. As a leader in this industry, KeepTruckin has taken a proactive stance toward false speed readings by building a machine learning model deployed on the edge. This model runs on the ELD and validates the detection of vehicle movements using about ten independent sensors. The use of multiple sensors minimizes the risk of a single sensor triggering a status change while the vehicle is not moving.</p><p>This is just one more example of how KeepTruckin is leveraging cutting-edge AI technology and our industry-leading network to provide the best service to our customers. Safety is at the heart of our mission, and helping fleets with compliance is a big part of that. Our tools reduce the amount of time spent on logs, so that your fleet can concentrate on the most important tasks at hand.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dc663181b957" width="1" height="1" alt=""><hr><p><a href="https://medium.com/motive-eng/machine-learning-on-the-edge-dc663181b957">Machine Learning on the Edge</a> was originally published in <a href="https://medium.com/motive-eng">motive-eng</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Science of Wait Time: How We Built Facility Insights]]></title>
            <link>https://medium.com/motive-eng/the-science-of-wait-time-how-we-built-facility-insights-2f009c29f85e?source=rss-ae537184c917------2</link>
            <guid isPermaLink="false">https://medium.com/p/2f009c29f85e</guid>
            <category><![CDATA[transportation]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[trucking]]></category>
            <category><![CDATA[software-engineering]]></category>
            <dc:creator><![CDATA[Piero Cinquegrana]]></dc:creator>
            <pubDate>Tue, 03 Dec 2019 17:03:08 GMT</pubDate>
            <atom:updated>2019-12-03T17:08:43.010Z</atom:updated>
            <content:encoded><![CDATA[<p>In August 2019, we <a href="https://keeptruckin.com/blog/introducing-facility-insights/">launched KeepTruckin Facility Insights</a>. A product that accurately predicts truck dwell times for every major shipping facility in the U.S. is a significant leap forward for the trucking industry. While the idea may seem simple, building it wasn’t easy. Pulling this off at scale required a large network of trucks generating location data, human annotation, ironclad safeguards for data privacy, and creative data engineering and machine learning.</p><h3>Prime Directive: Protecting Carrier and Shipper Privacy</h3><p>We started with a principal condition around data privacy and anonymity — ensuring we could present dwell time information for a large number of facilities without exposing customer data. We thought long and hard about how to maintain the privacy of both our customers on the carrier side as well as facilities on the shipper side.</p><p>We put safeguards in place to ensure that users cannot back out which carriers visited which facilities, how often facilities are visited, or how much traffic a specific carrier is contributing to overall activity at a facility. We also made sure that facilities with exclusive carrier-shipper relationships weren’t surfaced into the broader tool.</p><h3>Step 1: Where Did the Truck Stop?</h3><p>Detecting when a vehicle is stopped in order to load or unload — an event that we call a stoppage — is foundational to this product. Seems trivial, right? Well, not exactly. Drivers pull over to make a phone call, they get stuck in traffic jams, or are involved in collisions. From the very granular view of ELD messages, we only see GPS coordinates (latitude, longitude) like these:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*_oBCo0CyHm3SZ-ZJc_UW7g.png" /><figcaption>GPS coordinates are insufficient to identify facility visits.</figcaption></figure><p>Using GPS coordinates alone, a vehicle may seem to be stopped anytime it slows down in gridlock or idles for a minute or two. We needed to distinguish these instances from visits to a facility! By using additional data, such as whether the truck is loaded or unloaded, the gas tank is full, or the engine is turned on or off, we were able to build a more complete picture.</p><h3>Step 2: Identifying Facilities with Meter-Level Precision</h3><p>After we identified stoppages, the next questions were <em>where</em> trucks were stopping, and which of those stops corresponded to logistics facilities visits. It became clear that we would need precise borders for each facility; after all, warehouses can be next to each other, or they can be near restaurants where drivers stop for long periods of time. And, of course, trucks sometimes pull over on the side of the highway to rest.</p><p>To get this right, we had to detect entries and exits down to meter-level precision. This is where humans and machines had to come together: machines identified facilities, and humans manually geofenced the areas with high precision. We invested heavily in this; over 100,000 hotspots of stoppages have been geofenced, and we continue the process at the time of publishing, adding thousands of new facilities each week.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MCkrfo44iPay7KFNiyz9Wg.png" /><figcaption>We geofenced facilities to identify stoppages.</figcaption></figure><h3>Step 3: Modeling Dwell Time — Even for Facilities with Few Visits</h3><p>A key feature of Facility Insights is the ability to view dwell time predictions for different times of day, and day of the week. However, even with a robust set of historical data, some facilities had limited observations for specific hour-day combinations; for instance, one warehouse did not have much data for Tuesday at 8am.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lHjuKddvTvNB7tWSJeZHig.png" /><figcaption>We used machine learning algorithms to learn patterns of similarity and make predictions for facilities even when data was sparse.</figcaption></figure><p>For the Facility Insights tool to be useful, it must estimate dwell times for all the days of the week and times of day — and those predictions must be trustworthy, so that our users can rely on them to make important business decisions. We couldn’t show raw historical numbers, due to both privacy reasons and the fact that, for smaller facilities, we simply didn’t have enough data for all times of day and days of the week to make a reliable reading.</p><p>We tackled this issue by building a custom machine learning algorithm to model dwell time estimates based on warehouse-specific patterns, along with historical data of other warehouses that behave similarly to the one in question. This enabled us to predict dwell times for all facilities, typically to within about 20–30 minutes, while protecting the privacy of all facilities. As trucks in our network continue to visit facilities, we adjust the predicted dwell times to reflect recent data and improve our estimates.</p><h3>What Have We Learned So Far?</h3><p>We’ve identified over 120,000 facilities and counting, and our estimates reflect over 6 million unique data points in only the last six months. Our customers are already using Facility Insights to choose their loads, plan their visits to facilities, and keep records of excessive detention time.</p><p>Analyzing our data, we see some interesting trends. To name a few:</p><ul><li><em>Mornings are busier than afternoons: </em>Arriving at 4pm instead of 10am can reduce dwell time by almost 15% (from 74 minutes to 63 minutes), although we realize that many drivers prefer morning visits.</li><li><em>Colder weather means more idling</em>: When we studied idling time and fuel consumption in Minnesota, we saw that drivers typically idle about 20% longer per facility visit in January than in May, translating to almost 20% more fuel consumed.</li></ul><p>These insights are just the tip of the iceberg. For the first time, trucking companies can make truly data-driven decisions about the shippers they work with to reduce dwell time and maximize their drivers’ hours of service (HOS).</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2f009c29f85e" width="1" height="1" alt=""><hr><p><a href="https://medium.com/motive-eng/the-science-of-wait-time-how-we-built-facility-insights-2f009c29f85e">The Science of Wait Time: How We Built Facility Insights</a> was originally published in <a href="https://medium.com/motive-eng">motive-eng</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Data Science Skills That Will Not Get You a Job But Will Get the Job Done]]></title>
            <link>https://medium.com/motive-eng/data-science-skills-that-will-not-get-you-a-job-but-will-get-the-job-done-168254ea555b?source=rss-ae537184c917------2</link>
            <guid isPermaLink="false">https://medium.com/p/168254ea555b</guid>
            <category><![CDATA[spark]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[trucking]]></category>
            <dc:creator><![CDATA[Piero Cinquegrana]]></dc:creator>
            <pubDate>Thu, 18 Jul 2019 00:48:10 GMT</pubDate>
            <atom:updated>2019-07-23T16:58:49.451Z</atom:updated>
            <content:encoded><![CDATA[<blockquote>The worst-kept secret in the data science profession</blockquote><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*h41G9gN6nBmXAM2Auevyfg.png" /></figure><h3>1. Intro</h3><p>At KeepTruckin, Machine Learning (ML) is front and center of our product offering. We have tons and tons of sensor data coming from our Electronic Logging Devices (ELDs) streaming from our large fleet of vehicles. The abundance of data means that our customers demand an ever-increasing array of products and services powered by ML.</p><p>One such project I worked on is the prediction of dwell time at logistics facilities (henceforth “Facility Insights”), so drivers and fleet dispatchers can more accurately plan when to arrive at the facility for loading or unloading the goods they are transporting.</p><p>During this project, I spent about 90% of my time working on such things as data processing and extraction, optimizing the runtime and memory consumption of the codebase, mapping and converting data types when moving from one database to the next or spinning up Amazon Web Services (AWS) EC2 virtual machines.</p><p>In our imagery, these tasks are more closely associated with data and machine learning engineers, the former specializing in data preparation and the latter in the deployment of ML applications. In reality, very few companies can afford to have such specialized roles.</p><p>This is the worst-kept secret in the data science industry: the skills above are rarely tested during the interview process but are invaluable to get the job done. I will review the various aspects of the job that data scientists rarely talk about.</p><h3>2. Cloud</h3><p>If your company or prospective employer utilizes cloud services or they are in the process of adopting or migrating to the cloud, knowing how to use cloud infrastructure is of paramount importance. At KeepTruckin, our cloud provider of choice is AWS, but similar concepts apply to Microsoft Azure or Google Cloud Platform. While working on Facility Insights, I interacted heavily with S3 where all of our data is located. I had to list files in specific S3 locations, delete them or move them around. Knowing how to use the <a href="https://aws.amazon.com/cli/">AWS CLI </a>is very useful to list the contents of a bucket:</p><pre>aws s3 ls s3://&lt;your-bucket&gt;</pre><p>Or to even spin up an EC2 box programmatically. It is very important to know how to gain remote command-line access to an EC2 machine via ssh. For some large jobs that I could not execute locally, I used an EC2 instance:</p><pre>ssh -i &lt;your-pem-file&gt; ec2-user@&lt;ip-address-of-ec2-machine&gt;</pre><p>Of course, your security group needs to be open to port 22 to ssh into a machine. You have to be familiar with such concepts when interacting with remote cloud machines.</p><h3>3. Big Data: Apache Spark</h3><p>KeepTruckin is part of the movement towards the Internet of Things (IoT). Our sensors located inside our fleet of vehicles produce data around fuel consumption, GPS location, revolutions per minute (RPMs), tire pressure and other important indicators that help us build ML products to increase the efficiency and safety of the logistics industry. All of this means the volume and velocity of data are very large and we need big data engines such as <a href="https://spark.apache.org/docs/2.4.3/">Apache Spark</a> to process data at scale.</p><p>Apache Spark has a steep learning curve, with all its complex master/worker architecture, its thousands of knobs to configure (e.g. spark.memory.driver, spark.memory.executor), and its very hairy deployment process.</p><p>The first job I wrote at KeepTruckin is 10 lines of Apache Spark code to convert gzipped-compressed text files into structured Parquet files.</p><pre>df = spark.read \<br> .format(‘csv’) \<br> .option(‘delimiter’, ‘,’) \<br> .option(‘quote’, ‘\”’) \<br> .option(‘header’, ‘true’) \<br> .schema(schema) \<br> .load(&lt;s3-location-of-your-files&gt;)</pre><p>The above command read ~10TB of data in one go and wrote partitioned Parquet files (after some manipulation):</p><pre>df.write \<br> .format(‘parquet’) \<br> .partitionBy(&lt;partition-columns&gt;) \<br> .save(&lt;s3-write-path&gt;)</pre><h3>4. Linux/Docker/Kubernetes</h3><p>For reasons of space, I will lump Linux, <a href="https://docs.docker.com/">Docker</a>, and <a href="https://kubernetes.io/docs/home/">Kubernetes</a> in a single category, even though I will not do justice to these three different components of a tech company’s stack. After working on extract load and transform (ETL) pipelines in Spark, my data was ready and I worked on my ML model to predict dwell time. I used <a href="https://pandas.pydata.org/pandas-docs/stable/">pandas</a> and <a href="https://scikit-learn.org/stable/documentation.html">scikit-learn</a>, which are traditionally the workhorse of data science interviews. The total time spent on these two technologies for the entire project was maybe 10–15%.</p><p>After my model was ready and validated, I had to deploy the job into Kubernetes (K8S). K8S is particularly suited for stateless jobs like this one, where I had to read from Spark, do model training and write the prediction to our application DB to surface the insights to a customer-facing application.</p><p>To deploy in K8S, I had to build my Docker image with the latest code and push to <a href="https://docs.aws.amazon.com/ecr/index.html">AWS Elastic Container Repository (ECR)</a>. Here are some sample commands:</p><pre>docker build -t ds-python-3–7 -f Dockerfile — no-cache</pre><p>The above command will build an image called <em>ds-python-3–7</em> using the file <em>Dockerfile</em>, containing specific instructions on how to build the image.</p><p>After tagging your image with AWS ECS repo, you can go ahead and push it:</p><pre>docker tag ds-python-3–7 &lt;your-ecr-repo&gt;.dkr.ecr.us-east-1.amazonaws.com/ds-python-3–7:latest</pre><pre>docker push &lt;your-ecr-repo&gt;.dkr.ecr.us-east-1.amazonaws.com/ds-python-3–7:latest</pre><p>K8S will create a pod with the image specified and you can list the pods this way:</p><pre>kubectl get pods</pre><p>During the pod run or after completion, you can retrieve the logs:</p><pre>kubectl logs &lt;name-of-the-pod&gt;</pre><h3>5. Application DB: PostgreSQL</h3><p>When working with a backend process Spark and S3 provide cost-effectiveness and scalability, but for our front-end application KeepTruckin needs transactions and millisecond latency. Traditional <a href="https://en.wikipedia.org/wiki/Data_warehouse">data warehouse </a>technologies provide advanced support for inserts, deletes, and updates, much better latency for concurrent queries and support for replicas, federated queries and much more.</p><p>Our technology of choice is <a href="https://www.postgresql.org/">PostgreSQL</a>. After writing Spark jobs, running Pandas/Scikit-Learn in a Kubernetes cluster, I had to write Facility Insights predictions to PostgreSQL.</p><p>While I did not need specialized knowledge of the application DB, it was useful to know how to map data types from Spark to PostgreSQL and work alongside software engineers to structure front-end tables and make suggestions about schemas.</p><h3>6. Git</h3><p>Writing ad-hoc analysis is very different than writing production applications. Like it or not, in order to build ML applications, data scientists increasingly need hard software engineering skills.</p><p>Facility Insights is an ML application that required code versioning, feature branches, logging, and fault-tolerance. Without a <a href="https://git-scm.com/doc">git workflow</a>, it would have been very hard to correct bugs, make incremental changes to the existing code base and deploy in dev, staging and production environments.</p><p>At KeepTruckin Data Science, we follow a strict process of feature branches, pull request reviews and we use a <a href="https://en.wikipedia.org/wiki/Monorepo">monorepo</a> to host our entire codebase.</p><ul><li>Feature branches help us to make small incremental code changes to our codebase, usually associated with a single JIRA ticket;</li><li>Pull request reviews (PRs) require at least one reviewer to comment and approve the changes. We try to limit our PRs to a reasonable size so as to elicit multiple comments and keep reviews manageable;</li><li>The monorepo helps us to integrate our codebase and promote the use of utilities across the company.</li></ul><h3>7. Product Management</h3><p>Last but not least, data scientists need to work alongside product managers (PMs) to prioritize and make suggestions on ML products. Data scientists bring specialized knowledge about what it is and is not possible to build, given a certain stage of the company and its data. Data science — unlike for example software engineering, is a new function in many companies and a lot of PMs do not have specialized knowledge of ML applications. Thus, data scientists can greatly contribute to internal debates around data products.</p><p>For instance, for Facility Insights I worked with our PM to provide ad-hoc analysis and discuss results to segment the customer roll-out of this feature. I also worked with him to discuss potential new features such as customers initiating requests for predictions of dwell time at warehouses that do not have a prediction yet.</p><h3>8. Conclusion</h3><p>In this article, I walked the reader through the Facility Insights project at KeepTruckin. Throughout this project, I used a variety of skills across different stacks to get the job done. However, these skills are often not part of the data science interview process. Should they be? I do not know the answer to that question.</p><p>On the one hand, we are asking junior data scientists to know an increasingly large array of technologies and skills to build ML applications. Should you ask data engineering and DevOps questions when interviewing data scientists? That would seem absurd. On the other hand, because companies with nascent ML requirements lack a mature ML platform they need data scientists with such diverse skill sets. Perhaps this is a transitional phase in the industry, and with time automation will reduce the surface area needed to build ML applications. For the time being, we need to learn to live with this paradox!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=168254ea555b" width="1" height="1" alt=""><hr><p><a href="https://medium.com/motive-eng/data-science-skills-that-will-not-get-you-a-job-but-will-get-the-job-done-168254ea555b">Data Science Skills That Will Not Get You a Job But Will Get the Job Done</a> was originally published in <a href="https://medium.com/motive-eng">motive-eng</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>