<?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 Petter Hultin Gustafsson on Medium]]></title>
        <description><![CDATA[Stories by Petter Hultin Gustafsson on Medium]]></description>
        <link>https://medium.com/@petter_28583?source=rss-52536d6e7d35------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*OHDOmJ6eBnXhkGgoDGW0dw.png</url>
            <title>Stories by Petter Hultin Gustafsson on Medium</title>
            <link>https://medium.com/@petter_28583?source=rss-52536d6e7d35------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 22:08:41 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@petter_28583/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[Kickstarter with MLOps]]></title>
            <link>https://medium.com/data-science/kickstarter-with-mlops-cc672d65731f?source=rss-52536d6e7d35------2</link>
            <guid isPermaLink="false">https://medium.com/p/cc672d65731f</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[project-management]]></category>
            <dc:creator><![CDATA[Petter Hultin Gustafsson]]></dc:creator>
            <pubDate>Tue, 06 Oct 2020 18:05:54 GMT</pubDate>
            <atom:updated>2020-10-06T18:35:49.915Z</atom:updated>
            <content:encoded><![CDATA[<h4>Classifying success of kickstarter projects using PySpark and TensorFlow.</h4><h3>Introduction</h3><p>Backing inventors on Kickstarter has for me, in 99 % of the cases, lead to years of waiting for a product that just never shows up at my doorstep. So, let’s once and for all remedy this with an amazing kickstarter success classifier. We will use the <a href="https://mlops.cloud/">MLOps platform</a> to our ingest our datasource (you can find it here on <a href="https://www.kaggle.com/kemical/kickstarter-projects">Kaggle</a>), then develop our preprocessing and model scripts locally using the SDK, to finally submit the whole package to our AWS account to get it versioned and ready for production. After all, this could be a real money maker.</p><h3>Preprocessing with PySpark</h3><p>Some might argue that using Spark for a 50 MB dataset might be a bit overkill. But I like consistency and improvement. After all, it works just as good for MB as TB.</p><p>Let’s start with defining our main function:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/005cd0ef2436fe18e8a6a019df21da79/href">https://medium.com/media/005cd0ef2436fe18e8a6a019df21da79/href</a></iframe><p>As usual, I generate the script template using the MLOps platform, reading the datasource from S3. The MLOps SDK gives me a nice wrapper for all the things we don’t want to think about — like reading, writing and version controlling the transformations, so that I can focus on what happens in my_transformations .</p><p>Next up, let’s define the PySpark classes I’m going to use:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/04075ea9b8ba0649627410b27ac761f2/href">https://medium.com/media/04075ea9b8ba0649627410b27ac761f2/href</a></iframe><p>Nothing fancy going on here, the normal Spark preprocessing classes as well as importing the <a href="https://docs.mlops.cloud/sdk/preprocessing/">MLOps SDK</a>.</p><p>We are also going to need my favourite PySpark helper function that transform PySpark vectors into columns:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6d7ea2562800f6477f6de64e0343f6a6/href">https://medium.com/media/6d7ea2562800f6477f6de64e0343f6a6/href</a></iframe><p>So once we are done with that, we can move on to the main function, that takes the raw input DataFrame, does all transformations and then returns it to main for disk writing. We start off by just cleaning up the DataFrame a bit, asserting that all values has the right types:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3c9e204e8aa181bc744a3184b9bb71b8/href">https://medium.com/media/3c9e204e8aa181bc744a3184b9bb71b8/href</a></iframe><p>We also calculate the total “online” time of the campaign by subtracting the start and end time of the project, as well as filter out some small subclasses like currencies that are not USD (~10 % of the data) and states that are not success or fail (~6 % of the data).</p><p>Once we are done with that, we can move on to transforming all categorical string columns to integers:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/50d9be3bd608c2d4ec68c7df78a7892b/href">https://medium.com/media/50d9be3bd608c2d4ec68c7df78a7892b/href</a></iframe><p>Once we are done with that, we can move on to scaling all columns. This is an important step for deep learning, since we don’t want our weights to go haywire. I will use the StandardScaler , and once I’m done I will also use the OneHotEncoder to transform my project state column (success/fail) into a one hot encoding representation, since that’s the format TensorFlow desires:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c9c6f0b2ed1c3f667685c3e00b6befce/href">https://medium.com/media/c9c6f0b2ed1c3f667685c3e00b6befce/href</a></iframe><p>One important thing to notice, which you will only learn by painful experience is the dropLast=False argument for the OneHotEncoder . I know they have a reason for defaulting this one to True , but I honestly think someone decided that while being drunk.</p><p>Finally, we can explode the one hot encoded vector into columns and return to main:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7c4f5db51688c2ec1145d84c0b25bf0a/href">https://medium.com/media/7c4f5db51688c2ec1145d84c0b25bf0a/href</a></iframe><p>While I develop this script, I’m using the MLOps <a href="https://docs.mlops.cloud/getting_started/local_mode/">local testing environment</a> available inside the platform by doing pip install mlops-local , so that I can quickly iterate on a subset of the data until I’m happy with my transformations:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XxxvVNMU00yxb97OxR9rvQ.png" /></figure><p>The final result, with calculated metrics I can then inspect inside the Datasets view:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CQypQw2mq8VtJtERCPKAXA.png" /></figure><h3>Training with TensorFlow</h3><p>As always, training is about the same setup as for preprocessing. As with preprocessing, I have a little bit of template generated code in the main function that handles reading, writing and sending data back to the console.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/955348304608d0fa0eff2e3022f29756/href">https://medium.com/media/955348304608d0fa0eff2e3022f29756/href</a></iframe><p>Besides that, I have a my_network function where I define my architecture. In the console, I provide the script with my hyperparameters, which in this case are batch_size , learning_rate and epochs that are then available under mlops.hyperparameters along with the data matrices for training, validation and test. I will run this for 20 epochs, which might be a bit over the top for the amount of data:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*_yNDfhKWVaQ6-ENcaZGQlw.png" /></figure><p>As expected, we see a quick run up to almost 96 % accuracy and then a stagnation and the loss going crazy. Seriously overtrained. But then again, it got a solid 96 % on the test set, and this is just me playing around.</p><h3>Putting into production</h3><p>Since we are SO happy with our model, it’s time to make some money on it, exposing it to the world (not really, it’s hidden in a VPC that’s accessible from your cloud services). I will create a Live endpoint, meaning a hosted API that is up and running 24/7 scaling the instances horizontally based on the CPU utilisation of the inference machine.</p><p>I will also set a data sampling percentage of 10 %, meaning that for every tenth request the MLOps platform will save the input and output from the inference and run analysis on data drift, schema correctness etc. On this I can later set an alarm to notify my DevOps team if shit hits the fan:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rW0GUjXxBt3ytVIljAqCTg.png" /></figure><p>So, that’s some end to end magic for you. Hope to see you soon in the <a href="https://join.slack.com/t/mlops-communitygroup/shared_invite/zt-f27d828w-XuVpXs0NIA9jJTOIYHdk1g">Slack community</a> where we discuss machine learning and operations from the aspects of data engineering, data science and DevOps, and how they all can come together!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cc672d65731f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/kickstarter-with-mlops-cc672d65731f">Kickstarter with MLOps</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[Movies on MLOps — part 1]]></title>
            <link>https://medium.com/@petter_28583/movies-on-mlops-dee93698a1ea?source=rss-52536d6e7d35------2</link>
            <guid isPermaLink="false">https://medium.com/p/dee93698a1ea</guid>
            <category><![CDATA[data]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Petter Hultin Gustafsson]]></dc:creator>
            <pubDate>Sun, 20 Sep 2020 11:39:17 GMT</pubDate>
            <atom:updated>2020-09-21T20:28:09.942Z</atom:updated>
            <content:encoded><![CDATA[<h3>Movies on MLOps</h3><h4>Classifying movie ratings using the MLOps platform with PySpark and TensorFlow.</h4><h3>Introduction</h3><p>Classifying movies is always super cool and useful. I, myself, have built at least five successful business around it, so I wanted to share an end-to-end example of how <em>you</em> can go from being an average Netflix rater to making millions of dollars on your skillset. First, we will go through the preprocessing using PySpark on the <a href="https://mlops.cloud/">MLOps platform</a>, we will then continue training awesome models that we can deploy so that millions of users can pay for the ratings.</p><pre><strong>Note</strong>! Subscription tiers at about $29/month have worked best for me in the past.</pre><h3>Inspecting the data</h3><p>The dataset can be found <a href="https://www.kaggle.com/rounakbanik/the-movies-dataset">here</a>. I’m going to go with the ratings, metadata and keywords for this classifier. The columns that I’m interested in and will work with are:</p><ul><li>ratings.csv — all of them</li><li>metadata.csv — [id, budget, genres, popularity, runtime, revenue, original_language, production_companies, vote_count, vote_average]</li><li>keywords.csv — all of them</li></ul><p>Since these are the columns with least null values and most information. I’m not going to do any Pandas data analysis here, because Kaggle has already done it for me. Personally, I keep all my cool datasets on S3, so importing them on the MLOps platform is easy, just add the S3 paths under “Create Datasource”. It should look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*I0pEjiXNChcAvu8ibLQC5Q.png" /><figcaption>Adding datasources in the MLOps platform enables automatic tracking of data over time.</figcaption></figure><h3>Let’s get crackin’</h3><p>First things first. This is my __main__ .</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/31f677c1ff0d53a2b5d0f79c24fbffec/href">https://medium.com/media/31f677c1ff0d53a2b5d0f79c24fbffec/href</a></iframe><p>Importing the DataFrames might seem a bit obscure, but since I generated the code from the console, I get the UUID names of the version tracked tables. After reading the data we basically call a function that does all our transformations, and then we write the resulting DataFrame to disk, specifying format and label columns (for statistics and training). Using the MLOps read and write functions also automatically allows you to trigger this job on a schedule, and it will only process data it has not yet seen (pipeline gold).</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*rI5DJPX9AaNZOY-INufqBQ.png" /><figcaption>Selecting datasources in the MLOps platform allows you to generate template code for your PySpark job.</figcaption></figure><pre><strong>Note!</strong> Saving this dataset in Parquet instead of CSV, results in about two magnitudes of disk space saved. Initial dataset size: ~700 Mb, transformed CSV: ~900 Mb, transformed Parquet: 14 Mb.</pre><p>Oh btw, don’t forget to add some imports, it might help.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/7316b7a11709dc309d1467f03f69e1e6/href">https://medium.com/media/7316b7a11709dc309d1467f03f69e1e6/href</a></iframe><h3>Transformations</h3><p>So to summarize what I want to accomplish with the data:</p><ol><li>Get the IDs from all the nested columns [genres, keywords, production_companies] and sort them by the numbers and then stringify them so that, for example, a combination of genre_1 + genre_2 can be seen as a feature.</li><li>Convert all string columns [original_language, + columns from (1)] to numerical classes.</li><li>Replace all empty values (zeroes in our case) with the mean of each column.</li><li>Normalize and scale all feature columns.</li><li>One hot encode my ratings (labels), since I will be using TensorFlow’s CategoricalCrossentropy as loss function. This is optional, and if you are using SparkML, or Scikit, you could just be satisfied with having a single column of integers instead.</li></ol><h3>Preprocessing code</h3><p>So let’s start with the boring, annoying part of figuring out how to parse these poorly structured python dicts (they could at least have bothered doing a json.dumps()). So this is my oh-my-god helper function:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/47df5b350916d17f73acc0846b9742b8/href">https://medium.com/media/47df5b350916d17f73acc0846b9742b8/href</a></iframe><p>So now that we got that out of the way, let’s dive into the my_transformations() function. I’m going to start with the parsing. And basically, what I will do is run a UDF for each json column and pass each row to the above function. Basically we will go from having a stringified Python dict to a Spark ArrayType filled with integers (the Id’s), these integers I will then sort with the array_sort function so that genre_1+genre_2 is the same as genre_2+genre_1:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/000450cc4c37f843ab0211b9934e39d3/href">https://medium.com/media/000450cc4c37f843ab0211b9934e39d3/href</a></iframe><p>As you can see above I’m also using my own special “null value” handler at the end of df_kw_parsed and df_meta_parsed to remove all arrays that are empty.</p><p>Next up, I will join my three DataFrames together, repartition the data evenly onto the Spark executors and then cast a bunch of columns. You will also notice that I use the Spark built-in function array_join , which will help me stringify my arrays so that I can create integer classes out of them later.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5eab5c25bc32914db1d34b4ebe6470bc/href">https://medium.com/media/5eab5c25bc32914db1d34b4ebe6470bc/href</a></iframe><p>Once that hurdle is over, I will create my first Spark Pipeline that will take all my string columns and turn each unique value into its own integer value, as well as using the Imputer function to fill zero values with the mean. I will also take my ratings column and use Bucketizer . Basically, since the ratings are a bit skewed in number of samples, I will this function to bucket ratings into a unified class, reducing the number of classes from 10 to 4.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/4a9efda4a96c82f4c612312fa0e34bfc/href">https://medium.com/media/4a9efda4a96c82f4c612312fa0e34bfc/href</a></iframe><p>Alright, we have two things left to do, scaling and one hot encoding. So let’s start with scaling, which I will do for for all features. I will use the Spark StandardScaler that normalizes and then scales, because I’m lazy. And honestly, because we are doing movie ratings.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/3265c03b046477177ccebbdbbab693e2/href">https://medium.com/media/3265c03b046477177ccebbdbbab693e2/href</a></iframe><p>Finally, we can run our last pipeline, with the OneHotEncoder . There is just one little obstacle here, and that is that it’s outputted into a SparseVector and we want it as columns, since we are going to save it to disk.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/beccbea4a9951f829302b4a5b61c7ac1/href">https://medium.com/media/beccbea4a9951f829302b4a5b61c7ac1/href</a></iframe><p>Notice that I use the function to_array from gist number three. Finally I will return to main and write to disk.</p><p>Now that my script is done, I want to pop it into the MLOps platform so I do “Create Dataset”, choose 4 standard workers (that’s a lot of compute power for this little princess dataset). I will create a full subset right away and do a 80/10/10 split on train/val/test. I also won’t calculate any column metrics, since I know they are normalized and scaled, and also because we are doing movie ratings. Here is the result:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MMV4yC1zKgoQKpsDAXO3Jg.png" /></figure><p>As we can see, this badboy took us about 35 minutes to execute and costed me about a dollar. Good for me that I’m 100 % certain this will generate a kick-ass classifier in the next part!</p><p>If I’m interested, I can directly via the <strong>Logs</strong> button inspect the CloudWatch logs. I can also check out the PySpark <strong>Code</strong> directly, which is nice if you are multiple people on a team working towards a common goal. You can then easily start of where someone left.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*P4-TgGaNYdLzkquCuPqJ8A.png" /></figure><p>Well that was a handful. Now let’s move on and build a model!</p><h3>Training a TensorFlow model</h3><p>Alright, so as you know, the heavy lifting is over, and building models is just a walk in the park once the data is tip top. So, straight from the Datasets view we can select our dataset and click “Create Model” which will look something like this:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*tVTlzo6pGHHoKJiN3ZUSlQ.png" /></figure><p>If you are a Data Scientist, and have read this far, you probably agree that using a DNN to fit a model around this dataset is a tad too much. But who has time for that kind of philosophical thinking!</p><p>I will use a 120–120–4 DNN with CategoricalCrossEntropy in the Keras API. All this I will run on a GPU instance with 30 epochs. And this is all the code we need:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/fb278675d5000e8f9d455dc4922c2530/href">https://medium.com/media/fb278675d5000e8f9d455dc4922c2530/href</a></iframe><p>As you can see, most important things are baked into the MLOps SDK after submitting through the console. You access all the hyperparameters through mlops.hyperparameters . The best thing is, if I wanted to run hyperparameter optimization on this dataset, the total lines of code I would have to change would be <strong>zero</strong>. This allows you to experiment at a fast pace, doing many iterations on smaller datasets, and then quickly scale it up once you are ready to build your production model. As well, using the mlops.callback class, we automatically feed all metrics back to the console so that you and your colleagues can collaborate and iterate together.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YPgTErDXqhGNea9cUpYXXg.png" /></figure><p>Ooooh! Fantastic results. A stunning accuracy of 25 % on a 4 class problem. But what could have gone wrong? Must have been those lazy data engineers. Oh wait…</p><p>If you can see what’s wrong — leave a comment! The first correct solution wins a movie (rating).</p><p><a href="https://mlops.cloud/">Click here if you want to learn more about the MLOps platform!</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dee93698a1ea" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why your data projects never make any money]]></title>
            <link>https://medium.com/@petter_28583/why-your-data-projects-never-make-any-money-6f3a83109245?source=rss-52536d6e7d35------2</link>
            <guid isPermaLink="false">https://medium.com/p/6f3a83109245</guid>
            <category><![CDATA[product-management]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Petter Hultin Gustafsson]]></dc:creator>
            <pubDate>Sat, 19 Sep 2020 12:46:54 GMT</pubDate>
            <atom:updated>2020-09-19T12:46:54.547Z</atom:updated>
            <content:encoded><![CDATA[<h4>Don’t be hard on yourself, only 13% go in to production.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*iHsUaoFvaXBt12xLd8ZtwQ.jpeg" /><figcaption>Source : Unsplash</figcaption></figure><h3>What’s your ML ROI?</h3><p>Machine learning is great, it opens doors to new ventures, solving new challenges, as well as helping already established companies reinvent their businesses. But are you really doing that? And if so, what’s the cost? Is your revenue bump justifiable to the huge increase in development costs?</p><p><a href="https://info.algorithmia.com/hubfs/2019/Whitepapers/The-State-of-Enterprise-ML-2020/Algorithmia_2020_State_of_Enterprise_ML.pdf?hsLang=en-us">50 % of companies</a>, spend between 30–90 days getting a single model into production. Meanwhile, the data scientist is one of the priciest employees, together with their sparring partners — the data engineers.</p><h3>Imagine</h3><p>If your “normal” software engineering team was pushing features at a 90 days interval in 2020, completely unacceptable. And the same should go for data science. The tooling available today, allows any data driven company to mock, PoC and deploy new ideas at an almost daily rate. And let’s face it, if your company is in the business of making gold out of data, then your Data engineers, Data scientists and ML engineers could, would and should be your most valuable asset, and they should really be titled Product engineers, as their work is directly consumed by your users.</p><h3>Making gold</h3><p>For a company with any self improvement plan for their employees, this is really an easy fix (and you might want to double that budget and distribute it yesterday). Because let’s be honest, is your business dependent on the absolute latest ML research to bring value to your customers? I think not. So in that case, there is enough tools and information online to make all your key players true innovators in the field. And this is how you do it:</p><ol><li>Data engineers need to learn the basics of machine learning algorithms, how you evaluate them, what we look for in the data, and how you maintain a model that is serving customers. The work to put in is to read a couple of books, do some projects and get a mentor (could be one of your existing data scientists).</li><li>Data scientists need to learn the craft of preprocessing, which in most cases means, learning distributed computations and some mainstream tool like Spark. This can be quite an uphill battle, but then again, do you need to do it perfectly from the start to gain business value? Nope. They also need to understand the art of software engineering, not saying they need to be full blown CI/CD experts, but understanding load balancing, maintainable code and operating systems, might be a good idea. Once again use your Data engineers and software engineers as mentors, do a couple of cases, and there you go.</li><li>Devops, and software engineers need to learn both the craft of data science and data engineering. But let’s face it, they probably know alot about data engineering already, and data science, at business value level, is not rocket science for someone that is already holding your whole ship together.</li></ol><p>As you can see, the knowledge transfer process does not need to be long, tedious or demand any external knowledge. It’s all about bringing together the teams and competences that are already (or should be) working towards the same goal. With <a href="http://mlops.cloud/">MLOps</a> you can have full control and have all your team work in the same infrastructure, giving you the possibility to do what used to take months in minutes. Give your data scientists and developers a chance to really become a team and collaborate.</p><p><a href="https://aws.amazon.com/marketplace/pp/B08G8VXC1Q">Get started with a 30-day free trial</a>.</p><p><a href="https://www.mlops.cloud/solutions">Sign up here to get a handbook that’s relevant for you.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6f3a83109245" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why your data science efforts haven’t given you any instrumental value]]></title>
            <link>https://medium.com/@petter_28583/why-your-data-science-efforts-havent-given-you-any-instrumental-value-817800abc240?source=rss-52536d6e7d35------2</link>
            <guid isPermaLink="false">https://medium.com/p/817800abc240</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Petter Hultin Gustafsson]]></dc:creator>
            <pubDate>Fri, 18 Sep 2020 10:55:08 GMT</pubDate>
            <atom:updated>2020-09-18T11:19:16.254Z</atom:updated>
            <content:encoded><![CDATA[<h4>Experiments and prototyping in notebooks is great and will give you valuable insights, but it won’t have any instrumental value.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*-dl9Rwp5-96Tlsspb5GQrw.jpeg" /><figcaption>source : Unsplash</figcaption></figure><h3>Instrumental vs intrinsic value</h3><p>These concepts have largely been used in moral or practical philosophy where values such as friendship or wisdom is believed to be valuable for its own sake. The value of gold or stocks however are instrumental in the way that they can be used as a means to an end with no value for its own sake. Imagine you are lost in a forest, in this scenario wisdom would be more valuable than a bag full of gold.</p><h4>So how can we try to translate these concepts to business and data science?</h4><p>Generally a lot of data projects give insights — you experiment and prototype for new possibilities. <a href="http://www.itmanagerdaily.com/big-data-projects-fail/">Over 50% of them fail</a> and only <a href="https://venturebeat.com/2019/07/19/why-do-87-of-data-science-projects-never-make-it-into-production/">13% make it to a stage where they can change your business</a>. That being said, even if it didn’t translate to anything it could still give you <strong>intrinsic</strong> value in the sense that you got some nice insights, you got a better overview of your business models and a cool keynote presentation where people in the room learned something. These things are intrinsic in the way that the data scientists end result didn’t really change anything in a tangible way. It was valuable for its own sake but could never really be used as a means to an end.</p><p>However, having your data scientists generate <strong>instrumental</strong> value for your business is when the data goes in to production, it’s when your data has impact on your profit, revenue and real time interaction for your customers. Your data science projects have instrumental value when your data can be deployed and be used as a means to an end.</p><h4>How <a href="http://mlops.cloud/">MLOps</a> is changing that</h4><p>The concept of MLOps grew from the slow and ineffective way of businesses to organise their data workflow. A lot of data scientists are not familiar with the infrastructure they are operating in, and even less, can build a model that can be easily deployed, and better yet, maintained. Most machine learning projects have a terrible ROI because businesses don’t know how to structure their data teams and more importantly, let the individuals continue to develop and grow, as the industry progresses. In the data industry, things are changing at an incredible speed, and with that, the expectations on skillsets. MLOps is a necessity, just like DevOps, and will allow more and more individuals and businesses to truly deliver value from data to their customers without first going bankrupt.</p><p>MLOps is available as a plug and play solution to your AWS account.</p><p><a href="https://aws.amazon.com/marketplace/pp/B08G8VXC1Q">Get started with a 30-day free trial</a>.</p><p><a href="https://www.mlops.cloud/solutions">Sign up here to get a handbook that’s relevant for you.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=817800abc240" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Disrupting machine learning]]></title>
            <link>https://medium.com/@petter_28583/disrupting-machine-learning-6718b22f2d9f?source=rss-52536d6e7d35------2</link>
            <guid isPermaLink="false">https://medium.com/p/6718b22f2d9f</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data]]></category>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[data-engineering]]></category>
            <dc:creator><![CDATA[Petter Hultin Gustafsson]]></dc:creator>
            <pubDate>Thu, 17 Sep 2020 09:09:56 GMT</pubDate>
            <atom:updated>2020-09-17T09:09:56.765Z</atom:updated>
            <content:encoded><![CDATA[<h4>87% of the projects never even go in to production.</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KP1sKyRuNIvvzqU6YOBkjg.jpeg" /></figure><h3>Imagine</h3><p>You are picking ripe Swedish strawberries but could only eat them in 6–8 months?</p><p>That’s how machine learning operations are done at companies today. To go from an idea to data collection and have that go in to production is a process that takes time. A lot of problems are in the discrepancy between data scientists, analysts, data engineers and DevOps. Imagine you are building a house where the carpenter and the architect are blindfolded and speak different languages.</p><blockquote>Creating a Jupyter notebook environment, adding Git, installing some libraries into a container and calling it a solution that you charge money for , should be a crime.</blockquote><blockquote>— Petter Hultin Gustafsson, founder of <a href="http://mlops.cloud/">MLOps</a></blockquote><h3>All the hype</h3><p>Let’s face it, everyone wants to involve the data they have with AI but <a href="https://venturebeat.com/2019/07/19/why-do-87-of-data-science-projects-never-make-it-into-production/">87% never even go in to production</a>. It’s mostly cool keynotes that give insights with old data. Connecting this gap has been why the concept MLOps has become more relevant today. Companies wants to solve todays problems with todays data and not be stuck in this mess.</p><h3>Disrupting</h3><p><a href="http://mlops.cloud/">MLOps</a> will be the benchmark in how to apply machine learning in companies soon and even now platforms like <a href="http://mlops.cloud/">MLOps</a>, Valohai and DataBricks are showing companies how to plug in their data and do what used to take months in minutes.</p><h3>Fresh strawberries</h3><p>If the time it takes machine learning to produce impact is significantly lower I believe it can help us solve many problems faster. If machine learning can become cheaper and faster it will become more accessible for smaller actors and organisations to apply it on their data, the control of it will no longer be in the hands of a few.</p><p>MLOps is available as a plug and play solution to your AWS account - <a href="https://aws.amazon.com/marketplace/pp/B08G8VXC1Q">Get started with a 30-day free trial</a>.</p><p><a href="https://www.mlops.cloud/solutions">Sign up here to get a handbook that’s relevant for you.</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6718b22f2d9f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>