<?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 Brock Taute on Medium]]></title>
        <description><![CDATA[Stories by Brock Taute on Medium]]></description>
        <link>https://medium.com/@tautebro12?source=rss-a3dbf11e33b8------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*SOJhuOpAGIngXZyKxRrJyA@2x.jpeg</url>
            <title>Stories by Brock Taute on Medium</title>
            <link>https://medium.com/@tautebro12?source=rss-a3dbf11e33b8------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 07:46:00 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@tautebro12/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[The Overlooked Piece To Google’s Energy Plan]]></title>
            <link>https://medium.com/climate-conscious/the-overlooked-piece-to-googles-energy-plan-3556e54a22e9?source=rss-a3dbf11e33b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/3556e54a22e9</guid>
            <category><![CDATA[technology]]></category>
            <category><![CDATA[google]]></category>
            <category><![CDATA[clean-energy]]></category>
            <category><![CDATA[energy]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Brock Taute]]></dc:creator>
            <pubDate>Sun, 18 Apr 2021 14:03:27 GMT</pubDate>
            <atom:updated>2021-04-18T14:03:27.024Z</atom:updated>
            <content:encoded><![CDATA[<h4>Unlocking the synergy between Google and clean energy developers</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zufoWASit4xjnj24h8uofQ.jpeg" /><figcaption>Bifacial Solar Panels (photo credit: author)</figcaption></figure><p>Over the years, Google has built strong relationships with clean energy developers through its innovative energy procurement. Building on those relationships, it could now boost its cloud platform business while driving down the costs of clean energy. Beyond demonstrating how to reach 100% carbon-free electricity consumption, Google can provide the tools enabling the energy industry to produce this goal. Here’s how.</p><h3>Building Data Tools For Developers</h3><p>Clean energy developers are <a href="https://towardsdatascience.com/clean-energy-developers-need-to-cash-in-their-data-63a2672147e8">big data companies</a>, but most of them don’t know this yet; their tools certainly don’t. Most developers I know manage their files through email and analyze data through a web of spreadsheets that would impress even Charlotte. As development portfolios scale up to tackle climate change in earnest, this method of data management quickly fails. I’ve witnessed firsthand the burying of project profit due to poor data management. Conversely, I’ve seen project economics pulled from the grave due to data-driven insights.</p><p>Meanwhile, Google is actively trying to drive in new customers to its Google Cloud Platform. Offering an effective file management system provides clear-cut value to developers, but facing stiff competition from other cloud providers, Google needs tools that set them apart. By developing energy-specific data software, Google can increase its revenue while decreasing its electricity costs.</p><blockquote>Most developers analyze their data through a web of spreadsheets that would impress even Charlotte.</blockquote><p>I don’t simply mean analyzing operating power plants or evaluating electricity markets. The world of project development is stuffed with unorganized data, just begging to be mined and analyzed, particularly by tools that Google has already developed. Google’s Vision AI can parse engineering reports, legal documents, and satellite imagery. Google’s Earth Engine can power innovative GIS products central to development, like layout software and site feasibility tools. Google Translate can provide much needed support to international developments. The sky is the limit.</p><p>Proper data engineering enables dashboards that show insights across a developer’s portfolio of projects, both operating and in development. While most engineering insights remain siloed to a single project now, a centralized data platform would improve insights for every project with each new study. Developers don’t have the resources to build the data lake required to serve this purpose, but Google could offer this functionality as part of its cloud platform.</p><p>Traditional energy software needs a face-lift. Open-source libraries exist to replace archaic tools like PVSyst or Windographer but need a well-designed user interface to do this. I don’t know a single engineer that would hesitate to adopt a Google-sponsored replacement for these programs.</p><p>Google is uniquely suited to build these products. Much of their current software lays the foundation for these services; they just need to be tailored to the energy industry. Ideally, Google would open-source all these projects, as they are vital in the fight to decarbonize the grid. As a consumer of over 12 TWh of electricity, Google clearly values the reduction in clean energy costs on their own. However, using these tools to bring in Google Cloud Platform customers amplifies their value.</p><h3><strong>Improving Project Evaluation</strong></h3><p>For the last 4 years, I have cussed out RFPs, and Google wasn’t exempt from this verbal abuse. (By RFP I mean a Request For Proposal of clean energy projects that can be evaluated by a company looking to purchase carbon-free electricity.) Responding to an RFP meant pulling together mountains of information that would likely never get read and would certainly change. Demands from RFPs have included exact production from a wind farm at noon on July 4th, 2037, or the technical specifications of a solar panel model that doesn’t even exist yet. Beyond my own frustration providing “fake data”, serious reasons abound for RFP solicitors to take a deeper look into this process.</p><p>Evaluating projects submitted into an RFP by different developers fits the proverbial comparison of apples to oranges. A developer must select many different variables when modeling a project, such as the weather resource, construction estimates, and technology deployed. These variables can be cherry-picked to manipulate project performance. Two energy estimates for a project, both using valid, but different, industry assumptions could easily yield a 5% difference in annual energy. This problem gets even more extreme at the granular level that Google now measures projects. To truly pick the best project, Google must reduce this variability across project models.</p><p>Due to traditionally cloudy RFP evaluation criteria, developers bid many different projects (and many iterations of the same project), hoping the spectrum of options illuminates one ideal project for the RFP solicitor. This beast of submissions burdens both the developers and the RFP solicitors, further exacerbating the inconsistencies across project evaluations. It also draws out timelines forcing unique constraints and higher costs across all projects in development.</p><p>Google is poised to solve these problems. They can build a project assessment platform that incorporates developer-provided data into consistent models. Baseline assumptions and methodologies won’t vary across projects, but if more accurate data exists, it will be incorporated to reduce project uncertainty. Using their new rubric for carbon-free project evaluation, Google could clearly rank projects on coherent criteria, and the transparent guidelines will help developers prioritize which projects to submit.</p><p>Building strategic tools into the platform can reduce the development costs of the projects, decreasing the final electricity price. GIS maps could help developers target ideal development locations for Google and allow them to effectively prioritize current developments. This reduces expenses across the development portfolio by increasing project success rates. Taken further, the platform could become a hub where developers maintain information on all their projects and Google selects among them on a rolling basis. It could even be marketed to other members of the Renewable Energy Buyers Alliance, further reducing RFP-related costs in electricity pricing throughout the industry.</p><h3><strong>Joint Project Development</strong></h3><p>The synergy can move beyond a customer-merchant relationship, especially internationally. When Google looks to site its next data center, it should leverage strategic partnerships with clean energy developers active in the region. Since both companies are looking to develop new facilities, they may be able to combine studies and split development expenses. They can work together to improve local permitting requirements and tax policies. Splitting development risks both reduces Google’s capital expenses and leads to cheaper electricity prices during its operation.</p><h3><strong>Final Thoughts</strong></h3><p>I oversee the development of a platform providing many of these services in the energy access industry. Its impact has been remarkable. Minigrids are now being deployed faster than ever, with profits continuing to rise. If Google implemented the opportunities I’ve described, this same revolution would take place throughout the utility-scale energy industry, one of the most important industries of our time. With its cloud platform, abundance of AI-based APIs, and ambitious energy procurement goals, Google not only has the foundation needed to put these dreams into action, it has the incentive. Well before 2030, Google could profitably expand its relationship with clean energy developers from customer to supplier. While revealing the path to operating on 24/7 carbon-free electricity, they could also help pave the road to supply it.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3556e54a22e9" width="1" height="1" alt=""><hr><p><a href="https://medium.com/climate-conscious/the-overlooked-piece-to-googles-energy-plan-3556e54a22e9">The Overlooked Piece To Google’s Energy Plan</a> was originally published in <a href="https://medium.com/climate-conscious">Climate Conscious</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Clean Energy Developers Need To Cash-In Their Data]]></title>
            <link>https://medium.com/data-science/clean-energy-developers-need-to-cash-in-their-data-63a2672147e8?source=rss-a3dbf11e33b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/63a2672147e8</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[energy]]></category>
            <category><![CDATA[big-data]]></category>
            <category><![CDATA[renewable-energy]]></category>
            <category><![CDATA[data]]></category>
            <dc:creator><![CDATA[Brock Taute]]></dc:creator>
            <pubDate>Tue, 16 Mar 2021 00:55:35 GMT</pubDate>
            <atom:updated>2021-03-16T00:55:35.378Z</atom:updated>
            <content:encoded><![CDATA[<h4>Not Adopting Big Data Tools Will Mean Death In The Energy Industry</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*bVu7g4dHlgtGYO78RWMi9g.jpeg" /><figcaption>Photo by <a href="https://unsplash.com/@jpvalery?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Jp Valery</a> on <a href="https://medium.com/s/photos/cash?utm_source=unsplash&amp;utm_medium=referral&amp;utm_content=creditCopyText">Unsplash</a></figcaption></figure><p>Utility scale developers of solar, wind, and storage power plants compete in an industry with razor-thin margins, sky-high capital expenses, and drawn-out timelines. Every new development is a gamble that reveals its odds only after years and millions of dollars. Given the historic nature of the industry, most of the tools used to evaluate these developments are artefacts of the 20th century. However, “clean tech” branding has drawn the attention of big-data savvy firms entering the data-rich industry with a strong competitive advantage. If conservative energy companies don’t adopt best data practices, their high development costs will kill any hopes of future project success.</p><blockquote>It is time development firms realize they are big data companies.</blockquote><h3><strong>Data Driven Development</strong></h3><p>The goal of development is to minimize project risk by minimizing uncertainty. A perfectly developed project would know exactly how much energy it will produce and exactly what its costs will be (along with being fully permitted and ready-to-construct). To reduce risk, developers use “data driven development.” They generate an insane amount of data, ranging from traditional formats like historical wind speeds and irradiance to less organized formats, like engineering reports or permitting documents. Data from all these sources gets compiled in the minds of the decision makers, who then predict a project’s economics. This prediction must have enough evidence backing it to convince other key stakeholders as well (like financiers looking to lend money to the project or utilities looking to buy the project). Developers succeed by reducing risk sufficiently on economic projects at the lowest cost possible.</p><p>Reducing development expenses typically means generating less data (because you pay for fewer studies). With less data, a project must have higher risk. So, there is a limit to how effective a development firm can cut a project’s costs, and they must look to innovations in construction, technology, and performance to gain an edge. Unless, of course, you had a way to decrease project uncertainty enough for the key stakeholders without needing to get more data. What if less data didn’t mean higher project risk? What if you could gain more insights from the data you already have?</p><h3><strong>Big Data Innovations</strong></h3><p>In the world of “big data”, tools exist that can extract untold wonders from the data we generate, and rich data sources are like gold mines waiting to be stormed by the data science “49ers.” One would be hard-pressed to find a richer source of untapped data than project developments. However, most of this data goes unused by traditional developers. Here is an example:</p><h4>Example Development</h4><p>Let’s say a developer is considering bidding its “Bertrand” solar farm into some upcoming Requests For Proposals (RFP: when a company interested in buying power from a solar farm asks developers to send them projects to pick from). To decide whether to pay the price to bid this project and if there are any studies it should kick off to further reduce development risk ahead of time, the developer holds a “meeting of the minds.” There are a lot of factors that go into these decisions, and to prepare for this meeting, different departments throughout the company are asked to summarize their findings for each key component of the project’s development.</p><p>For one such component, an engineer reads a preliminary geotechnical study to assess the risk that the site’s soils will drastically increase construction costs. This engineer must skim through a several-hundred-page document to pull out the key information, which she then presents to her manager, who relays the information to her manager, and so on up until it is presented in the meeting. The study that generated this document cost hundreds of thousands of dollars and took several months to complete. All this time and expense translates into one piece of knowledge the decision maker digests among many other points before making the decision about the RFP.</p><p>If you’ve ever head of cognitive bias, or if you’ve ever played the game “telephone”, you know that the decision made from this process will suffer from a lot of “noise” distracting from the correct “signal.” The decision maker is not capable of making an unbiased decision on the project, the data presented likely misses the nuances it warrants, and the entire process was timely and expensive. Meanwhile, the development firm has mountains of relevant data that aren’t being used in this decision. Data savvy firms confront all these problems.</p><h4>Better Development</h4><p>To reduce the costs of this project’s development, a firm can pull in all the data already generated for nearby projects, along with relevant publicly available datasets. To reduce the uncertainty and bias when making decisions, machine learning models can offer data-driven suggestions. And to reduce miscommunication, all of a project’s data can be accessible and summarized conveniently in one location.</p><p>The dashboard below presents a ranking system to compare a project to other nearby developments, displays the project timeline and upcoming deliverables, and even estimates the probability that the project will win upcoming RFPs. This information can be used by decision makers to know what development tasks should be kicked off and which RFPs to bid into or avoid. Most importantly, every data point generated through a project’s development cycle gets incorporated into the pool of data that impacts the entire development portfolio, reducing the need for future studies.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*nFrpCp8g88wAtAnMm4uOLg.png" /><figcaption>Sample Dashboard (by author)</figcaption></figure><p>This example only scratches the surface of what’s available to big-data driven developers. Those firms that also operate power plants could combine operating and development data to unlock even greater insights, and independent power producers bidding into electricity markets provide another rich data source to bring into the mix.</p><h3><strong>Conclusion</strong></h3><p>Right now, effective data management and analysis offers a huge competitive advantage over current utility scale developers, but this will be short-lived as the low costs and high benefits of an improved data platform scream for rapid adoption. Sooner than later, proper data handling will become an industry necessity. In what has become a hallmark of the energy industry in the 21st century, those companies that are slow to adapt will be quick to fail.</p><p>If you are a development firm, it is time you realize you are a big data company. Give yourself the tools you need to succeed and train your energy experts to let their data work for them. For another example of how data science can benefit your team, you may be interested in reading <a href="https://towardsdatascience.com/bringing-data-science-to-energy-cbebfc704c57">this article</a>. You can find a roadmap of free resources that will level up your team <a href="https://towardsdatascience.com/data-science-curriculum-for-professionals-46d131675602">here</a>. At the very least, talk to your team about better ways you could be using your data. You will be amazed by the low-hanging fruit available to you.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=63a2672147e8" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/clean-energy-developers-need-to-cash-in-their-data-63a2672147e8">Clean Energy Developers Need To Cash-In Their Data</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[Data Science Curriculum for Professionals]]></title>
            <link>https://medium.com/data-science/data-science-curriculum-for-professionals-46d131675602?source=rss-a3dbf11e33b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/46d131675602</guid>
            <category><![CDATA[programming]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[statistics]]></category>
            <category><![CDATA[data-science-training]]></category>
            <dc:creator><![CDATA[Brock Taute]]></dc:creator>
            <pubDate>Fri, 05 Mar 2021 06:56:46 GMT</pubDate>
            <atom:updated>2021-03-05T06:56:46.589Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Complete Road Map From Spreadsheet Gnome to AI Wizard</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*FMcteRd4ULdwWGd_U1scpg.png" /><figcaption>Figure by author</figcaption></figure><p>If you have finally decided to take the path from Excel-copy-and-paste to reproducible data science, then you will need to know the best route to take. The good news is that there is an abundance of free resources to get you there and awesome online communities to help you along the way. The bad news is that it can get overwhelming to pick which resources to take advantage of. This here is a no-nonsense guide that you can follow without regret, so you can spend less time worrying about the trail and more time trekking it. It’s based on the lessons I learned when I went from a renewable energy project engineer who had never taken a statistics class to the head of a major data platform.</p><h3><strong>YOU ARE HERE</strong></h3><p>At the trailhead for this journey, you can find an army of educated individuals doing data analysis by necessity, not passion. They were trained to be engineers and business analysts, who picked up the easiest software possible to run their equations. Spreadsheets are beautiful because they are so visual. You can literally see and metaphorically feel the numbers through every step of the equations. Building a master spreadsheet is an intimate process. (Don’t believe me? Try criticizing somebody’s color scheme when they show you their new template.) However, spreadsheets quickly reach limitations once you move from prototype to full-scale data analysis. Once you encounter a circular reference that takes a full day to fix, start planning your restroom breaks around when you need to open large files, or spend a week trying to recreate an analysis that somebody else completed, it’s time to move on. With the first steps of your journey, you want to remove the manual steps of your spreadsheets, speed them up, and make the formulas easier to track. You want to start programming.</p><h4>FIRST TREK: Picking A Programming Language</h4><p>You are now faced with the most important decision of your life. Most aspirational data scientists never make it past this massive obstacle. What programming language are you going to learn first? To save you some anxiety, you should know that there truly are no wrong answers; it’s like choosing between a puppy and a new car (or a cat and a motorcycle for some of you out there). While there are plenty of programming languages to choose from, there are only two which I would recommend at this point on the trail: Python and R.</p><p>You could spend months reading articles about which one is better, but they all end up saying the same thing. So, save yourself some burden and let this be the last time you dwell on this topic. This guide is no-nonsense, remember? I’ll shoot it to you straight.</p><p>If you are going to collaborate with anybody, and they already made this choice; choose the same language. Life is easier that way. Assuming you are blazing this trail for your team (which is awesome), I probably recommend you pick R. The language was designed specifically to make the lives of non-computer programmers easier, and the learning community is incredible. More importantly, the RStudio IDE (Integrated Development Environment; a place where you will edit your code), makes getting started a lot easier than if you use Python. (It will feel like using Matlab, for anybody who used that in college.) That all said, Python is the more popular language for software engineers, and is used a bit more in the “real world” when you start building machine-learning applications.</p><p>I personally started teaching myself Python for normal computer programming purposes and got caught up on a lot of frustrating stuff (like the darned PATH variable), which made progress slow at the start. When I started learning Data Science, I switched to R and really enjoyed the experience. More recently, I dug into the data science packages for Python and now flip back and forth between the two frequently (something that is surprisingly easy).</p><p>If you want to give this topic a bit more justice, you should read <a href="https://towardsdatascience.com/should-an-engineer-learn-r-or-python-c91b36215a91">this article</a> that dives into more detail. Then, you should pick one and get started.</p><h4>SECOND TREK: Basic Stats and Tidy Data</h4><p>Once you’ve picked a language, you need to pick the IDE and learning material. If you chose R, use RStudio and read “R For Data Science” (often abbreviated R4DS) by Garrett Grolemund and Hadley Wickham. If you chose Python, download JupyterLab (using Anaconda) and read “Python Data Science Handbook” by Jake VanderPlas. Both of these books are available free online.</p><p>Either book will take you from complete novice to beyond-spreadsheet capabilities, enabling you to tackle a wide range of projects. So, do it. Take a data analysis process that was really frustrating you (maybe it was having to copy data from a bunch of CSVs into one template, maybe it was a process that required a bunch of spreadsheets and copying/pasting data between them, etc.) and write an R/Python script to do it for you. When you hit roadblocks, reach out to the community for support.</p><p>The biggest step that propelled me forward was understanding the concept of tidy data. For that reason, I recommend reading the “Tidy Data” paper by Hadley Wickham, and putting its principles to use in your code.</p><p>Also, by far the most fun piece of doing any data analysis is creating awesome visualizations. Make sure you spend a lot of time playing with your plots. These are how you will impress other people into seeing your code is better than their spreadsheets.</p><p>Lastly, since you are now doing deeper data analysis, it may be beneficial to review the principles of firm statistics. I recommend “The Art of Statistics” by David Spiegelhalter. It’s a non-textbook that walks through the mindset behind the math of statistics, which is more applicable for somebody coding than a deep dive into the math itself.</p><h3>FIRST DESTINATION</h3><p>You made it! With these very simple steps, you can now call yourself a Data Analyst. At this point in time, you can now do everything you could do in Excel, and then some. Analyzing data is now considerably faster, you automated the boring stuff, and you have way more fun making plots. For many, this is as far as you wanted to go. However, the next couple steps will look awfully enticing… If you thought you were having fun before, wait until you make your first dashboard.</p><h4>THIRD TREK: Dashboards</h4><p>Check out the Shiny R Gallery (<a href="https://shiny.rstudio.com/gallery/">https://shiny.rstudio.com/gallery/</a>). Or for you Pythonistas, look at the Dash Enterprise App Gallery (<a href="https://dash-gallery.plotly.host/Portal/">https://dash-gallery.plotly.host/Portal/</a>) These are dashboards, a place where you can combine all the results from your data analyses into one location, so that your business leaders can awe at the work you put in and make educated decisions driven by data. (Pretty nice catch phrase, right?) Taken a step further, dashboards can be web apps that allow other members of your team to run your code through a GUI (Graphical User Interface). Is there a software that your team currently uses but drives you nuts? You could recreate it but tailor made to do exactly what you want and nothing else, seriously reducing the number of clicks you take. And the output of this program could be a beautiful PDF report.</p><p>Long story short, dashboards are dope. You want to master making these. Start by taking one of your analyses and turning its results into a dashboard, and then build on from there. Use the Shiny package for R and the Dash package for Python. There is plenty of documentation to help you out, including the book “Mastering Shiny” by Hadley Wickham, but unlike the basic data science books, I don’t necessarily recommend working all the way through them. Just get coding and use them to help you when you aren’t sure how to do something. Again, the learning community is your friend.</p><h4>FOURTH TREK: Packages, GitHub, Open-Source, Environments</h4><p>Now that your colleagues are swooning over your dashboards and envious of your automated scripts, you will need to start collaborating. At first, you will probably share your code with somebody to run on their computer through email or filesharing. Similarly, with each new analysis you start, you will likely copy your last analysis and start changing pieces here and there to morph it to the new data. This is how everybody starts, but it quickly gets messy. Plus, you would like a better way to keep track of changes to the code and to let other people edit it jointly. To handle all of this, you will want to turn your code into a package, which you host on GitHub. Then, everybody has access to the code and you can even make it open source, allowing you to collaborate with the world.</p><p>The best resources for learning how to do this are “R Packages” by Hadley Wickham and the official Python Packaging documentation (<a href="https://packaging.python.org/overview/">https://packaging.python.org/overview/</a>). GitHub’s guides are also great resources for learning how to use their platform (<a href="https://guides.github.com/">https://guides.github.com/</a>).</p><p>The first time you build an app for your team, managing local environments will cause you a lot of frustration. By this, I mean that everybody’s computers will have different files installed and nuances within their operating systems that force code running in their “environment” to behave differently from yours. It’s a very messy thing to understand, and heavy into computer science instead of basic data science. I avoided learning about environment management as long as I could, but once I did, it made my life so much easier. Whether proactively or by necessity, you will need to learn this yourself. I never found a great resource for learning about this, so I made one <a href="https://towardsdatascience.com/data-science-environments-adfeb5dadd7a">here</a>, that I recommend you read.</p><h3>SECOND DESTINATION</h3><p>You’ve now taken your data analysis skills to the next level. You can contribute to open-source code, and you now have the skills necessary to troubleshoot your colleagues’ problems. You can lead a team of effective data analysts. With all this power, you are looking for ways to really drive business value, so the c-suite can’t ignore your work any longer.</p><h4>FIFTH TREK: Advanced Stats and Machine Learning</h4><p>If you want to really start driving value for your company, you need to move past simple linear regression and calculating averages. You need to start digging into advanced statistics and (buzz-word-alert!) Machine Learning. This trek is one of the steeper ones. It’s possible to blindly try open-source machine learning models, but that’s a little bit like playing with fire. You should really understand what you are doing, or else the computer will try to subvert your motives into something maniacal. I’m not saying you have to understand all of the math going into each model, but you should get comfortable with what the math is trying to accomplish. You also want to start gleaning bigger inferences from your data, recognizing patterns that you missed with the untrained eye. You should learn even more of the nuances of statistics to make sure you are coming to conclusions responsibly. This truly is the section about great power requiring great responsibility. Learn these tools well, and you can do good.</p><p>The best Machine Learning resource out there is the Machine Learning course on Coursera, taught by Stanford professor and Machine Learning celebrity Andrew Ng. You can find the homework assignments in Python and R instead of Octave (the programming language he uses in his course) hosted on github. Another fantastic course to follow this one up is the MIT Intro To Deep Learning (6.S191) class. It’s an MIT course made publicly available each year after it concludes. This course uses Python and a package called TensorFlow. (Note, Deep Learning is a type of Machine Learning, which is a type of Artificial Intelligence. What you say is partially a matter of who you want to impress.)</p><p>A great upper-level statistics course on Coursera is “Statistical Inference” (uses R) from Johns Hopkins or “Inferential Statistical Analysis with Python” from Michigan.</p><h4>SIXTH TREK: Cloud Computing, Data Pipelines</h4><p>At some point, locally hosting all your processes no longer makes sense. This could be due to the amount of computing power needed, the need to aggregate data from lots of sources into one location, or the need for a continuously running application and not a one-time analysis. When this is the case, you will turn to cloud computing, which means you must find a way to get the data into that cloud as well. At this point, you are likely transitioning from data analyst/scientist to data engineer. There is a lot to this, and most of it is cloud-hosting-provider specific. To avoid this route, you could use something like RStudio Cloud, which will do all of the messy stuff for you. Otherwise, you will need to brush up on a lot of computer science concepts, like partitioning, replication, and networking.</p><p>For a deeper cloud services introduction, I wrote <a href="https://towardsdatascience.com/data-science-in-the-cloud-bcdee3c519e7">this article</a>. Some other helpful resources are the Google Cloud Labs (or similar material for Amazon, Microsoft, etc.) and the book “Designing Data Intensive Applications” by Martin Kleppmann.</p><p>For anybody looking to utilize the processing power of the cloud, but not looking to actually host an application, you should definitely check out Google Colab Notebooks. These enable you to run Jupyter notebooks on the cloud instead of on your own computer without a fancy set up. It’s ideal for sharing code without having to deal with local environment issues as well.</p><h3>THIRD DESTINATION</h3><p>You hit the mecca of data science. Some titles you could apply for are Production Data Scientist or Machine Learning Engineer. You now have the skillset needed to work for Big Tech, but you have the subject matter expertise in your industry that sets you apart from standard data scientists, which makes your talents quite attractive. Use this to clearly bring value to your company so you can be appreciated for what you are worth.</p><h3>THE GREAT BEYOND</h3><p>There are an infinite number of paths you could look to take next. You could deep dive into neural networks and open-source AI libraries to bring the world of Artificial Intelligence to your industry. Or you could muster into front-end coding, learning javascript, HTML, and CSS, to take the web apps you’ve started building to the next level. Or you could master data infographics and design, to better communicate the results of your analyses. Or you could do a million other things. Since you’ve already learned how to do data science in the cloud, the sky is no longer your limit.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=46d131675602" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/data-science-curriculum-for-professionals-46d131675602">Data Science Curriculum for Professionals</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[Data Science Environments]]></title>
            <link>https://medium.com/data-science/data-science-environments-adfeb5dadd7a?source=rss-a3dbf11e33b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/adfeb5dadd7a</guid>
            <category><![CDATA[dev-environment]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[programming]]></category>
            <dc:creator><![CDATA[Brock Taute]]></dc:creator>
            <pubDate>Thu, 04 Mar 2021 16:56:54 GMT</pubDate>
            <atom:updated>2021-03-04T16:56:54.120Z</atom:updated>
            <content:encoded><![CDATA[<h4>The Dark Secrets Behind Your Programming Problems</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Uup77gcrQ_O9GqZHzTwv_g.jpeg" /><figcaption>Photo By Author</figcaption></figure><p>When learning data science, environment management consistently presents itself as a thorn in my side. Whether it’s getting code that previously ran to work again, trying to share an application I built with the rest of my team, or wondering why none of my command prompts work anymore, I have only learned about programming management whilst cursing under my breath. To save some late nights and headaches, here is a breakdown of what a program environment is and how data scientists can make them work for them instead of against them.</p><h3><strong>Definition</strong></h3><p>A program’s environment is the collection of software and hardware in which the program runs. A sentence like that can be a little daunting, but the concept is quite simple. If you tried running a computationally intensive video game on an old computer, the hardware of the computer likely won’t be able to handle the video game. It might be very slow to run or even crash every time you try to play the game. The video game was designed for a program environment with more sophisticated hardware. Alternatively, any Python or R programmer knows you must install a package before you can load it. When you install the package, you add it to the Python / R interpreter’s software environment, so that it can load the code when you want to use it. Issues with a software environment are far more common than hardware issues for a data scientist.</p><blockquote>A program’s software environment is just a collection of files that the program can “see.”</blockquote><p>A program’s software environment is just a collection of files that the program can “see.” When you install a package, you are downloading the files from a public location, and you are saving these files in a location on your computer where your Python / R code knows to look. When certain code has a “dependency”, it means it needs you to load the depended upon code from these package files into the environment so it can be utilized.</p><h3><strong>Common Issues And Their Solutions</strong></h3><p>One of the most frustrating examples of a software environment is the PATH variable. If you want to run Python from the command line, the version of Python that you wish to run needs to be specified in the PATH variable of your operating system. When you add Python to your PATH variable, you are simply telling your computer where the python interpreter executable file is located. If you haven’t added this location to the PATH variable, then your computer won’t find the python interpreter when you tell it to run. This results in a “‘python’ is not recognized as an internal or external command” error. Alternatively, if you have multiple python interpreters on your PATH variable (like Python 3.8 and Python 3.9), then it will pick a specific version every single time (based on a set of rules that depend on your operating system), and it may not be the version you were expecting.</p><p>The second most frustrating issue with data science program management gets back into package dependencies. When you share your code with somebody else, they likely have different packages installed into their environment than the packages installed in your own environment. This can be a problem if your code depends on a specific package that they don’t have. A solution to this can be to distribute your code with a “package manager” (like CRAN, PIP, or Conda) which will make sure somebody has the exact packages they need in their environment to run your code when they download your package.</p><p>To take this problem a step further, what happens if you have an old data analysis which needed one version of a package and another analysis that uses a newer version of that package. To keep a data analysis reproducible, you need to know the code you run will do the same thing every time you run it. As packages continually get developed, they sometimes change behavior, which could cause you to get unexpected results when running an old data analysis with the latest version of a package it uses.</p><p>To get around this problem, you can use an “environment manager”, something that saves different programming environments with different packages installed in each. You could then specify which environment is the correct one to run your data analysis in. One of the most popular package/environment managers is Conda (maintained by the company Anaconda). Until they came along, environment management for data science with Python was rather frustrating.</p><h4><strong>What Is The Secret To The Environment Manager’s Magic?</strong></h4><p>To clarify again, a programming environment is just a collection of the files that a program has access to. If you need an environment that has version 1 of a package installed and another environment with version 2, then the environment manager needs to make sure both versions of the package are installed somewhere on your computer, and then it will only let the correct version of the package be visible to code running in each environment. When your code tells its environment to load in a package, the files that get imported will be the ones corresponding to the version of the package visible to that specific environment. Each environment should have exactly one version of that package visible to it.</p><h3><strong>Virtual Machines</strong></h3><p>Environment managers are critical to the concept of virtual machines. A virtual machine (VM) can be thought of as a computer inside of your computer (Inception style). As with everything mentioned here, a virtual machine is simply a method of file management. The VM is a program that isolates itself from all the other files on the computer; it may even run a different operating system. (For example, a MacOS computer might have a virtual machine running a Windows operating system.)</p><p>Virtual machines are very effective when you want to recreate a programming environment on another computer, because you don’t need to know anything about that computer’s current dependencies. You can set up a virtual machine that has exactly the files visible to it that you have on your own computer’s virtual machine. For this reason, data science heavily utilizes virtual machines; they ensure reproducibility of results. Cloud-based applications are another common example of VMs. The developer counts on the fact that their VM will be isolated from any other code living on the server hosting their application.</p><p>To specify how the virtual machine’s environment should be configured, you can use a configuration file (a .yml file when using Conda) that specifies all the packages to be installed in the VM when it is being set up. It is now common practice when you share a data analysis that you share the “config” file that sets up the environment to run the code in along with the code itself.</p><h3><strong>Containers / Docker</strong></h3><p>When deploying production applications to the cloud, there can be a lot of time spent creating environment configurations and then setting them up on a variety of server computers. To simplify this, containers were born. The company that created containers, Docker, is still the most popular option for deploying containers today, so you will often here the terms Docker and container used interchangeably (kind of like Kleenex and tissue).</p><p>Containers are a lot like virtual machines, but they go one less layer deep. Every VM has its own operating system and works like a truly isolated computer. Containers are isolated from everything but the operating system, allowing them to be more “lightweight” (smaller in size because there is less code in each container compared to a VM). Containers can also be coordinated by one program running on top of the operating system (the Docker Engine), which allows developers to build an app in very discrete chunks that get coordinated together instead of one large app that must handle lots of different tasks. It’s like when each of the Power Rangers’ Dinozords sync up into one Megazord, the ultimate fighting machine. Docker’s website has a lot of great material to further outline the distinction and benefits of containers.</p><h3><strong>So what does this mean for you?</strong></h3><p>To put all of this information to use as a data scientist, you should:</p><p>1. Clean up your PATH variable. Google how to do that. Be careful with what you delete from it, though. It <em>will</em> come back to haunt you.</p><p>2. Fully utilize an environment manager like Anaconda. You and your team should all be using an identical environment when collaborating. Have a standard config file that you all share.</p><p>3. Turn your code into packages with dependencies. Even if you share these on Github and don’t submit these to a package manager, it will make life infinitely easier when starting a new analysis or sharing code to do so via packages. Even dashboards can be turned into packages.</p><p>4. If you run your code in the cloud, appreciate the good work that VMs (and maybe even containers) are doing for you.</p><h3>Conclusion</h3><p>Understanding data science environments forces data analysts to get out of their comfort zones and deeper into software engineering principles than many wish to venture. However, it’s a necessary evil to confront, as doing so will greatly improve your ability to share your code and save years of your life spent debugging. Fortunately, the concepts are actually quite familiar for data scientists; it’s all just file management.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=adfeb5dadd7a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/data-science-environments-adfeb5dadd7a">Data Science Environments</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[Data Science in the Cloud]]></title>
            <link>https://medium.com/data-science/data-science-in-the-cloud-bcdee3c519e7?source=rss-a3dbf11e33b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/bcdee3c519e7</guid>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Brock Taute]]></dc:creator>
            <pubDate>Thu, 04 Mar 2021 16:07:38 GMT</pubDate>
            <atom:updated>2021-03-04T16:07:38.719Z</atom:updated>
            <content:encoded><![CDATA[<h4>An Introduction To Cloud Services For Data Scientists</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*9YB19MjuTjk2aZNSXaI1bA.jpeg" /><figcaption>Image By Author</figcaption></figure><h3><strong>What is the cloud?</strong></h3><p>The cloud sounds like a magical place, where data lives entangled in the fabric of reality. It’s beautiful branding because the reality is a lot less exciting. Most people have heard of Data Centers, the warehouses filled with computers (fancily called servers) that big tech companies use. What many miss, is that the cloud and data centers are one in the same. When you save your photos to the cloud, you are sending them to a data center to be stored on one of the servers there. When you want to look at your photo, your phone sends a request to the data center to get that image sent back to it. Similarly, if you want to calculate the fastest route home from work, you send the request to do this calculation from your phone to a data center. The data center has all the map data stored and a lot more processing power than your phone, so it can quickly perform this calculation and send the results back to your phone. This is why your maps applications can’t calculate new routes when you lose cell signal.</p><p>Long story short, the cloud is a collection of computers that can store data and perform powerful calculations. This should cause data scientists to perk up their ears.</p><h3><strong>Why use the cloud?</strong></h3><p>There are several reasons the cloud is appealing to data scientists.</p><p><em>Compute Power:</em> When you are training deep neural networks, you need a lot of processing power so that your models can run in a reasonable time. This can easily overpower your local computer, but a data center filled with powerful GPUs (graphical processing units) optimized for these types of calculations might make quick work of this.</p><p><em>Centralized Location for Storing Data:</em> One of the major challenges of a data scientist is the aggregation of the data to use in the analysis. If you use the cloud to store all your data, this problem is greatly simplified. Any computer can access any data anywhere. This is especially impactful when you are gathering data from many data sources (*ahem* Internet of Things). Using architectures such as Data Lakes or Data Warehouses allows clever data scientists to pull seemingly unrelated business data into their analyses as well.</p><p><em>Big Data:</em> We live in the age of Big Data. Data is the new bacon, as they say. To store all of this, you need a lot of hardware. If you want backups, you need twice that hardware. It may not be an option to download all this data onto your local computer to run a calculation. Working in the cloud avoids this.</p><p><em>IT Support / DevOps / Server Management:</em> If you solve some of the above problems with local servers, your data team will need IT support to manage these servers. Getting in the weeds of networking issues might be outside of the scope of your data team’s expertise. Cloud providers often have an option to take care of the nitty gritty work for you.</p><p><em>Easily Shareable Results and Applications:</em> Storing analyses in the cloud can make it easy for somebody to contribute or reproduce the results, as they will always be working in the same environment. You can also publish the results as a dashboard or webpage, making it easy for business leaders to access or share with third parties. You can also deploy apps that will run continuously which is far easier than deploying applications for your teammates to run on their own local computers and offers the ability to run calculations continuously.</p><h3><strong>How can I use the cloud?</strong></h3><p>There are several ways for a data team to take advantage of the cloud, ranging from simplest to most complex.</p><p><em>Google Colab</em>: Cloud hosted notebooks, such as Google Colab, allow a data team to easily collaborate on an analysis together and take advantage of the computing capabilities that a cloud provider can offer.</p><p><em>Cloud Hosting Data Science Services</em>: Several open-source data science companies (such as RStudio) make their money by offering services to help data teams host their work on the cloud. Using this method offers all the benefits of a cloud hosting provider, but the data team can focus on their analyses and not on the messy details of server management.</p><p><em>Deploy An Application to a Cloud Provider</em>: You can always use the hosting services of AWS, GCP, Microsoft Azure, or another company to deploy your own application. This will require “DevOps” work by somebody, but most of these providers have helpful resources and support that can get a data team up to speed.</p><h3><strong>What does this mean for me?</strong></h3><p>If you find yourself complaining about the time it takes your computer to complete an analysis or you would like a better way to collaborate on notebooks and share results, then moving your workflow from your laptop to the cloud is worth investigating. Building a dashboard and deploying it to RStudio Cloud, running a Google Colab notebook, or building an App from scratch hosted on AWS can really transform your data experience. Plus, if you ever want your product deployed at a large scale, you will need to familiarize yourself with cloud services, so you may want to start testing the waters now.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=bcdee3c519e7" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/data-science-in-the-cloud-bcdee3c519e7">Data Science in the Cloud</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[Should An Engineer Learn R or Python?]]></title>
            <link>https://medium.com/data-science/should-an-engineer-learn-r-or-python-c91b36215a91?source=rss-a3dbf11e33b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/c91b36215a91</guid>
            <category><![CDATA[r]]></category>
            <category><![CDATA[engineering]]></category>
            <category><![CDATA[programming-languages]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[python]]></category>
            <dc:creator><![CDATA[Brock Taute]]></dc:creator>
            <pubDate>Thu, 18 Feb 2021 21:12:09 GMT</pubDate>
            <atom:updated>2021-02-19T13:39:43.260Z</atom:updated>
            <content:encoded><![CDATA[<h4>An Honest And Actionable Review</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*VpGpRVHB9QxP29R-F-BOWA.png" /><figcaption>Image by author</figcaption></figure><p>The hardest part of learning data science is deciding which language you wish to learn first. Too often, professionals looking to expand their data analysis toolbox are so paralyzed by this decision that they never make any progress. This is a tragedy that I wish to prevent. By the end of this article, you will know the best choice for you.</p><p>It’s important to your health that you know off the bat that there is no wrong answer. Both languages are Turing complete (which means they are both capable of solving any computational problem), both are widely used, and both are simple to learn. In fact, there is a good chance you end up using both languages at some point along your data science journey (I do), and there has been a lot of great work done to make it so you can use both languages within one analysis. (The Reticulate package for R can run Python code inside of R code and will even convert the results from one data type to another!)</p><p>Still, if you are going to start learning, you need to pick one to get going. So, let’s get down to it.</p><h4><strong>Background</strong></h4><p>R was built specifically to do data science, and the community around it embraces this fact whole-heartedly. The community is comprised of educators that find immense pleasure from teaching people how to code. The leader of this community is RStudio, whose collection of “tidyverse” packages are remarkably powerful and intuitive and come with outstanding documentation. One of the celebrities of the #rstats community is Hadley Wickham (from RStudio), who has several books that walk you all the way from zero experience to truly advanced programmer. He also has a critical paper “Tidy Data” which should be required reading for any data scientist, regardless of the software you use.</p><p>Python is a language by software engineers for software engineers. Data scientists infiltrated the language by building a series of packages (pandas, numpy, etc.) that enable Python to compete with R for the reputation of a data science language. Due to this nature, the Python community is a bit colder and more elitist. Python coders tend to view themselves more on the side of Software Engineer than Statistician, and they may look down upon R users not using a “real” programming language. The community isn’t as welcoming to budding data scientists learning to code for the first time, but once you know how to code in Python, you tend to have an easier time getting jobs at companies that deploy “production code” (code that gets used in live applications, like self-driving cars or recommendation services.)</p><h4><strong>Easy Decision Makers</strong></h4><p>First and foremost, you should consider any potential collaborators and try to adopt the same language they use. Life will be easier if your teammates all write in the same language. “Teammates” doesn’t just have to be colleagues at work; it might also be open-source packages you’d like to contribute to or utilize in your own code.</p><p>If you still have flexibility after considering collaboration, you should think about where you want to end up. If your goal is to get a job for a software company that incorporates “big data” into its product, you will probably need to learn Python. If, instead of writing code to deploy in applications, you want to write code to complete analyses and draw statistical inferences, then you may end up working with a team that uses R.</p><h4>Important Factors</h4><p>If your goal is to bring a new set of tools to the work that you currently do, hoping to convince the rest of your team to follow your lead, then you get the luxury of choosing the path that the rest of your team will follow. In this case, there are several points to consider:</p><p><em>Learning Curve</em></p><p>While both languages are relatively easy to pick up, there are several factors that make learning R more enjoyable. As mentioned previously, the design of the language itself, the community, and the resources are all highly tailored to programming beginners. However, somebody that has a more traditional programming background will be more comfortable using Python. Assuming you and your team have no programming experience, R wins here.</p><p><em>Integrated Development Environment (IDE)</em></p><p>An IDE is where you will be doing all your coding. For a data scientist, this is very important as a good IDE will allow you to explore your data effectively. To date, R has dominated this department with RStudio. Conveniently, RStudio has expanded to work as an IDE for Python as well. Although I wouldn’t recommend it as your main Python editor, it’s fantastic for combining the two languages into one analysis. While still not as nice as RStudio, the new Python IDE JupyterLab has finally given Python data scientists an IDE of value. Jupyter notebooks can be written in R as well, though. So, I would give R the win in this category.</p><p><em>Package Management (Nitty Gritty Computer Stuff)</em></p><p>When you are first learning, installing all the files on your computer necessary for your analysis to run correctly can prove a massive pain, especially for Windows users. RStudio does a great job of alleviating this pain by taking care of the nitty gritty stuff for you. Using python on Windows can cause you to waste entire evenings troubleshooting issues not at all related to the data analysis you are trying to run. However, another new addition to this conversation, the Anaconda package distribution software, has made this considerably less miserable. If you use Anaconda, this section is a draw. Otherwise, I would say R/RStudio users will have a better experience than Python coders.</p><p><em>Visualization</em></p><p>Both languages have outstanding visualization packages, although the <em>ggplot2</em> package for R tends to be considered the best option. Beyond single visualizations, the ability to build dashboards is another desirable aspect of these languages. Here, R once again has an upper hand with the <em>shiny</em> package. However, <em>dash</em> by plotly has risen as a great option for Python users, and since it is built with React, it is a bit easier to work into a front-end software engineer’s code base than shiny is. If you are trying to build a production application, using the React framework, then <em>dash</em> / Python is clearly your best option. However, for most users, R / <em>shiny</em> / <em>ggplot2</em> would be the preferred choice.</p><p><em>Speed, Language Capabilities, Package Ecosystem</em></p><p>The effectiveness of the Python coding language has been its main selling point to date, claiming it could run considerably faster than R. It also has a wider group of developers making packages for it, and is a more general-purpose coding language, allowing you to easily automate computer tasks. These claims are no longer as extreme as they once were. R developers have closed the gap on all these issues. However, pure software engineers would never choose R over Python due to its somewhat odd conventions (the same conventions that make it slightly nicer for pure data analysts). This section is basically a draw, but Python should be considered the winner.</p><p><em>Industry Usage</em></p><p>Python tends to be more commonly used in “production environments” where the code is being written as part of a running application. Meanwhile, R dominates the academic space, being used more for analyses and visualizations. It’s common for large tech companies to have teams that use both languages; R for the analysis itself and Python for implementing production models. However, in my experience, it is easier to get a job with Python as your language of choice. Unless you are in academia, Python would win here.</p><h4><strong>Takeaways</strong></h4><p>If you want the easiest way to swim out of drowning in spreadsheets, you should learn R. If you want to build machine learning models that get deployed in self-driving cars, you should learn Python. Regardless of how you start, you will easily be able to pick up the other and may soon find yourself (much as I do) writing in both languages within the same data analysis. In the end, collaboration is the most important factor, and you will need to be able to work effectively with whatever language your collaborators use (even spreadsheets). Thankfully, there has been a lot of work done to make this collaboration as seamless as possible (even with spreadsheets).</p><h4><strong>Final Word</strong></h4><p>If you are still undecided, then here is my final recommendation. Download RStudio and work through the “R for Data Science” book and read the “Tidy Data” paper by Hadley Wickham. This is the easiest path to doing awesome stuff. Solve your own problems using what you learned. Then, work through “Python for Data Analysis”, using RStudio or JupyterLab as your IDE, and re-solve the same problems that you did in R. You will now have formed a language preference (but be literate in both languages) and be a rather skilled data analyst. The route forward from this point will be clear by the opportunities in which you want to grow.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c91b36215a91" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/should-an-engineer-learn-r-or-python-c91b36215a91">Should An Engineer Learn R or Python?</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[Bringing Data Science To Energy]]></title>
            <link>https://medium.com/data-science/bringing-data-science-to-energy-cbebfc704c57?source=rss-a3dbf11e33b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/cbebfc704c57</guid>
            <category><![CDATA[learning-to-code]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[renewable-energy]]></category>
            <category><![CDATA[engineering]]></category>
            <dc:creator><![CDATA[Brock Taute]]></dc:creator>
            <pubDate>Tue, 16 Feb 2021 02:12:25 GMT</pubDate>
            <atom:updated>2021-02-16T14:38:53.815Z</atom:updated>
            <content:encoded><![CDATA[<h4>Why Renewable Energy Project Engineers Should Study Data Science</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DpI39WVBtWh4QNjiYeDdlg.jpeg" /><figcaption>Photo by the author</figcaption></figure><p>Renewable Energy Project Engineers have a lot of responsibility. They have to accurately predict the weather over the next 30+ years, design a power plant to minimize both construction and operation costs, and manage studies covering air space 500’ above ground to soil characteristics 30’ below it. With this diversity in workload comes a pressure for accuracy; small mistakes with these studies can be very costly. A 1% error in energy prediction for a 100MW facility can cost over $2 million in lifetime revenue.</p><p>Due to the range of tasks required, the ideal engineer must be well-rounded, with a strong engineering background. Typically, they have a degree in mechanical, civil, or environmental engineering. While perfect for building the skills needed to manage a project’s engineering studies, these curriculums don’t typically teach proficient data science skills, such as how to program, advanced statistics, and machine learning. The result is a workforce of renewable energy engineers processing massive amounts of data without the proper training (or time) to do so effectively. This poses a problem for the clean energy revolution.</p><p><em>But is this really a problem? Energy assessment software exists, and Excel templates can be used to tailor their outputs. Machine learning sounds unnecessarily complicated, just a buzz word that will require us to hire software engineers to slow down project development with no added value. Somebody shouldn’t need a computer science degree for an engineering job.</em></p><p>Sure, software does exist, Excel templates do work, and project engineers don’t need to be software engineers, but the software that exists bites, Excel templates bite worse, and the skill level required to write machine learning code is marginally more than what’s required to make a pun with the word byte. The cost of upskilling a project engineer’s data analysis skills is nothing (free open-source tools, free training material, little time required to learn), and it results in significant profit for the development firm overall (less mistakes, improved productivity, and better project insights). Here’s an example.</p><p>A very common task for a project engineer is estimating the energy that will be produced by a project over the course of its lifetime given different layout constraints. This analysis is vital to the economics of a project and thus highly scrutinized, but a project can expect to run a hundred different assessments by the time it completes development. These assessments are often rushed and performed in batches, where ten iterations are run at a time, with months between each batch. Here is the traditional process:</p><p>1. Onsite weather data must be compiled, cleaned, and analyzed.</p><p>2. Satellite weather datasets must be compiled and analyzed.</p><p>3. Models must be drawn across the onsite data and the satellite data, with a new weather dataset predicted as a result.</p><p>4. This weather data must be fed into an energy assessment software with specific inputs set to represent a single iteration of the project layout.</p><p>5. The output of the energy assessment software must be fed into an Excel template, which further processes the results.</p><p>6. A report is created to summarize the results of the Excel model.</p><p>7. Steps 4–6 must be repeated for each layout iteration of the project.</p><p>Typically, Steps 1–3 of this process involve downloading CSVs from a variety of web sites and plugging them all into a series of Excel templates, copying and pasting the data from one template to the next. Sometimes application-specific software is used in addition to Excel. The “cleaning” process happens by manually combing through thousands of data points to remove the ones you don’t like (or doing nothing at all because you don’t have the time) and the results of the analysis are highly subjective. If you had two engineers repeat this process (or the same engineer try to do the process twice), you will get two different answers. The model used to forecast weather data is often very rudimentary, but that’s not all bad because there is way too much uncertainty with this process to warrant anything more complex. All told, this process can take a day to complete and will require detailed review by another engineer.</p><p>Steps 4–7, if set up well, are very monotonous and don’t require any critical thinking. They are the equivalent of asking somebody to click the same spots on a screen repeatedly without slipping up once. Manual mistakes can and often do happen, especially when this is done under a time crunch (which is every time).</p><p>Again, to be clear, this process works. Good engineers are diligent enough to catch the big mistakes and can write off all the small ones to uncertainty. Yes, the time sink is hefty, but the engineers are just expected to stay in the office late to get it done. Most importantly, anybody can be trained to do this.</p><p>Meanwhile, the margin on renewable energy projects continues to slim. The market is getting more and more competitive, and uncertainty in energy prediction must necessarily tighten if a project wants to stand a chance. On top of that, workload for engineers is growing exponentially, and any time they spend furiously clicking on a screen could better be spent, well, engineering.</p><p>Fortunately, the entire process outlined above could be completed in the time it takes an engineer to get a cup of coffee. They would simply need to specify the layout scenarios they want to run and hit play. When they get back, they can put their caffeinated energy to use critically analyzing the results, something they couldn’t afford to do before. They can trust that the analysis has no manual errors, less uncertainty, and is completely reproducible by anybody on the team.</p><p><em>What is this black-magic button?</em> It is something that can be built with no formal training and at no expense. Any engineer could write a simple program to automate this entire process, from grabbing the data, to analyzing it with advanced statistical models, then creating interactive visuals and attractive reports. That engineer can even tailor the program perfectly to match their company’s workflow, something 3rd party software could never do. I know because I’ve done this myself.</p><p>The benefits to building engineers’ data science skills go much further than this example. Fully automated, reproducible workflows save countless hours and mistakes, and sophisticated models (like machine learning) can unlock business insights with data that is currently underutilized. There are better ways for renewable energy project engineers to analyze their data, and better ways for development firms to use their engineers’ time.</p><p>These skills are remarkably easy to learn, and any project engineer could pick them up without needing a computer science degree. Putting an emphasis on this training will pay dividends to any engineering team. Knowing this, a harder question to answer is “why should engineers NOT study data science?”</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cbebfc704c57" width="1" height="1" alt=""><hr><p><a href="https://medium.com/data-science/bringing-data-science-to-energy-cbebfc704c57">Bringing Data Science To Energy</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[My 2020 Book Review]]></title>
            <link>https://tautebro12.medium.com/my-2020-book-review-731fc03e5804?source=rss-a3dbf11e33b8------2</link>
            <guid isPermaLink="false">https://medium.com/p/731fc03e5804</guid>
            <category><![CDATA[2020]]></category>
            <category><![CDATA[current-events]]></category>
            <category><![CDATA[book-review]]></category>
            <category><![CDATA[books]]></category>
            <dc:creator><![CDATA[Brock Taute]]></dc:creator>
            <pubDate>Tue, 26 Jan 2021 04:20:04 GMT</pubDate>
            <atom:updated>2021-01-26T04:34:10.455Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zpeYX3qNmU1PkOvH2sZoBw.jpeg" /></figure><h3>Winter: Starting The Year With High Ambitions</h3><p>Shivering as I make my way through the breathtaking skyline of downtown Chicago, I started my year investigating the origins of the universe. I listened to “pop science” audiobooks like <em>A Brief History of Time</em> and <em>Until the End of Time</em> while commuting to and from work. At home, on planes, and in hotels, I made my way through the occasional mathematical formula with books like <em>The New Quantum Universe</em> and <em>Quantum Mechanics and Experience</em>. If the place where Quantum Physics meets General Relativity is the “Physics of God”, I wanted to be able to talk to God directly. Hawking does a tremendous job of tying together the whole picture of the universe in a way that truly anybody can comprehend; while Greene wrote the book I always dreamed of compiling, offering a scientific explanation for where life came from and what the future will inevitably hold. <em>The New Quantum Universe</em> offers a fantastic summary of the discoveries behind quantum mechanics, and <em>Quantum Mechanics and Experience</em>, while not for the faint of heart, offers a fully accessible guide into the mathematics and theories behind the most mysterious aspect of quantum mechanics: the measurement problem, where one particle occupying multiple places in space at once collapses into one specific location upon measurement.</p><p>Along with answering the big questions of life, the universe, and everything, another quest of mine in 2020 was to run my first marathon. And so, I found myself every morning running endlessly in place on a treadmill, staring out at the dark streets of Chicago, watching the city wake up. Malcolm Gladwell, one of my all-time favorite authors, released a new type of audiobook, more like a podcast than something read drearily by a voice actor, that kept my interest during these long hamster-wheel sessions. <em>Talking To Strangers</em> should be required material for all humans to read before interacting with the rest of society, and its subject matter forces Americans to address issues we’re all to comfortable being silent about, a silence that 2020 would not tolerate.</p><h3>Spring: The Tipping Point</h3><blockquote>That’s when I learned that it’s easier to sneak into the United States than it is to buy toilet paper.</blockquote><p>Early in 2020, I continued my lifestyle of weekly work travels. On one notable trip, I read the book <em>Nudge </em>while visiting Washington D.C. The book presents a Nobel-prize winning economic theory that is brilliantly simple: most humans will take whichever option is easiest to take. While this concept seems obvious to most people, it is surprising how little its implications are incorporated into designs, particularly the work coming out of the city in which I found myself. “Libertarian paternalism”, where all options are available to a user, but the default options are those which best serve society, could find its way into more federal programs.</p><p>A far more notable trip, however, took me to Uganda where I was teaching a seminar with Engineers Without Borders. I spent my nights there reading a textbook on <em>Convex Optimization</em>, which was not the interesting part. Far more note-worthy, it was on that trip when COVID-19 finally crossed the line for Americans; it infected our beloved Tom Hanks and Rita Wilson. Obviously, this triggered the closing of American borders and me getting stuck with thousands of people, shoulder-to-shoulder, for a 7 hour wait while O’Hare did its best to personally give each of us the virus while re-entering the country. My wait would have been longer, but about halfway through the line, I effectively ducked a couple ropes and found myself on the other side of security. That’s when I learned that it’s easier to sneak into the United States than it is to buy toilet paper.</p><p>It wasn’t far into the “new normal” of working from home that my department was shut down. Conveniently, I was reading the Stanford d.school book <em>Designing Your Work Life</em> at the time, which motivated me to use the change as an opportunity to pivot my career. <em>Man’s Search For Meaning</em> and <em>Authentic Happiness</em> helped me to define a potential “calling” instead of a new career, and books like <em>The Pragmatic Programmer</em> and <em>Clean Code</em> served as my alternative to another master’s program. Finishing off several years of learning data science on the side, I was excited to tackle three new books that truly rounded out my curriculum. <em>The Model Thinker</em> opened me to the concept of multi-model thinking, and formally introduced me to the art of applying models creatively.<em> The Art Of Statistics </em>brilliantly laid out the application of statistics in the real-world, and <em>The Signal And The Noise </em>expanded upon this real-world concept by handling the many ways in which these applications can fail. Armed with this new knowledge, I took a new job in Colorado, moving just in time for the ski season. However, before I found myself trekking through mountains, I spent a summer walking over broken glass and past tanks.</p><h3>Summer: A Nation Divided</h3><p>The Black Lives Matter protests in the city of Chicago took place outside my window, altering the landscape of the neighborhood even further, from abandoned shops to boarded shops and from streets blocked off with outdoor seating to streets blocked off by fully automatic rifles. At one point, I went for a run along a trail which the city had closed off due to the pandemic. It was flooded by a recent downpour, and I found myself at the turnaround point staring at a park sitting in several feet of water, with fence posts littered around me and armed personnel walking across the street. Combined with the high humidity and scorching temperature, it felt quite like my time spent in Colombia.</p><p>On these runs, I listened to <em>Becoming</em> and <em>The Audacity of Hope</em>, by Michelle and Barack Obama. I felt that both stories offered powerful insights into worlds far from my own. Michelle guided me from a childhood in the parts of Chicago I actively avoid to the life of a mother with the Nation’s eyes upon her. Meanwhile, Barack helped me understand why the political landscape takes good intentions and turns them into mud.</p><p>Two other summer reads also played intriguingly with perspective. <em>The Coddling of the American Mind</em> and <em>White Fragility</em> each used the word “fragile” in starkly contrasting ways. While both books advocate against fragility, a casual read would make it sound like the authors were at odds. The nature of current America to politicize every topic of debate would lead you to think that somebody against cancel culture must therefore support institutional racism. Although, the truth of the matter is that both books advocate an open mind when heading into discussions, especially when the topics evoke passion.</p><h3>Fall: Searching For Solutions</h3><p>To better understand the path that got America, and humanity as a whole, into its current state, I read several books which unlocked new perspectives to the past. <em>The People’s History of the United States</em> interpreted the events of our country’s past in a way that brings more color to the white-washed version offered in the history books I used in school. <em>Sapiens </em>provoked me to question most assumptions I held about civilization in the same way that learning the origin of hotdogs forces you to question your choices every 4th of July. <em>Why Nation’s Fail</em> outlined the recipe necessary for a country to undergo economic and political success and underscored the importance of the issues currently facing America.</p><p>In search of solutions, books like <em>The Tipping Point</em> and <em>How Design Makes The World</em> offer me hope that small but impactful changes can manifest into a cultural epidemic that takes civilization to its next rung along the cultural evolution ladder. This optimism is not without warrant. Amid the darkness of 2020, there were shining moments that demonstrated the desire for unity among humanity. As every apartment flashed their lights in unison each night to celebrate the nation’s front-line workers and every family teared up to Some Good News each week, America momentarily Stood Together, Divided. Steven Pinker’s <em>Enlightenment Now</em> highlights how much progress humanity has made, despite the setbacks that unfortunately get all the attention. For something to be “news”, it must be uncommon, which means the depressing stream of information we get every day proves that most of the events taking place around us are positive.</p><blockquote>As every apartment flashed their lights in unison each night to celebrate the nation’s front-line workers and every family teared up to Some Good News each week, America momentarily Stood Together, Divided.</blockquote><h3>Winter II: A New Hope</h3><p>Now that 2021 is underway, I hope to build off the lessons I learned in 2020. The foundation to this success I believe comes from the last two books I read last year. Thanks to the results of the studies outlined in <em>Why We Sleep</em>, I now embrace the superpowers that a consistent 8 hours of sleep can give me. Superpowers which can be put to best use by following the example of Barry Allen in <em>The Flash: Gorilla Warfare</em>, where villains and heroes alike put their differences aside to unite in a battle against the greater evil. Maybe if all Americans could agree upon a common enemy, we would be willing to look past our differences again. (We have plenty to choose from: Cornavirus, racism, global warming, the DMV.) Then we could all go back to questions that matter, like why we’re here, where our universe is heading, and why anybody would choose to spend a winter in Chicago.</p><h3>My Reading List Of 2020:</h3><p>Title, Author(s), Rating</p><p>1. Brief History of Time, Stephen Hawking, 5</p><p>2. Cult of the Dead Cow: How the Original Hacking Supergroup Might Just Save the World, Joseph Menn, 4</p><p>3. Doing What Matters: How to Get Results That Make a Difference — The Revolutionary Old-School Approach, James M. Kilts, John Manfredi, and Robert Lorber, 3</p><p>4. All the Money in the World: How the Forbes 400 Make — and Spend — Their Fortunes, Peter W. Bernstein and Annalyn Swan, 2</p><p>5. Super Crunchers: Why Thinking-By-Numbers is the New Way To Be Smart, Ian Ayres, 3</p><p>6. Talking to Strangers, Malcolm Gladwell, 5</p><p>7. Nudge: Improving Decisions about Health, Wealth, and Happiness, Cass Sunstein and Richard Thaler, 5</p><p>8. Dataclysm, Christian Rudder, 4</p><p>9. Basic Economics, Clarence B. Carson, 2</p><p>10. The Happiness Curve, Thaler and Sunstein, 3</p><p>11. Caffeine, Michael Pollan, 3</p><p>12. The Tipping Point (abridged), Malcolm Gladwell, 5</p><p>13. The New Quantum Universe, Tony Hey, 4</p><p>14. The Maker Movement Manifesto, Mark Hatch, 3</p><p>15. The People’s History of the United States, Howard Zinn, 4</p><p>16. The Google Story, David A. Vise, 4</p><p>17. Rediscover the Saints, Matthew Kelly, 3</p><p>18. What the Dog Saw, Malcolm Gladwell, 4</p><p>19. Convex Optimization, Stephen Boyd, 3</p><p>20. Quantum Mechanics and Experience, David Z. Albert, 4</p><p>21. Until the End of Time, Brian Greene, 5</p><p>22. Outliers, Malcolm Gladwell, 4</p><p>23. Ender’s Game, Orson Scott Card, 3</p><p>24. Clean Code, Robert Martin, 4</p><p>25. Enlightenment Now, Steven Pinker, 5</p><p>26. Man’s Search For Meaning, Viktor Frankl, 4</p><p>27. The Pragmatic Programmer, Andy Hunt and Dave Thomas, 3</p><p>28. Designing Your Work Life: How to Thrive and Change and Find Happiness at Work, Bill Burnett and Dave Evans, 4</p><p>29. Becoming, Michelle Obama, 3</p><p>30. The Audacity of Hope, Barack Obama, 4</p><p>31. The Coddling of the American Mind, Greg Lukianoff and Jonathan Haidt, 4</p><p>32. I am America and you can to, Stephen Colbert, 1</p><p>33. The Alchemist, Paulo Coelho, 3</p><p>34. White Fragility, Robin DiAngelo, 3</p><p>35. University of Berkshire Hathaway: 30 Years of Lessons Learned from Warren Buffett &amp; Charlie Munger at the Annual Shareholders Meeting, Corey Wrenn and Daniel Pecaut, 4</p><p>36. Natural Born Heroes, Chris McDougall, 3</p><p>37. Getting to Yes, Roger Fisher and William Ury, 3</p><p>38. The Model Thinker, Page, 4</p><p>39. How Design Makes The World, Scott Berkun, 4</p><p>40. Brief Answers to the Big Questions, Hawking, 4</p><p>41. Liminal Thinking: Create the Change You Want by Changing the Way You Think, Dave Gray, 4</p><p>42. Doughnut Economics, Kate Raworth, 3</p><p>43. Rewiring America, Saul Griffith, 4</p><p>44. Rome Sweet Home, Scott and Kimberly Hahn, 3</p><p>45. The Art of Statistics: How to Learn from Data, David Spiegelhalter, 5</p><p>46. Sapiens: A Brief History of Humankind, Yuval Noah Harari, 4</p><p>47. Why Nations Fail, Daron Acemoglu and James A. Robinson, 3</p><p>48. The Signal and the Noise, Nate Silver, 4</p><p>49. Authentic Happiness, Martin Seligman, 3</p><p>50. The Tipping Point, Malcolm Gladwell, 5</p><p>51. Why We Sleep, Matthew Walker, 5</p><p>52. The Flash: Gorilla Warfare, Manapul and Buccellato, 5</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=731fc03e5804" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>