<?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 Elder Research, Inc. on Medium]]></title>
        <description><![CDATA[Stories by Elder Research, Inc. on Medium]]></description>
        <link>https://medium.com/@elderresearch?source=rss-d8ae90c0665a------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*wFH8S2tA0JymQC37IUZ7Mg.png</url>
            <title>Stories by Elder Research, Inc. on Medium</title>
            <link>https://medium.com/@elderresearch?source=rss-d8ae90c0665a------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 10:18:46 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@elderresearch/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[Data Strategist Corner: Leveraging AI to Solve the ESG Challenge]]></title>
            <link>https://elderresearch.medium.com/data-strategist-corner-leveraging-ai-to-solve-the-esg-challenge-ca0dc1fd7967?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ca0dc1fd7967</guid>
            <category><![CDATA[esg]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[data-strategy]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Tue, 20 Apr 2021 14:14:15 GMT</pubDate>
            <atom:updated>2021-04-20T14:14:15.688Z</atom:updated>
            <content:encoded><![CDATA[<h4>By Christina Ho and Trent Bradberry</h4><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*s4ZZ8oKW_HY1u7qunC5NQw.png" /></figure><p>Peter Drucker, who was recognized as the world’s greatest management consultant, famously said, “If you can’t measure it, you can’t improve it.” This quote is relevant for addressing the Environmental, Social, Corporate Governance (ESG) challenge.</p><h3>The History of ESG</h3><p>ESG are non-financial factors used to assess the sustainability and societal impact of an investment. It represents a fundamental shift from the 20th to the 21st century in how social responsibility is perceived to impact a company’s financial performance.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/156/1*-KEvGp4DgNgoW6QGblfcsA.jpeg" /></figure><h4>Historically and for most of the 20th century,</h4><p>the prevailing theory was that social responsibility negatively affects a company’s financial performance. An American economist Milton Friedman, a Nobel prize winner in 1976, was the leading voice on the shareholder or stockholder theory, noting that a company’s sole responsibility was to its shareholders.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/149/1*1u0e9DJvFpdNhN-OK8xJIw.jpeg" /></figure><h4>Toward the end of the 20th century,</h4><p>the notion of “triple bottom line”, coined by author and a serial entrepreneur John Elkington, began to emerge and gain momentum. Elkington identified this new framework whereby a company’s value is determined by social and environmental factors, in addition to the traditional financial factors.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/149/1*Wz2DyWDoRMjezNUjq9hf4A.jpeg" /></figure><h4>At the beginning of the millennium,</h4><p>in response to the growing ESG investment market, some institutions began to develop related products and services. Research was also being published to challenge the assumption that social responsibility was a cost that yielded no financial returns.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/149/1*uF9HtrX0bOnwk0PxsVL9Kw.jpeg" /></figure><h4>In 2006,</h4><p>the United Nations launched the Principles for Responsible Investing (PRI) which is dedicated to achieving a sustainable global financial system for long term value creation. Since then, the number of signatories has grown to 3000, representing over $100 trillion in assets under management.</p><h3>ESG Reckoning</h3><p>Unfortunately, such commitment has not resulted in substantive improvement in responsible investing. In a recent Harvard Business Review blog “<a href="https://hbr.org/2021/03/an-esg-reckoning-is-coming">An ESG Reckoning Is Coming</a>”, authors Michael O’Leary and Warren Valdmanis rendered the following critical assessment:</p><blockquote>According to research last year, investors who signed onto the United Nations principles did not improve the social and environmental performance of their investments. According to the researchers, signatories “use the PRI status to attract capital without making notable changes to ESG.” Similarly, signatories to the Business Roundtable statement have performed no better than other companies in protecting jobs and worker safety during the pandemic.</blockquote><p>The authors suggested that standardized and required public disclosures would lay the foundation for further accountability. Currently, the Securities and Exchange Commission (SEC) does not mandate ESG reporting for U.S. companies. As such, performance metrics are not standardized and comparable across companies. SEC has been under pressure from the investor community to require ESG disclosures.</p><p>On February 24, 2021, Acting SEC Chair Allison Herren Lee <a href="https://www.sec.gov/news/public-statement/lee-statement-review-climate-related-disclosure">announced</a> that the agency is taking action to update its 2010 guidelines on climate-related disclosures in public company filings. In subsequent weeks, the SEC also <a href="https://www.sec.gov/sec-response-climate-and-esg-risks-and-opportunities">announced</a> a series of other ESG-related priorities and changes. These steps are clear signals that changes are coming.</p><h3>Possible Solutions</h3><p>The ultimate challenge of ESG is summarized in Dr. Drucker’s quote at the beginning of this blog. Although there is already a significant amount of information (and data) provided by the companies, investors do not have the tools and ability to efficiently and effectively extract reliable and comparable insights to measure the performance of a company as it relates to ESG.</p><p>In the section below, we explore how natural language processing (NLP) can solve this daunting problem both from an investor and regulator perspective.</p><h4>Tackling the Lack of Transparency in ESG Reporting</h4><p>One way to promote accountability through greater transparency of a company’s ESG status is by revealing relevant insights through analytical methods aimed at processing descriptive, natural language from documents about a company. Over the past decade, NLP has made great strides within the domains of Artificial Intelligence and Machine Learning. In short, NLP uses computer algorithms to efficiently manipulate, summarize, classify, and extract information from text and speech. Applying NLP to text containing ESG information can offer descriptive insights for making informed decisions about a company’s sustainability, and it can do so at a faster rate than a human analyst.</p><p>In the domain of ESG, textual sources are available along a continuum of transparency. Three sources of ESG text ordered from least to most transparent are:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/914/1*eREQ-KuhJWOrTZ1MQkI8Eg.jpeg" /></figure><h3>Self-Reported Sustainability Assessments</h3><p>A company’s sustainability assessment is often published on its website. While the report can provide detailed ESG-related information, it can also be biased because it is voluntary and unregulated. Companies may avoid reporting negative information.</p><p>Nonetheless NLP can be used to automate tasks such as summarization, keyword extraction, topic modeling, document classification, or sentiment analysis. These types of techniques are especially useful when one has sustainability assessments from multiple companies and wants to process them together to reveal trends and outliers. For example, topic modeling could reveal that most companies report on topics related to COVID-19 and employee health, yet a few companies avoid reporting on this topic. Text summarization could then be applied to quickly assess these outliers’ overall messaging.</p><h3>SEC-Related Documents</h3><p>SEC-related documents, in theory, are more transparent and regulated. Required Form 10-Ks may contain ESG information that a company discloses to the SEC. A company’s annual meeting proxy statements, also required by the SEC, are also a good source of potential ESG disclosures. In addition, shareholder resolutions can be a valuable source of the types of ESG issues raised by shareholders.</p><p>As with self-reported sustainability assessments, NLP techniques such as topic modeling and text summarization can be used to extract insight from these documents. In fact, <a href="https://www.mdpi.com/2071-1050/12/11/4753/htm">recent NLP work on shareholder resolutions</a> has reported revealing topics related to emissions and energy, boards, regulations, politics, governance, product management, and accountability.</p><p>While these SEC-related text sources are typically more transparent and reliable than self-reported sustainability reports, there is increased scrutiny around them, leading the SEC to recently <a href="https://www.sec.gov/news/press-release/2021-42">announce</a> the formation of an ESG task force to consider a more well-defined regulatory framework.</p><h3>News Articles</h3><p>The most transparent text source is news articles. Not only is news more transparent, but the frequency at which timely information is provided allows NLP to be used to monitor ESG-related events as they are reported. In addition to applying NLP to news articles in the manner described in the previous two sections, two reported examples exist where state-of-the-art techniques for language understanding were applied to automatically classify news articles into at least 20 ESG-related categories such as physical impacts of climate change, employee diversity and inclusion, business ethics, etc. (<a href="https://towardsdatascience.com/nlp-meets-sustainable-investing-d0542b3c264b">Mukherjee, 2020</a>; <a href="https://arxiv.org/abs/2010.08319">Nugent et al., 2020</a>).</p><p>Elder Research has developed a proof-of-concept called the <strong><em>News Analyzer</em></strong> that scrapes news articles from the Internet and uses these NLP technologies to filter them by relevance and sentiment before displaying them to users. This technology could be extended into the ESG domain to offer clients informative monitoring of breaking ESG-related news about companies.</p><h4>ESG Regulation Development</h4><p>In addition to deriving insights about companies to monitor their ESG status, NLP could aid in the development of disclosure standards. These NLP techniques can reveal ways in which companies may evade disclosure of adverse behavior.</p><p>Consider a scenario where text classifiers are leveraged in a process to collect news articles about companies’ environmental violations. NLP can be used to compare these companies’ SEC-related documents and self-reported sustainability assessments against a group of non-offenders’ documents to reveal distinguishing characteristics that could inform new regulations to prevent future circumvention of the system.</p><h3>Conclusion</h3><p>The current lack of ESG standardization, comparability, and transparency makes it difficult for individual investors, portfolio managers, and government agencies to fully understand a company’s sustainability. However, NLP, a core competency of Elder Research, offers techniques for data-driven monitoring and regulation development that could dramatically change the present reality for the common good.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ca0dc1fd7967" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cross the Finish Line with Keras Sequential (Neural Network) Modeling]]></title>
            <link>https://elderresearch.medium.com/cross-the-finish-line-with-keras-sequential-neural-network-modeling-141223ed07d8?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/141223ed07d8</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[keras]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[neural-networks]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Fri, 02 Apr 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-04-20T14:26:52.769Z</atom:updated>
            <content:encoded><![CDATA[<h3>Cross the Finish Line with Keras Sequential (Neural Network)Modeling</h3><p>by Jordan Barr, Lead Data Scientist, Elder Research</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*huQL2eMXMf7iD8L68wZuLA.jpeg" /></figure><h3>Introduction</h3><p>Have you ever built a predictive model only to discover that your best result was not good enough to deploy? The threshold for “good” usually depends on the situation. It could mean, “Will we make a profit if we deploy this model?” or “Are we likely to enjoy a more favorable outcome by implementing this model?” You likely employed one or more of the most popular algorithms such as decision trees, logistic regression, or even random forests only to discover that none of them met your performance requirement when evaluated on unseen data. Now, you’re only 90% of the way there, after having invested considerable time.</p><p>If this describes your situation, then trying Keras sequential models could be your next best step, especially when combined with other best practices as I describe below. With Keras, you may quickly find that extra 10% performance without a huge investment of time and resources. One hopes that cutting your losses, taking no action, and maintaining status quo operations is not what is necessary. In my own experience it’s thankfully more often been that using Keras results in enough incremental model improvements to validate my business and analytic intuition and push my models across the finish line into deployment and profitability.</p><h3>Tips and Tricks</h3><p>Before jumping into Keras, make sure you are getting the most out of your current modeling framework. Implementing several solid tips and tricks may be sufficient to increase model performance on out of sample data. One trick to boost performance is to gather more and higher quality inputs through judicious feature engineering and refinement of available raw data. Feature engineering works best given expert knowledge of cause and effect relationships, but in the absence of such knowledge, you risk identifying false patterns through the “ <a href="https://www.elderresearch.com/resource/innovations/target-shuffling-process/">vast search effect</a>”. Regularization techniques such as ridge and lasso regression as implemented in</p><p><a href="https://glmnet.stanford.edu/">glmnet</a>, and variable selection and reduction techniques such as <a href="https://cran.r-project.org/web/packages/Boruta/Boruta.pdf">Boruta</a> can help to improve performance on unseen data by reducing the effective degrees of freedom in the model and thereby reducing the chance of overfit. This strengthens confidence that our model will perform as expected when deployed. If regularization and feature engineering are insufficient, you can try neural networks, which provide a rich set of potential nonlinear relationships. While neural networks are renowned for their potential for additional accuracy, they are notorious for being black boxes whose results cannot be interpreted.</p><p>But what does a client mean when they demand interpretability? A critic of black box models decries the lack of a functional or mechanistic connection between inputs and output. To them, interpretability means traversing the branches in a decision tree to read out a rule, or inspecting the sign and magnitude of regression coefficients to know the weight and direction of each factor. However, a pragmatic definition of the interpretability some are seeking means: Can I easily poke the model (i.e. change the inputs) and get the output response? If the answer is “yes”, then the user has the feeling of interpretability, and that may be all that matters!</p><h3>Keras for Neural Networks</h3><p>Keras sequential models may provide the 5% to 10% performance boost needed to deploy a model and achieve success. As a neural network, Keras sequential models take advantage of input interactions and non-linearities, but with the added benefits of an easy to implement and modifiable building block structure. As stated on their <a href="https://keras.io/about/">product website</a>, “Keras is a deep learning API written in Python, running on top of the machine learning platform TensorFlow. It was developed with a focus on enabling fast experimentation. Being able to go from idea to result as fast as possible is key to doing good research.” While Keras includes deep learning modules for image classification and natural language processing, the focus here is <a href="https://keras.io/guides/sequential_model/">sequential modeling</a> and serve the needs of both regression and classification problems. With Keras, the</p><p>user has great flexibility in regularizing the model to prevent overfit by controlling the training duration (via the number of epochs) and adjusting the <a href="https://en.wikipedia.org/wiki/Dilution_(neural_networks)">node dropout rate</a> ( <a href="https://towardsdatascience.com/machine-learning-part-20-dropout-keras-layers-explained-8c9f6dc4c9ab">image source</a>) within each hidden layer of the network. Note that dropout is short for randomly “dropping out”, or omitting, both hidden and visible nodes within a neural network during model training. In addition, the user can easily modify the structure by adding or subtracting layers and by specifying the number of nodes in each layer. With so many tunable features to choose from, don’t lose sight of the end goal: building a model that performs well on out of sample (unseen) data. Here are some practical guidelines that worked well in my tests.</p><ul><li>Choose a validation split fraction of 20% to 30% along with early stopping. By tracking model performance in real time, I could quickly learn how many epochs were needed to train the model without overfitting. When I did not have a good choice of model structure (number of layers and nodes per layer), I could fail early and move on.</li><li>Choose an initial model structure of moderate complexity (not too simple, not too complex). After reading the discussion <a href="https://stats.stackexchange.com/questions/181/how-to-choose-the-number-of-hidden-layers-and-nodes-in-a-feedforward-neural-netw">here</a>, I experimented with three hidden layers with each one having between 4 and 128 nodes each. The best starting point for number of nodes will depend on the number of inputs and number of cases in your data set.</li><li>Vary dropout rate while keeping structure constant. With the structure set (above), I tried varying the dropout rate within hidden layers between 20% and 80% and discovered that 40% to 50% generally worked best. A structure with more nodes per layer generally benefitted from a higher dropout rate. This result was not surprising; a more complex model with more free parameters requires more regularization via dropout to generalize well out of sample.</li><li>Final model build stage. Once I was happy with the structure of my Keras model and amount of training, I removed the validation split and trained on all available training data with the number of epochs determined from the tests above. Then, I validated my model using a final holdout set. In my application, the holdout set included only data collected after the most recent training data. This gave me the best chance of producing a model that will perform well on unseen data. For data where the time stamp is less important, exercise constraint in selecting a holdout dataset that you will only use for final (or near final) model validation purposes.</li></ul><h3>Other Considerations</h3><p>An added benefit of using Keras for classification is the confidence obtained from target label predictions. The output layer of a Keras sequential classification model is a <a href="https://en.wikipedia.org/wiki/Softmax_function">softmax function</a>. Probabilities across all possible class labels sum to one. In one application, I used Keras for binary classification and utilized the additional class probabilities to assign confidence to model predictions. For instance, class probabilities of {0.95,0.05} suggested more confidence in a 0 versus 1 outcome compared to probabilities of {0.55,0.45}. These probabilities can help guide model post-processing decision making. For instance, you might have the option to preferentially act on certain cases over others. In this scenario, prioritize cases having extreme class probabilities (nearly 100% 0 or 1 in binary classification).</p><p>Let’s say you followed the steps I advise above and have implemented Keras to solve your regression or classification problem. It performs better than your baseline models (decision trees, logistic regression, etc.), but you are still a few percentage points short of the finish line. Now what? First, consider your choice of a <a href="https://keras.io/api/losses/">loss function</a>. For binary classification, categorical cross entropy is a good choice while mean absolute error (MAE) is a good choice for</p><p>regression. In Keras, an optimizer must also be set, and <a href="https://keras.io/api/optimizers/adam/">Adam</a> (a stochastic gradient descent method that is based on adaptive estimation of first-order and second-order moments) has proven to be a good choice in my experiments with sequential modeling. Trying multiple loss functions and optimizers is a relatively straightforward process and should be attempted first. If these do not prove to be fruitful, ensembling is another good option. Multiple Keras models may be built by bagging and averaging the results. Some amount of individual model overfit is acceptable in ensembles since weak learners can combine to generalize well. Ensembling and its role within the Keras sequential modeling framework remains an area of active research. Learn more about the power and promise of model ensembles <a href="https://www.elderresearch.com/blog/improve-predictive-model-performance-with-ensembles/">here</a>.</p><p>Building a Keras model is not difficult, though ensuring it is high-performing can be daunting. The model building process requires domain expertise and some intuition regarding the interplay of multiple hyperparameters (number of layers and nodes, number of epochs, etc.). While I have set out some guidelines for tuning these hyperparameters, you may discover my suggested processes insufficient to meet your needs. If you still find yourself a bit short of the finish line, consider wrapping a global search around Keras hyperparameters. Dr. Elder’s Global Rd Optimization when Probes are Expensive (GROPE) algorithm is a great candidate for performing that search. Here, obtaining a single probe is “expensive” because it involves training and evaluating a Keras neural network.</p><h3>Closing Remarks</h3><p>I am not advocating Keras sequential modeling as the “go-to” method for all your analytical needs. More easily implemented algorithms such as regression, decision trees, and random forests should be tried first. However, if other modeling techniques leave you short of the finish line, consider Keras. The Keras neural network structure has the potential to extract complex input interactions and nonlinearities without anyone needing to hypothesize or understand the underlying mechanics. Keras may be the missing ingredient that propels your project across the deployment finish line.</p><p><em>Originally published at </em><a href="https://www.elderresearch.com/blog/cross-the-finish-line-with-keras-sequential-neural-network-modeling/"><em>https://www.elderresearch.com</em></a><em> on April 2, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=141223ed07d8" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Changing Role of Data Scientists]]></title>
            <link>https://elderresearch.medium.com/the-changing-role-of-data-scientists-ba60fe50d1f9?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/ba60fe50d1f9</guid>
            <category><![CDATA[data-scientist]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[hiring]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Thu, 18 Mar 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-03-25T14:43:21.907Z</atom:updated>
            <content:encoded><![CDATA[<p>by Gerhard Pilcher</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*TZO9M4g8pW2Vt3N-.jpg" /></figure><p>Data Scientist is an unusual term. If you “Google” the words, data means “facts and statistics gathered together for reference or analysis” and scientist means “a person who is studying or has expert knowledge of one or more of the natural or physical sciences.”</p><p>Dr. Michael Rappa, founder of the Institute of Advanced Analytics at NC State University, prefers the term Analytic Professional, which I think better captures the role of a person that experiments with the application of analytic algorithms on data to enhance the mission or business value of information.</p><p><a href="https://www.elderresearch.com/people/john-f-elder-iv-ph-d/">Dr. John Elder</a>, founder of the oldest <a href="https://www.elderresearch.com/solutions/services/analytics-delivery/data-science-and-ai-services/">data science consultancy</a>, says that the tension set up by the definition of data and scientist not fitting together “forces one to confront the new idea that data expertise is complex and valuable enough to be its own science.” So while we may disagree about the role title “data scientist”, we do agree that the application of scientific methods to the analysis of data is extremely valuable.</p><h3>The Origin of Data Scientists</h3><p>The term “data science” first appeared in Peter Naur’s book <em>Concise Survey of Computer Methods</em> (1974). According to the <em>Harvard Business Review1</em>, the term was re-coined in 2008 by D.J. Patil or Jeff Hammerbacher, then the respective leads of data and analytics efforts at LinkedIn and Facebook. That article defines data scientists as “a high-ranking professional with the training and curiosity to make discoveries in the world of big data.” That definition applies to a narrow set of people, but today the label can seem to encompass almost anyone who explores or analyzes data</p><h3>Adding Value</h3><p>Data Science only has value if the new information created by the process is used by a human being to enhance the probability of making a good decision. The prior statement covers a lot of ground.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*N8Q8fZmsurqjBbQ3PvnxlA.jpeg" /></figure><p>These steps require more than analytical skill. To bring a solution from idea to implementation usually requires a team with a shared goal, diverse skills and perspectives, and a healthy dose of curiosity. The sometimes-arduous process is not formulaic, but requires depth of insight, creativity, and flexibility.</p><p>The skill sets and experience required to perform each of the listed steps are quite varied. They include: business or mission problem solver and/or system engineer, data or software engineer, analytic professional, user experience designer, change management professional, or communications professional.</p><h3>Where are we headed?</h3><p>What may have started as a statistician solving analytic problems has become a much more important role that is at the intersection of business/mission, computer science, engineering, and statistics. It is rare indeed for a single person to command mastery of all of these disciplines to the degree required.</p><p>I think the business world is maturing in its understanding of the value of data science. Some are seeing beyond the technical hype and realizing that the analytic part of the process is often straightforward compared to the vital surrounding steps of defining the opportunity, collecting data, and successfully delivering the results to a decision maker or automated system.</p><h3>“…the analytic part of the process is often straightforward compared to the vital surrounding steps…”</h3><p><strong>Gerhard Pilcher | CEO | Elder Research</strong></p><h3>A Deeper Look</h3><p>While the world has begun to realize that a holistic approach requires a multidisciplinary team, it’s been slower to recognize the value of deep experience and advanced quantitative training/degrees in understanding the limitations and assumptions of complex mathematical techniques. This can lead to flawed application of the techniques and thus to misleading results. Some in the software industry have compounded this by promising to create “data scientists” in mere weeks. I liken this to creating “citizen heart surgeons” by using robotic surgery devices. I would rather have a true surgeon at the controls!</p><p>As is normal in a healthy growing field, data science is also getting more specialized. We now have experts in individual disciplines of neural networks, graph analysis, natural language processing, image processing, algorithmic compute efficiency, non-linear optimization, simulation, survival analysis, interpretable machine learning, etc. This luxury makes the generalists, who can figure out what specialists to call in for a specific problem, valuable gatekeepers, “triagers,” and interpreters.</p><h3>Reliability</h3><p>Data is at the heart of each new discovery in every field of science. Though scientists may be expert in their field they are rarely fluent in data analysis. So data scientists, who are such experts, are useful additions to every possible team. Being well-versed also in every known way that we humans can be led astray by data, data scientists can save many months of project pain and effort by “heading trouble off at the pass” and establishing research and project experimental protocols on a sound foundation from the beginning. They are the best antidote to the current “Crisis in Science” where most work — even published journal articles — cannot be replicated! In the working world, replication-quality work translates into models that reliably predict future events in the real world, and not just on paper in the lab.</p><p>Finally, using rational models on carefully curated data is a great way to build ethical models that support decisions free of bias for the betterment of society. In this way, the role of data scientists is steadily changing — to provide careful data curation and problem definition and critical validation of results — to ensure that the value of data continually increases.</p><p><em>Originally published at </em><a href="https://www.elderresearch.com/blog/the-changing-role-of-data-scientists/"><em>https://www.elderresearch.com</em></a><em> on March 18, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ba60fe50d1f9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Three P’s of Data Engineering]]></title>
            <link>https://elderresearch.medium.com/the-three-ps-of-data-engineering-f1d42e4efd24?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/f1d42e4efd24</guid>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[database]]></category>
            <category><![CDATA[data-pipeline]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Fri, 12 Mar 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-03-25T14:01:07.940Z</atom:updated>
            <content:encoded><![CDATA[<p>by Colin Thomas</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BebfaLfhuf_ydZRhvu6DsQ.jpeg" /></figure><p><a href="https://www.elderresearch.com/solutions/services/analytics-delivery/data-engineering/">Data Engineering</a> is the discipline of designing, building, and maintaining a robust infrastructure for collecting, transforming, storing, and serving data for use in machine learning, analytic reporting, and decision management.</p><p>Managing a successful data engineering project requires balancing three different aspects: pragmatism, principles, and practice:</p><ul><li>The pragmatic aspect considers the constraints of a project, such as budget, existing tools, and minimum viable solutions.</li><li>The principled aspect focuses on fully understanding the problem and developing robust solutions that follow best practices.</li><li>The practiced aspect draws on expertise derived from repeated application of a canonical set of techniques to enable efficient solution deployments.</li></ul><p>These three aspects drive related engineering archetypes, as shown in Figure 1:</p><ul><li>The Designer balances pragmatism and principles to prepare robust solutions that conform to the constraints of a project.</li><li>The Architect draws on principles and practice to develop solutions that follow general best practices and are likely to meet the needs of a project.</li><li>The Coder combines practice with pragmatism to formulate quick solutions that use existing technologies to provide instant value.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N92Zc8VYcsRLfL7xlC4YgQ.png" /><figcaption><em>Figure 1: Engineering Aspects and Archetypes</em></figcaption></figure><p>The Data Engineer balances all three aspects to <a href="https://www.elderresearch.com/blog/four-common-data-engineering-pitfalls-and-how-to-avoid-them/">avoid leading data engineering pitfalls</a>.</p><p>Data engineering projects often look alike in their structure, as shown in Figure 2: the client has source data that needs to be extracted, transformed, and loaded (ETL) into an analytic data store. This analytic data store is used to inform data models whose <a href="https://www.elderresearch.com/solutions/services/analytics-delivery/data-engineering/data-visualization/">results are then presented visually to users</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1022/1*sluXxR-Qm02qpuvPtaVWIg.jpeg" /><figcaption><em>Figure 2: Typical Data Engineering Pipeline</em></figcaption></figure><p>However, while the structure of data engineering projects rarely changes, the details often do. Client environments can range from entirely <a href="https://www.elderresearch.com/solutions/services/analytics-delivery/cloud-analytics/">cloud-based solutions</a> such as AWS or Azure to bespoke on-premises data centers — or some unique mix of these environments. Source data stores can include file storage systems with documents in dozens of formats, SQL databases from multiple vendors, and specialized NoSQL solutions. The client might have existing software licenses that they would like to use or existing models and ETL processes that must be integrated. The data engineer must be ready to handle any ecosystem of these components by being pragmatic, principled, and practiced:</p><ul><li>Clients often have problems that require quick solutions developed on a limited budget. The data engineer will need to work within the constraints of time, budget, and environment to pragmatically develop a solution that meets the client’s needs. Often, this requires combining existing tools and components while replicating solutions that have worked in similar situations.</li><li>Deployed analytic solutions tend to stick around longer than was originally envisioned. The data engineer must consider the entire client ecosystem to develop strong, maintainable solutions based on best principles. With proper planning the deployed solution will be easier to manage and adapt to changing needs.</li><li>In spite of the uniqueness of each client environment, data engineering projects share many similar components. Working on a variety of projects allows the data engineer to build a toolbox of practiced techniques, such as database query optimization or data cleaning. Gaining experience with projects using a particular ecosystem, such as AWS, familiarizes the data engineer with the tools available and potential pitfalls of that environment.</li></ul><p>Data that is not properly organized and processed leads to long delays and failed analytics projects. The successful data engineer learns to balance the strengths and weaknesses of pragmatism, principle, and practice across all phases of the data pipeline to deliver successful solutions that enable end users to make informed business decisions.</p><p><em>Originally published at </em><a href="https://www.elderresearch.com/blog/the-three-ps-of-data-engineering/"><em>https://www.elderresearch.com</em></a><em> on March 12, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f1d42e4efd24" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What Did COVID Do to All Our Models?]]></title>
            <link>https://elderresearch.medium.com/what-did-covid-do-to-all-our-models-24ad5bbcb01a?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/24ad5bbcb01a</guid>
            <category><![CDATA[covid19]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Wed, 24 Feb 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-03-25T13:54:48.710Z</atom:updated>
            <content:encoded><![CDATA[<p>By John F. Elder and Dean Abbott</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*19vNSX-5ypjOegay.jpg" /></figure><p><em>An interview with Dean Abbott and John Elder about change management, complexity, interpretability, and the risk of AI taking over humanity.</em></p><p>After the KNIME Fall Summit, the dinosaurs went back home… well, switched off their laptops. Dean Abbott and John Elder, longstanding data science experts, were invited to the Fall Summit by Michael Berthold to join him in a discussion of <a href="https://www.youtube.com/watch?v=V7QeNHxuxqY">The Future of Data Science: A Fireside Chat with Industry Dinosaurs</a>. The result was a sparkling conversation about data science challenges and new trends. Since switching off the studio lights, Rosaria Silipo has distilled and expanded some of the highlights about change management, complexity, interpretability, and more in the data science world. Let’s see where it brought us.</p><h3>What is your experience with change management in AI, when reality changes and models have to be updated? What did COVID do to all our models?</h3><p><strong>[Dean]</strong> Machine Learning (ML) algorithms assume consistency between past and future. When things change, the models fail. COVID has changed our habits, and therefore our data. Pre-COVID models struggle to deal with the new situation.</p><p><strong>[John]</strong> A simple example would be the Traffic layer on Google Maps. After lockdowns hit country after country in 2020, Google Maps traffic estimates were very inaccurate for a while. It had been built on fairly stable training data but now that system was thrown completely out of whack.</p><h3>How do you figure out when the world has changed and the models don’t work anymore?</h3><p><strong>[Dean]</strong> Here’s a little trick I use: I partition my data by time and label records as “before” and “after”. I then build a classification model to discriminate the “after” vs. the “before” from the same inputs the model uses. If the discrimination is possible, then the “after” is different from the “before”, the world has changed, the data has changed, and the models must be retrained.</p><h3>How complicated is it to retrain models in projects, especially after years of customization?</h3><p><strong>[John]</strong> Training models is usually the easiest step of all! The vast majority of otherwise successful projects <em>die</em> in the implementation phase. The greatest <em>time</em> is spent in the data cleansing and preparation phase. And the most <em>problems</em> are missed or made in the business understanding / project definition phase. So if you understand what the flaw is and can obtain new data and have the implementation framework in place, creating a new model is, by comparison, very straightforward.</p><h3>Based on your decades-long experience, how complex is it to put together a really functioning Data Science application?</h3><p><strong>[John]</strong> It can vary of course, by complexity. Most of our projects get functioning prototypes at least in a few months. But for all, I cannot stress enough the importance of feedback: You have to talk to people much more often than you want to. And listen! We learn new things about the business problem, the data, or constraints, each time. Not all us quantitative people are skilled at speaking with humans, so it often takes a team. But the whole team of stakeholders has to learn to speak the same language.</p><p><strong>[Dean]</strong> It is important to talk to our business counterpart. People fear change and don’t want to change the current status. One key problem really is psychological. The analysts are often seen as an annoyance. So, we have to build the trust between the business counterpart and the analytics geeks. The start of a project should always include the following step: Sync up domain experts / project managers, the analysts, and the IT and infrastructure (DevOps) team so everyone is clear on the objectives of the project and how it will be executed. Analysts are number 11 on the top 10 list of people they have to see every day! Let’s avoid embodying data scientist arrogance: “The business can’t understand us/our techniques, but we know what works best”. What we don’t understand, however, are the domains experts are actually experts in the domain we are working in! Translation of data science assumptions and approaches into language that is understood by the domain experts is key!</p><h3>The latest trend now is deep learning, apparently it can solve everything. I got a question from a student lately, asking “why do we need to learn other ML algorithms if deep learning is the state of the art to solve data science problems”?</h3><p><strong>[Dean]</strong> Deep learning sucked a lot of the oxygen out of the room. It feels so much like the early 1990s when neural networks ascended with similar optimism! Deep Learning is a set of powerful techniques for sure, but they are hard to implement and optimize. XGBoost, Ensembles of trees, are also powerful but currently more mainstream. The vast majority of problems we need to solve using advanced analytics really don’t require complex solutions, so start simple; deep learning is overkill in these situations. It is best to use the Occam’s razor principle: if two models perform the same, adopt the simplest.</p><h3>About complexity. The other trend, opposite to deep learning, is ML interpretability. Here, you greatly (excessively?) simplify the model in order to be able to explain it. Is interpretability that important?</h3><p><strong>[John]</strong> I often find myself fighting interpretability. It is nice, sure, but often comes at too high a cost of the most important model property: reliable accuracy. But many stakeholders believe interpretability is essential, so it becomes a barrier for acceptance. Thus, it is essential to discover what kind of interpretability is needed. Perhaps it is just knowing what the most important variables are? That’s doable with many nonlinear models. Maybe, as with explaining to credit applicants why they were turned down, one just needs to interpret outputs for one case at a time? We can build a linear approximation for a given point. Or, we can generate data from our black box model and build an “interpretable” model of any complexity to fit that data.</p><p>Lastly, research has shown that if users have the chance to play with a model — that is, to poke it with trial values of inputs and see its outputs, and perhaps visualize it — they get the same warm feelings of interpretability. Overall, trust — in the people and technology behind the model — is necessary for acceptance, and this is enhanced by regular communication and by including the eventual users of the model in the build phases and decisions of the modeling process.</p><p><strong>[Dean]</strong> By the way KNIME Analytics Platform has a great feature to quantify the importance of the input variables in a Random Forest! <a href="https://kni.me/n/2hhbyPN8yXaMD1YU">The Random Forest Learner</a> node outputs the statistics of candidate and splitting variables. Remember that, when you use the Random Forest Learner node.</p><h3>There is an increase in requests for explanations of what a model does. For example, for some security classes, the European Union is demanding verification that the model doesn’t do what it’s not supposed to do. If we have to explain it all, then maybe Machine Learning is not the way to go. No more Machine Learning?</h3><p><strong>[Dean]</strong> Maybe full explainability is too hard to obtain, but we can achieve progress by performing a grid search on model inputs to create something like a score card describing what the model does. This is something like regression testing in hardware and software QA. If a formal proof what models are doing is not possible, then let’s test and test and test! Input Shuffling and Target Shuffling can help to achieve a rough representation of the model behavior.</p><p><strong>[John]</strong> Talking about understanding what a model does, I would like to raise the problem of reproducibility in science. A huge proportion of journal articles in all fields — 65 to 90% — is believed to be unreplicable. This is a true crisis in science. Medical papers try to tell you how to reproduce their results. ML papers don’t yet seem to care about reproducibility. A recent study showed that only 15% of AI papers share their code.</p><h3>Let’s talk about Machine Learning Bias. Is it possible to build models that don’t discriminate?</h3><p><strong>[John]</strong> (To be a nerd for a second, that word is unfortunately overloaded. To “discriminate” in the ML world word is your very goal: to make a distinction between two classes.) But to your real question, it depends on the data (and on whether the analyst is clever enough to adjust for weaknesses in the data): The models will pull out of the data the information reflected therein. The computer knows nothing about the world except for what’s in the data in front of it. So the analyst has to curate the data — take responsibility for those cases reflecting reality. If certain types of people, for example, are under-represented then the model will pay less attention to them and won’t be as accurate on them going forward. I ask, “What did the data have to go through to get here?” (to get in this dataset) to think of how other cases might have dropped out along the way through the process (that is survivor bias). A skilled data scientist can look for such problems and think of ways to adjust/correct for them.</p><p><strong>[Dean]</strong> The bias is not in the algorithms. The bias is in the data. If the data is biased, we’re working with a biased view of the world. Math is just math, it is not biased.</p><h3>Will AI take over humanity?!</h3><p><strong>[John]</strong> I believe AI is just good engineering. Will AI exceed human intelligence? In my experience anyone under 40 believes yes, this is inevitable, and most over 40 (like me, obviously): no! AI models are fast, loyal, and obedient. Like a good German Shepherd dog, an AI model will go and get that ball, but it knows nothing about the world other than the data it has been shown. It has no common sense. It is a great assistant for specific tasks, but actually quite dimwitted.</p><p><strong>[Dean]</strong> On that note, I would like to report two quotes made by Marvin Minsky in 1961 and 1970, from the dawn of AI, that I think describe well the future of AI.</p><blockquote>“Within our lifetime some machines may surpass us in general intelligence” (1961)</blockquote><blockquote>“In three to eight years we’ll have a machine with the intelligence of a human being” (1970)</blockquote><p>These ideas have been around for a long time. Here is one reason why AI will not solve all the problems: We’re judging its behavior based on one number, one number only! (Model error.) For example, predictions of stock prices over the next five years, predicted by building models using root mean square error as the error metric, cannot possibly paint the full picture of what the data are actually doing and severely hampers the model and its ability to flexibly uncover the patterns. We all know that RMSE is too coarse of a measure. Deep Learning algorithms will continue to get better, but we also need to get better at judging how good a model really is. So, no! I do not think that AI will take over humanity.</p><p><em>Originally published at </em><a href="https://www.elderresearch.com/blog/what-did-covid-do-to-all-our-models/"><em>https://www.elderresearch.com</em></a><em> on February 24, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=24ad5bbcb01a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Elder Research’s R&D Drives Innovation and Expertise]]></title>
            <link>https://elderresearch.medium.com/elder-researchs-r-d-drives-innovation-and-expertise-75740c9f9b40?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/75740c9f9b40</guid>
            <category><![CDATA[innovation]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[research-and-development]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Fri, 05 Feb 2021 00:00:00 GMT</pubDate>
            <atom:updated>2021-03-25T13:49:44.840Z</atom:updated>
            <content:encoded><![CDATA[<p>by William Goodrum, Ph.D.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZJlOfiq5-3_QdIMG9iQxvw.jpeg" /></figure><h3>A 25-Year History of Innovation</h3><p>Data Science and Machine Learning have been top topics in recent years in popular media and the private and public sectors, which Elder Research, as a pioneer in these fields, has welcomed. In the early years, it was rare to encounter people who fully appreciated the power of the technology. By focusing on delivering high-quality services and top value to our clients, rather than the latest technology itself, we built our firm’s reputation, as well as that of DS/AI/ML. Those who are new to Data Science may run into the hype and overinflated results that can result when Data Science isn’t applied with proper rigor. However, organizations can unlock real and sustainable value by properly harnessing this powerful technology to analyze their data and solve tough, but well-defined problems.</p><h3>Innovation to Marketable Technology</h3><p>Our success has not been limited to consulting services; we have also won multiple Small Business Innovation Research and Technology Transfer (SBIR/STTR) awards from Federal government agencies. Available only to small businesses, the awards are highly competitive, with an overall win rate of around 15%. The SBIR and STTR programs team innovative small businesses with government stakeholders to tackle some of the most challenging Science and Technology (S&amp;T) and R&amp;D problems that impede mission success. SBIR/STTR is focused on producing marketable technology derived from the R&amp;D programs. Over the 40 years of the SBIR program, this has contributed to billions of dollars of economic output. Our SBIR R&amp;D successes have been driven primarily through the work of our award-winning and highly-skilled software engineering team.</p><h3>Why Elder Research Does R&amp;D</h3><p>R&amp;D is unusual for a consultancy like Elder Research since our primary mission is not to develop and sell products. Still, there are strategic and important reasons for our R&amp;D work:</p><ul><li><strong>Staff Development and Entrepreneurship:</strong> Consulting projects have immediate implementation timelines and focus on proven methods, while R&amp;D projects offer our staff the chance to work with more advanced techniques that are just coming out of academic environments. R&amp;D also allows our staff to develop and test ideas on problems that have market potential and address real needs. This continuous learning benefits all of our clients by enabling our teams to develop more advanced solutions with greater success rates and delivering increased value.</li><li><strong>Stay Current in a Rapidly Evolving Field:</strong> Here are the results from the 2016 KDnuggets survey of Analytics/Data Science tools in use by Data Scientists:</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/571/1*2Y72niEfpijlDrtAlXnDww.png" /></figure><p>And here is the equivalent top 10 list of Analytics, Data Science, and Machine Learning tools from 2019:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/596/1*nrKPeRREyY73rZhafE0dMA.jpeg" /></figure><p>When comparing the two surveys, one important takeaway is that although there has been stability in terms of some top-level tools (e.g., Python, Excel), in just three years, Deep Learning tools like Keras and Tensorflow entered the Top 10 most used tools for Data Scientists. That is remarkable growth and a paradigmatic shift for Data Scientists and their field.</p><p>R&amp;D provides our Data Scientists opportunities to work with cutting edge algorithms like Deep Learning; this enables our staff to develop the skills they need as individuals while also ensuring that our corporate service offerings are relevant and current. The Data Science horizon continues to change quickly, and the technology of tomorrow can very rapidly become the tool to solve the problem of today.</p><ul><li><strong>Cut Through the Hype:</strong> There are some promising recent advancements in AI/ML, but there is also widespread hype and problems with replication of results. A <a href="https://www.sciencemag.org/news/2020/05/eye-catching-advances-some-ai-fields-are-not-real">recent article in Science News</a> showed that claimed advancements in image recognition benchmarks were either overinflated or false. In aggregate, such bad work can undermine trust in applying AI/ML to solve business or mission problems. One of our corporate values is Integrity; we choose truth over expediency. In R&amp;D, this means that we rigorously test and validate our results to ensure that the outcomes we achieve are accurate and reproducible. It also requires that we test new approaches and algorithms arising from academia to identify those with the most promising value for our clients.</li><li><strong>Synergistic Benefits with Existing Clients:</strong> Pursuing R&amp;D through the SBIR and STTR programs allows us to tackle mission-critical problems for government and develop solutions that can be sold in the commercial market (a win-win for us and our customers). Demonstrating innovative work in SBIR/STTR and its relevance to the overall success of the mission reinforces our non-R&amp;D engagements at our partner agencies.</li></ul><h3>How Elder Research Does R&amp;D Better</h3><p>R&amp;D at Elder Research differs from that at a dedicated technology development firm or startup.</p><ol><li><strong>Agility + Experience:</strong> We are an established small business. Our business does not depend on developing or selling a specific technology. As a small business we are agile and innovative, but with the experience, history, and long view of an established firm providing successful Data Science solutions for decades.</li><li><strong>Network Connections:</strong> Our long history and reputation in the Data Science field means that we have a large network of partners in industry, academia, and at prime contractors. We have won these connections, collaborators, and champions by repeatedly implementing AI/ML technology into real workflows and delivering measurable value.</li><li><strong>Technical Depth:</strong> We have a deep and broad bench of technical talent spanning a wide array of disciplines. While we specialize specifically in AI/ML and Data Science, we apply an interdisciplinary approach to all of our projects. More than a dozen staff hold PhDs (and another two-score, Masters) in STEM disciplines. This in-house roster of diverse talent enables us to create lasting and impactful technology.</li></ol><h3>Our R&amp;D Focus Areas</h3><p>In our general consulting projects our AI/ML solutions span a vast array of problems and domains. In R&amp;D we focus on the following AI/ML technology areas:</p><ul><li><strong>Materials Engineering/Machine Reliability:</strong> Current adoption of AI/ML in Materials Science and Mechanical Engineering lags behind other fields for a variety of reasons. It is partly due to highly-developed and sophisticated techniques for solving problems related to predicting or forecasting machine and material failures. Such techniques are made possible by the proliferation of Internet-of-Things enabled monitoring and sensing devices. Our longstanding work in NASA STTR, in partnership with Southwest Research Institute, is the foundation for our success and leadership in this area.</li><li><strong>AI/ML Applications for Geospatial Analysis and Remote Sensing:</strong> The increasing availability of high-quality remote sensing data from satellite platforms, and decreasing costs of acquiring LIDAR data, has led to an explosion of available information about geophysical and atmospheric processes. Similarly, openly-available intelligence from overhead imaging has enabled the application of object detection and classification models to facilitate tasks in fields ranging from defense to humanitarian relief. Several of our promising R&amp;D projects demonstrate novel applications of Deep Learning architectures for using these data sources to improve our understanding of the world.</li><li><strong>Text Analytics and Natural Language Processing (NLP):</strong> Elder Research has been a leader in Text Mining and the extraction of valuable insights from unstructured information throughout our consulting history. Recent advancements in NLP make it possible to automate the processing and knowledge discovery from text data sources. We have demonstrated the value of applying Deep Learning to identify risk features in text to our clients, and through R&amp;D, we are testing the latest models from academia and accelerating the transition from the lab to practical use.</li><li><strong>Physics-Informed Machine Learning:</strong> Recent advancements in Deep Learning architectures combine the strengths of traditional physical models and nonparametric approaches. These new techniques meaningfully advance the understanding of physical processes such as turbulent fluid flow, the dynamics and control of autonomous vehicles, and numerical weather prediction. Our internal R&amp;D efforts are leading the way to transform these game-changing innovations to practical, real-world solutions.</li></ul><h3>Summary</h3><p>Our vision for Research &amp; Development at ERI is to discover, incubate, and accelerate innovative and validated research into viable technology to solve very challenging data problems and address real needs. We have had the honor to work on many hard and rewarding DS/AI/ML problems in during our more than 25-year history. These past experiences form the foundation of our future R&amp;D successes, which are the seeds of future value for our clients.</p><p><em>Originally published at </em><a href="https://www.elderresearch.com/blog/elder-researchs-rd-drives-innovation-and-expertise/"><em>https://www.elderresearch.com</em></a><em> on February 5, 2021.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=75740c9f9b40" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Do You Measure Success?]]></title>
            <link>https://elderresearch.medium.com/how-do-you-measure-success-e65e0d58a992?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/e65e0d58a992</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[success]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Fri, 04 Dec 2020 00:00:00 GMT</pubDate>
            <atom:updated>2021-03-24T17:53:41.436Z</atom:updated>
            <content:encoded><![CDATA[<p>by John F. Elder</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*g2cLZ9m3Z_iPjxJs.jpg" /></figure><p><em>Editor’s Note: John Elder has occasionally joked that the risk of pulling in a PhD to help with a problem is it will inspire them to work on one even more interesting. Today, he became that person. He was originally asked to help with a simple question on a Request For Information (RFI) about defining metrics of success for a project. Our colleague requesting aid originally thought the request was a bit general, as in “how would we develop metrics for a new problem?”. By the time they realized the RFI’s goal was very specific (e.g., “maximize the count and ratio of correctly-labelled documents per hour”) it was too late, Dr. Elder had magnified “How do you measure success?” into the One Question that Rules them All. Enjoy.</em></p><p>The biggest risk in buying data science work is not technical; it’s social. Most projects work in the lab just fine but aren’t implemented. So, if you want to succeed, hire a consultant (hint: Elder Research) that has a proven track record of getting their work installed and running. Obviously, they’ll possess the needed technical skills, but they’ll also have learned how to earn the trust and cooperation of their clients so that the scary chasm of change — from doing business the old way to the new analytic way — is successfully hurdled, and the huge ROI from data science is achieved.</p><h3>Standing Offer</h3><p>In our 25 years, Elder Research has seen this happen so often that we make a standing offer to prospective clients: We’ll work on your project for free. Just implement the solution and give us 20% of any increase in its revenue. Your only cost is a fairly modest amount of time to cooperate to explain the challenge — its goals, constraints, data, etc.</p><p>Sadly, most client’s contracting structures make this essentially impossible to execute. But they are impressed by the confidence exemplified by our offer. What they don’t realize is how great a bet it would be for both of us! 95% of our projects work, and the return is often orders of magnitude over the cost. But since our prospective clients don’t anticipate the gains as being as inevitable as we do, they sometimes fail to greenlight a great project. If the no-risk shared-profit contracting option were possible it would allow each party to act (wager) comfortably within our different risk perceptions, and both parties would come out far ahead the vast majority of the time.</p><h3>Real-World Problem</h3><p>Assuming we’re working together let’s get back to measuring performance. First question: What’s the problem? (Sometimes, the best thing to focus on is not the most obvious.) Being a good consultant means learning how to listen. Where is the pain? What are the knobs (possible controls), the limits, the main and secondary goals? What are the essentials and the like-to-haves? What relevant historical data can be found? There, embedded like fossils of ancient struggles, are waiting details of actions that worked and didn’t, of useful relationships and startling surprises — which, when revealed and harnessed, will lead to new efficiencies and profitability!</p><h3>Embedded Technical Problem</h3><p>While mostly listening, we also share ideas that have worked from our storehouse of experience in order to focus the conversation to define a technical problem that can be solved which is as close as possible to the real-world problem. Its solution has three key characteristics:</p><ol><li>Criteria of merit to score the quality of a solution</li><li>Data Science / Machine Learning stage to gain information from historical data</li><li>Optimization to confirm out-of-sample performance</li></ol><p>The <em>criteria of merit</em> is how we score success during optimization. While it is tempting to use the usual statistical metrics that are built into every tool — like least squared error (or R²) for estimation, area under the curve (AUC) for recommendation, or percent correct for classification — I (and others) have shown how they are all sub-optimal for those standard problems, and even more so for problems similar to real-world challenges! When possible, it’s best to use a metric that is custom-built to the client’s particular problem. But, once you’re off the path of the standard metrics, you need to employ custom optimization methods, which highlight that third key area. The team needs ways to be able to optimize any define-able metric within a bounded space in reasonable time. (Optimization was my PhD dissertation topic, so I have a favorite approach there, and my algorithm, GROPE, is still a world champion in terms of fewest probes, for low-dimensional (&lt; 20 or so) real-valued problems. But a toolbox of optimization methods is needed to cover a wide variety of problem types.)</p><h3>Learning with Data Science</h3><p>Our core expertise is in Data Science, and that technology has the great ability to extract knowledge from historical data and provide something of an “oracle” for the future. Its main danger stems from its strength, over-applied: it can be pushed too hard and “over-fit” or “over-search” (two different issues) and identify patterns in the data that are really spurious correlations. This is sometimes memorably called “torturing the data until it confesses”. Such patterns appear in training but almost certainly won’t also be in new “out of sample” data — the only place where it actually matters if they exist. Elder Research is expert in the modern resampling methods necessary to establish the right level of complexity and depth of search to use during the data science modeling stage to avoid over-fit and over-search. We have even invented and teach cutting-edge methods, such as Target Shuffling (TS) and Deep TS, that protect models from going too far. We are widely engaged for our model validation and verification skills and advice. When a model is properly tuned, so its out-of-sample performance is well-calibrated, then it can be used with great confidence, and its ROI will be solid.</p><h3>Implement and Monitor</h3><p>Lastly, the model must be implemented and monitored. Implementation is a complex stage (likened to swapping out a motorcycle’s engine while riding it), but worth the trouble, as the ROI does not happen otherwise and is hard to beat anywhere else. In our experience, most data science models are very robust and last for years. Still, they depend on the stability of the system upon which they were trained. A big change (9/11 terrorist attacks, the internet, new tax laws, major new competition) will likely jolt the underlying system enough to force retraining. So, regularly monitor model performance to be sure that it’s behaving well. The good news is that updating a model with new data is much less work than building it the first time around, so maintenance can be very affordable.</p><p>Bottom line? Success depends on using a good model live. The hardest part is using it, so make sure your culture is ready to make decisions in a new way. The second hardest part is building a model that works out-of-sample. So work with, or become, experts in model validation. The third most important part is defining your problem well. Get those pieces in place and success — at scale — is a great wager.</p><p><em>Originally published at </em><a href="https://www.elderresearch.com/blog/how-do-you-measure-success/"><em>https://www.elderresearch.com</em></a><em> on December 4, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e65e0d58a992" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Model Validation and Reproducibility of Results | Elder Research]]></title>
            <link>https://elderresearch.medium.com/model-validation-and-reproducibility-of-results-elder-research-cf877e835058?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf877e835058</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[validation]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Fri, 04 Dec 2020 00:00:00 GMT</pubDate>
            <atom:updated>2021-03-24T17:46:49.494Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*N_XwumyPmVpop2FL10Q1xQ.png" /></figure><p>Arguably the most vital modeling phase is validation; the model has to work on new, never-before-seen data or it is worthless. The problem is much greater than most researchers are aware. Most experiments — indeed, most published scientific papers based on inducing results from data — are believed to be irreproducible; that is, they can’t be verified (get similar results) when independently repeated by a different team following the same procedures. (See, for instance, the landmark paper by JPA Ioannidis (2005) “ <a href="https://journals.plos.org/plosmedicine/article?id=10.1371/journal.pmed.0020124">Why Most Published Research Findings are False</a>”, PLoS Med 2(8): e124.) In fact, in 1995 Science magazine picked as one of its “breakthroughs of the year”, a study which revealed that only 36/100 major psychology papers could be reproduced when diligent researchers, in cooperation with the original authors, ran the experiment a second time (Science 28 Aug 2015, “ <a href="https://science.sciencemag.org/content/349/6251/aac4716">Estimating the reproducibility of psychological science</a> “, Vol. 349, Issue 6251). If refereed articles in the most prestigious scientific journals have such a bad accuracy rate, how much worse is it for models created with even less formal and competitive validation and verification procedures?</p><p>Elder Research is a world leader in <a href="https://www.elderresearch.com/solutions/services/analytics-delivery/data-science-and-ai-services/">model validation</a>. We go beyond just following best practices in model validation (such as <a href="https://www.elderresearch.com/blog/nested-cross-validation-when-cross-validation-isnt-enough/">cross-validation</a> and bootstrapping) as our deep experience has led us to actually invent techniques essential to cutting-edge best practices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/397/1*Hdx9cUlBfZoa6TdmOBXrrg.jpeg" /></figure><p>Good models have many enemies. There are many that ways inducing knowledge from sample data can go wrong, as summarized by my popular “ <a href="https://www.elderresearch.com/resource/ebooks/top-10-data-science-mistakes-ebook/">Top Ten Data Mining Mistakes</a>” (Chapter 20 in his <a href="https://www.elderresearch.com/resource/books/handbook-of-statistical-analysis-and-data-mining-applications/">book</a>). In fact, data science’s greatest strength — its ability to discover previously unknown relationships in data to predict or classify a target (output) variable — can also be its greatest weakness; when not constrained properly, a modeling routine can go wild and find spurious correlations in the data that hold for the training data it sees, but not for the out-of-sample (OOS) data it doesn’t see. That problem, of over-fit, is fairly well-known, but the related problem of over-search, is less widely understood. There, the final model may be simple, but because the modeling procedure considered so many combinations of factors — potentially billions of hypotheses — the chance of finding something by luck alone becomes much too large to ignore.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/373/1*hvAR2U2I24hS9BaA51Jq2g.png" /></figure><p>In 1995, I invented a technique to solve this problem — more precisely, to measure its influence so it could be controlled. <a href="https://www.elderresearch.com/resource/innovations/target-shuffling-process/">Target Shuffling</a> is a re-sampling method to calibrate the “interestingness measure” of a model (such as p-value or R 2) to a probability of its being “real” — that is, of holding up out of sample. This tool has enabled Elder Research to build reliable models in domains previously believed to be dominated by noise, and the Target Shuffling capability has been adopted by leading tool vendors, such as KNIME and CART, to add to their software as a stand-alone module.</p><p>Lastly, Elder Research and its subsidiary, <a href="http://statistics.com/">Statistics.com</a>, are world leaders in educating other researchers and practitioners in best practices, with an emphasis on model validation. We teach, from our vast field experience and our research work, how to see danger signs of model weakness at each stage of the CRISP-DM process, from data gathering, feature design, sampling, modeling, evaluation, and deployment. Our deployed success rate — where our models are used in the field, is over 90%. Anything short of 100% is not ideal, but there are many human factors affecting acceptance of a model, not just technical ones, that must be attended to. This rate is astonishingly high — by a factor of 3x to 5x — compared to our industry, and is due to our long experience and careful study of what all the factors need to be for implementation success.</p><p><em>Originally published at </em><a href="https://www.elderresearch.com/blog/model-validation-and-reproducibility-of-results/"><em>https://www.elderresearch.com</em></a><em> on December 4, 2020.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf877e835058" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AUC: A Fatally Flawed Model Metric]]></title>
            <link>https://elderresearch.medium.com/auc-a-fatally-flawed-model-metric-60e79329733e?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/60e79329733e</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-analysis]]></category>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[modeling]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Mon, 31 Aug 2020 14:50:53 GMT</pubDate>
            <atom:updated>2020-08-31T14:50:53.567Z</atom:updated>
            <content:encoded><![CDATA[<p>by John Elder, Ph.D., Founder &amp; Chairman, Elder Research</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*ux4OoMZkd-FyCfL1.jpg" /></figure><p>The blog <a href="https://www.statistics.com/recidivism-and-the-failure-of-auc/">Recidivism, and the Failure of AUC</a> published on Statistics.com showed how the use of “Area Under the Curve” (AUC) concealed bias against African-Americans defendants in a model predicting recidivism, that is, which defendants would re-offend. There, a model varied greatly in its performance characteristics depending on whether the defendant was white or black. Though both situations resulted in virtually identical AUC measures, they led to very different false alarm vs. false dismissal rates. So, AUC failed the analysts relying on it, as it quantified the wrong property of the models and thus missed their vital real-world implications.</p><p>In the Statistics.com blog AUC’s problem was explained as being akin to treating all errors alike. Actually, AUC’s fatal flaw is deeper than that, to the point that the metric should, in fact, never be used! Though it may be intuitively appealing AUC actually is mathematically <em>incoherent</em> in its error treatment, as shown by David Hand in a <a href="https://dl.acm.org/doi/10.1145/1557019.1557021">2009 KDD keynote talk</a>.</p><p>To understand the flaw of AUC and what should replace it we’ll go through the whole process in a brief example. First, note that the curve under which one calculates the area (e.g., ROC or “receiver operating characteristic” curve) illustrates the performance tradeoffs (e.g., sensitivity vs. specificity) of a single classification model as one varies its decision threshold. The threshold is the model output level at which a record is predicted to be a 0 or 1. Thus every different model threshold is a different point on the ROC curve, and the model at that point has its own confusion matrix (or contingency table) of results, summarizing predicted vs. actual 0s vs. 1s.</p><h3>ROC Curve and Lift Curve</h3><p>There are actually two kinds of curves analysts use to assess classifier performance and they seem different in their descriptions but are very similar in appearance and utility. The version mentioned in the Statistics.com blog is the ROC curve which is a plot of two <em>rates</em> — originally, true positive rate vs. false positive rate, but sometimes sensitivity vs. specificity, or recall vs. precision, etc. The second, which I use most often, is called a Lift Chart or more accurately but less artfully, a Cumulative Response Chart. It plots two <em>proportions</em>: The Y-axis is the proportion of result obtained (such as sales made or fraud found) and the X-axis is proportion of the population treated so far. Importantly, the data is first sorted by model score, so the highest-scoring (most interesting) record is leftmost on the X-axis (is 0) and the lowest (least interesting) record is rightmost on the X-axis (is 1).</p><p>Figure 1 is the Lift (Cumulative Response) chart for a model built to predict which home equity loans which will go bad (default). The data had been concentrated (winnowed of many fine loans) to bring the level of defaults up to 20% to make modeling easier for some methods which have a hard time with imbalances in class probabilities. The dark black line is the Lift curve depicting the performance of the model, the blue dashed line shows how the perfect model would perform, and the dotted black line is the expected performance of a random model, which should find 50% of the fraud, for example, after auditing a random 50% of the records. The model in Figure 1 is a classification model, trained on a binary target variable labeled either 0 (for a good loan) or 1 (for bad). “Regression” is in the title as the type of the model was ordinary linear regression.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/770/0*ekHpHYWyKoRv5t46.png" /><figcaption><em>Figure 1: Lift Chart of HMEQ (home equity loans) Model</em></figcaption></figure><p>As an aside, notice that for Lift charts the perfect model doesn’t go straight up; in Figure 1’s example, it takes at least 20% of the cases to get all the bad ones. Unlike the ROC chart, where the perfect model’s AUC can reach 1.0, a Lift chart’s AUC can never reach 1.0; in fact, the maximum possible AUC of a Lift chart will vary according to the problem. (This minor flaw of the AUC metric though is trivial compared to its fatal flaw.)</p><p>In Figure 1, the model performs perfectly at first, for high thresholds, and tracks the blue dashed line. But then, as it goes deeper in the list, past the top ~5% of records, it starts to make mistakes and falls off in performance. Still, it does much better than a random ordering of records (the dotted line), by any measure. One could see why AUC might appeal as a way to reduce this curve to a single number. But let’s be smarter than that.</p><p>Another different model would create a second solid line. If that line were completely below the existing black line we could confidently throw away the second model for being dominated by the first in every way. But what if it crossed over and was, say, lower earlier but higher in the middle region? We could compare area, yes, but for what reason? Since each point on the curve corresponds to a different error tradeoff, it actually matters more <em>where</em> a line dominates.</p><p><strong>Each Point on a Lift Curve corresponds to a Confusion Matrix</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/733/0*9Rv44YO1AFnZHinw.png" /><figcaption><em>Figure 2: Each point on a Classifier Performance curve corresponds to a Confusion Matrix</em></figcaption></figure><p>Figure 2 highlights a single point on the curve of Figure 1, 25% deep in the list sorted by the model. At that cutoff threshold[1], the classifier has found 260/396 or 66% of the “bads” (defaulters), which proportion is plotted on the Y-axis. Selecting randomly, we would have found only 25% of the “bads.” The model’s “Lift” at that point is thus 66%/25% = 2.64, so it is doing 2.64 times better than the random model. At a higher threshold where the model was still perfect, at X=5%, we can see its lift would be ~4.0. The lift ratio naturally diminishes from there to 1.0 at the end as we go deeper in the list and move up the curve.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/0*uQS5LhIBMfmo4e7V.png" /><figcaption><em>Figure 3: Two points (thresholds for the model) with their corresponding Confusion Matrices</em></figcaption></figure><p>Figure 3 compares two points on the chart (two thresholds for the model) and shows how different their two resulting confusion matrices (contingency charts) are. A model that “cherry picks” cases it calls bad — that is, uses a high threshold — will be a point on the curve near the lower left of the chart, so will be low in both true positive rate and false positive rate. It will have errors of high false dismissal but low false alarm. (In Figure 3, the model 10% deep in the list is right 3/4 of the time when predicting “bad” (150/(150+49)) but misses 5/8 of the bad cases (246/(246+150)).) It is best to choose a high threshold for your model if your problem is one where the cost of a false alarm is much higher than a false dismissal. An example would be an internet search where it’s very important for the top results to be “on topic” and it’s fine to fetch only a fraction of such results.</p><p>A low threshold for the decision boundary would place the model on the other end of the curve near the upper right corner, where its errors would reflect rates of low false dismissals but high false alarms. (In Figure 3, the model that calls most cases “bad” finds 7/8 of the bad cases (349/(349+47)) but is wrong 2/3 of the time when it calls one bad (743/(743+349)).) It is best to choose a low threshold for your model if your problem is one where a false alarm’s cost pales in comparison to that of a false dismissal, such as a warning system for an earthquake or tsunami. (As long as the false alarms are not so numerous as the system is completely ignored!)</p><p>A real problem will occupy a very narrow part of the ROC or Lift chart space, once it is even partially understood. For instance, in credit scoring, it takes the profit from 5–7 good customers to cover the losses a bank will incur from one defaulting customer. So, it is appropriate to tune a decision system, when predicting credit risk, to have a threshold in a range reflecting that tradeoff. The bank would be very unwise to use a criterion, like AUC, which instead combines information from all over the ROC curve — even parts where a defaulting customer is less important than a normal customer! — to make its decision.</p><p>In short, <em>AUC should never be used</em>. It is never the best criterion. It may be “correlated with goodness” in that it rewards good qualities of an ROC curve. But it is always better to examine the problem you are working on to understand its actual relative costs (false alarms vs. false dismissals) or benefits (true positives vs. true negatives) to tune a criterion that makes clear business sense. That will lead to a better solution that more directly meets your goal of minimizing costs or maximizing benefits.</p><h3>Gains Chart</h3><p>I recommend using a Gains chart, as depicted in Figure 4. There, the model of Figure 1 has been translated into the language of management ($) for the Y-axis. The output — sales or defaults caught — has been turned into dollars earned or recovered. Also, costs are depicted (the red line); with a fixed cost occurring immediately (setup cost) and a variable cost depending on how deep one goes into the list (“per record” cost). In this example (with high incremental costs), the optimal profit is obtained by investigating only the top 30% of cases as scored by the model.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/774/0*0GPFvnA68KSGMVh7.png" /><figcaption><em>Figure 4: Gains Chart: Positive (blue), Negative (red), Net Gain (orange) vs. depth of list</em></figcaption></figure><h3>Lastly, a Note about Constraints</h3><p>The discussion so far has assumed that you can operate anywhere on the curve. With a marketing application, for example, that is possible; it is just a matter of cost. But with a fraud investigation, on the other hand, each case requires hard work from expert investigators so is also constrained by time and the availability of trained staff. You may only be able to go so deep in the list, no matter how promising the expected payoff. Still, this type of analysis can show what is possible if more resources can be made available — say, new staff hired, or existing staff reassigned and trained. That utility for planning, along with its clarity (and again, speaking the language of management) is why this type of analysis is <em>enthusiastically adopted</em> by leaders and analysts once it is understood.</p><p>If the challenge you are dealing with is constrained in its solution approach then you have yet another reason to ignore AUC and do better: compare the performance of models only in the operating region in which you are going to <em>use</em> them.</p><p>[ 1 ] I did not record it but it would be lower than the 0.75 one might expect since only 20% of the training data was 1 and modeling shrinks estimates toward the mean. Assume for discussion it was 0.58</p><p><em>Originally published at </em><a href="https://www.elderresearch.com/blog/auc-a-fatally-flawed-model-metric"><em>https://www.elderresearch.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=60e79329733e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Four Common Data Engineering Pitfalls (and How to Avoid Them)]]></title>
            <link>https://elderresearch.medium.com/four-common-data-engineering-pitfalls-and-how-to-avoid-them-84234900e2cf?source=rss-d8ae90c0665a------2</link>
            <guid isPermaLink="false">https://medium.com/p/84234900e2cf</guid>
            <category><![CDATA[analytics]]></category>
            <category><![CDATA[data-engineering]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Elder Research, Inc.]]></dc:creator>
            <pubDate>Mon, 31 Aug 2020 14:46:42 GMT</pubDate>
            <atom:updated>2020-08-31T14:46:42.482Z</atom:updated>
            <content:encoded><![CDATA[<p>by <a href="https://www.elderresearch.com/company/our-team/will-goodrum-phd">Will Goodrum, Ph.D.,</a> Director of Research and Development, Elder Research</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/0*brhXDJfdwUnrKmQq.jpg" /></figure><p>Your company has made it a strategic priority to become more data-driven. Good! A major anticipated component of this transition is to implement new data technology (e.g., a data lake). Resources are thrown at identifying source systems and pulling information into a new, analytically-focused data repository or an even bigger data lake. Time is spent creating an ETL pipeline to move data from one place to another. Web endpoints are created to facilitate access for data customers. Dashboards are created that show information available in this centralized and optimized data source. At a brief with the company executive team 12 months later, the excited response from the C-level is a resounding: <em>So how has any of this effort made us more data-driven?</em></p><p>What is missing? How can they not see the value of what has been done? Achieving success with Data Engineering is like a long hike. It’s not just about getting gear and walking around in the forest. You need to know where you’re going, who can help, why you’re going, and what you’ll need. Similarly, data engineering requires clear use cases, a central governance function, a straight-line tie to ROI, and an identified audience. Miss any one of these in your initiative, and you risk falling into one of four common data engineering pitfalls.</p><h3>What is Data Engineering (and its common pitfalls)?</h3><p>First let’s define “data engineering.” Robert Chang wrote an excellent piece on Medium called <a href="https://medium.com/@rchang/a-beginners-guide-to-data-engineering-part-i-4227c5c457d7"><em>A Beginner’s Guide to Data Engineering</em></a> that illustrates many key ideas. He quotes a great article by Maxime Beauchemin called <em>The Rise of the Data Engineer</em>:</p><p>Data engineering (as a) field could be thought of as a superset of <strong>business intelligence</strong> and <strong>data warehousing</strong> that brings more elements from <strong>software engineering</strong></p><p>Data Engineers are experts that work with data storage and transfer technologies to ensure that data are reliable, available, and accessible for anything from BI reporting to Deep Learning. As Chang states, data engineering is an important and adjacent discipline to data science. Experienced data scientists rely on and appreciate the complementary functions provided by data engineers.</p><p>As we have navigated many projects with clients over our 25-year history, we’ve encountered four common pitfalls that can undermine data engineering efforts and consume downstream value from data science:</p><ol><li>Creating infrastructure without use cases</li><li>Centralizing data without governance</li><li>Beginning construction without estimating ROI potential</li><li>Designing an architecture without an audience</li></ol><p>Let’s unpack each of those to get a better understanding of why they matter, why they get missed, and how to get them right.</p><h3>Creating Infrastructure Without Use Cases</h3><p>Despite excitement around “Big Data,” or proclamations about the <a href="https://www.elderresearch.com/blog/value-of-data">petroleum-like value potential for data</a>, data without insights is useless. It is just more data. Likewise, engineering for its own sake is wasted effort. Just like how filling a lake is only important if there are people who need the water.</p><p>Insights come from contextualizing data within the confines of a valuable use case. Consider the <a href="https://app.getpocket.com/read/2706804900">increasing risk of storing personally identifiable information</a>. As the societal costs of data breaches become clearer, the monetary damages being levied against firms and the compliance requirements to safeguard against such failures are increasing. However, if the intended use of the data requires access to personally identifiable information like addresses or email addresses, then the cost (and associated risk) of implementing the high-security technology needed to store that information may still be worth the benefit available from modeling.</p><p>Ultimately, technology acquisition and development should be use-case driven. The array of cloud computing technologies is dizzying 1, but fundamentally each is a tool designed for a specific purpose. In the same way that you only need a drill if you need to make a hole, you should only be investing in the software tools necessary to support the data project that you have in mind (either for the present or the near future).</p><p>The ultimate value of data engineering (like other infrastructure projects) can exceed its intended use-case. Based on his World War-II experiences with the <em>Reichsautobahn </em>in Germany, President Dwight D. Eisenhower developed a multifaceted vision for the Interstate Highway System. This ranged from freedom and safety of automobile travel, to defense applications, and from economic stimulus and job creation, to future economic benefits. However, he did not envision the <em>specific</em> economic and cultural impacts enabled by the Interstate Highway System, like the creation of WalMart or FedEx, or the suburbanization of major metropolitan areas. Major data engineering efforts can have similarly valuable and unintended impacts within organizations when guided by strategic use cases that warrant the initial cost of the infrastructure.</p><h3>Centralizing Data without Governance</h3><p>Advanced data engineering efforts, such as the construction of data lakes, are designed to centralize disparate information into a single location to accelerate the production of machine learning models by data scientists. These data may come from different organizational siloes, reside in old systems that do not integrate well with new technology, or may have usage limitations due to compliance or regulatory restrictions. So why do organizations centralize data into analytical repositories without robust data governance?</p><p>Consider the following questions:</p><ul><li>What was the source system for the data in the data lake?</li><li>Who maintains/owns that system? Can I rely on it? Is it on premises or managed by a third party?</li><li>Who is responsible for updating the source data?</li><li>When does it become stale?</li><li>Who can add new and remove old and unused data elements?</li><li>Are records in your data warehouse updated in place, or are repeated records added over time?</li></ul><p>These can seem like silly questions because the data lake architecture does not yet exist. However, failing to consider the answers to these questions could lead to unnecessary headaches 6 to 12 months down the road. Why? Employees involved in the initial integration may have churned, taking with them critical knowledge about the relationship of the architecture to source systems. Database tables and connections to other systems may break when source systems are changed. Data tables may expand over time, as users create more and more columns. Unfortunately, many of these new columns may be sparse (i.e., a large percentage of rows in the new columns are empty). Architects will get angry emails from users. Under pressure to deliver on their initiatives, middle managers will avoid the architecture at all costs. As frustrations pile up, eventually that pile reaches the C-suite. And they will question the return on investment they get from an expensive investment that is not delivering the radical data-driven transformation they hoped would lead to better bottom-line results.</p><p>This painful (but common) future can be avoided with open communication, a clear process, and a rigorous data governance plan.</p><h3>Beginning Construction Without Estimating ROI Potential</h3><p>Organizations often undertake activities even when the ultimate value is unknown. Research and Development, for example, can be vitally important to maintaining a competitive advantage, fending off disruptive innovation, and growing a business into a previously untapped (or underserved) market. By its very nature, R&amp;D has an unclear value proposition because the outcome is unknown. Some hypotheses prove true; many do not.</p><p><strong>Data engineering is not R&amp;D</strong>.</p><p>The ROI for any data engineering effort should (and can) be estimated prior to construction, not sought retroactively after completion. Estimating the value of data <a href="https://www.wired.com/story/no-data-is-not-the-new-oil/">is an open question</a>. At Elder Research, we have found value in the framework proposed by Douglas B. Laney in <a href="https://www.gartner.com/en/publications/infonomics"><em>Infonomics</em></a> as a starting point for tying data to tangible business value. Data is an asset, but <a href="https://www.elderresearch.com/blog/value-of-data">assets have varying value</a>. The ROI from a data engineering initiative should be rooted in the value of the underlying source systems and the estimated benefit from their integration. One benchmark is the time required to access data compared to the current architecture. In some instances, the reductions can be several orders of magnitude (resulting in thousands if not millions of dollars saved).</p><p>In the same way that constructing Interstate highways had unexpected benefits (and costs) to the economy, this benefit is estimated routinely by planners, designers, and economists given reasonable assumptions. Data Engineers and Data Scientists can work together to make similarly reasonable estimates on the return of data engineering efforts prior to construction.</p><h3>Designing an Architecture Without an Audience</h3><p>Finally, a data architecture must have an audience in mind. Different audiences will have different expectations for what they will find. It’s just like with buildings. The needs and expectations of people visiting a hospital differ from those attending a school, or a movie theater, or a church. However, all are engineered structures that have to serve large numbers of people. Miss on the audience and you get a building that at best is a little strange; at worst, it undermines the purpose for which it was created.</p><p>Data Infrastructure is costly, as well. But when thoughtfully designed, it will enhance the work of others. The end-state required from the architecture must match the requirements of a primary audience. A pipeline to support BI Analysts may be very different from one designed to support experienced Data Scientists. Data Scientists are perfectly comfortable writing Python scripts to access data via an API endpoint (and probably prefer this!). BI Analysts likely prefer tables, spreadsheets, or Tableau dashboards. As with many technologies, the simpler the end use, the more complex the underlying engineering — all of this is driven by the requirements of the intended user.</p><h3>Keys to Successful Data Engineering</h3><p>To successfully create value from data engineering in your organization, we recommend the following:</p><ul><li>Know your audience</li><li>Understand their needs and expectations for data access</li><li>Know who will govern your data and the details of the governance plan</li><li>Determine and secure consensus on how you will measure success for the final architecture</li></ul><p>Data engineering is a valuable role on its own. And, it is vital to <a href="https://medium.com/@rchang/a-beginners-guide-to-data-engineering-part-i-4227c5c457d7">support the work of Data Scientists</a>. Surveys of practicing Data Scientists have revealed that <a href="https://oreilly-ds-report.s3.amazonaws.com/Care_and_Feeding_of_Data_Scientists.pdf">many leave jobs due to the significant (and unexpected) burden of performing data engineering</a> tasks they were not trained for. Retaining top talent may rely on providing them with sophisticated engineering support so that they do not feel encumbered to build it themselves. Justifying the expense/investment in engineering will require close support from your Data Scientists, as well as the business and operational stakeholders who own the underlying data sources. Ultimately, an integrated approach will lead all stakeholders safely down the data engineering trail.</p><p>[1] For example, Amazon Web Services offers over 500 cloud-based solutions for data and analytics use cases, alone.</p><p><em>Originally published at </em><a href="https://www.elderresearch.com/blog/four-common-data-engineering-pitfalls"><em>https://www.elderresearch.com</em></a><em>.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=84234900e2cf" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>