<?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[Baken AI Blog - Medium]]></title>
        <description><![CDATA[Data science consultancy to grow the data analytics and AI capabilities of your organization. - Medium]]></description>
        <link>https://medium.com/baken-blog?source=rss----6e1da758ec2d---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>Baken AI Blog - Medium</title>
            <link>https://medium.com/baken-blog?source=rss----6e1da758ec2d---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 01:53:37 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/baken-blog" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Applying XGBoost Forecasting To Energy Imbalance Prices]]></title>
            <link>https://medium.com/baken-blog/energy-imbalance-price-forecasting-using-xgboost-20e69905b1a?source=rss----6e1da758ec2d---4</link>
            <guid isPermaLink="false">https://medium.com/p/20e69905b1a</guid>
            <category><![CDATA[xgboost]]></category>
            <category><![CDATA[energy-prices]]></category>
            <category><![CDATA[forecasting]]></category>
            <dc:creator><![CDATA[Lucas Berndsen]]></dc:creator>
            <pubDate>Wed, 08 Sep 2021 14:17:32 GMT</pubDate>
            <atom:updated>2021-09-28T11:53:32.230Z</atom:updated>
            <content:encoded><![CDATA[<p>Efficient energy consumption is a key concern for sectors like heavy industry, transport, and industrial economic zones. The rise of renewable energy has led to an increased demand for flexible energy usage: adjusting energy usage to make optimal use of short-term energy price fluctuations.</p><p>Yet, energy grid prices have proven to be notoriously difficult to predict. Forecasting spot energy prices has been investigated extensively (e.g. Weron, 2014), but short-term energy price fluctuations have been largely ignored. Primarily because fluctuations contain unanticipated and abrupt spikes due to for example outages and weather conditions.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*XujtCrhsTNn8negaS64cGQ.png" /><figcaption>Imbalance premiums</figcaption></figure><p>Below we show, using real-world data from TenneT in the Netherlands, how Machine Learning is able to better predict energy prices. Using these techniques companies are able to:</p><p>● Better anticipate (peak) energy prices</p><p>● Optimize energy price “trading”</p><p>● Have accurate real-time predictions on energy price behavior and relevant underlying factors</p><p><strong>The business case:</strong></p><p>Consider an industrial client that purchases energy for one of their plants a day in advance against the day-ahead price. Each day they have the opportunity to shut down half of their plant with a 15 min notice in advance, which results in the possibility to place supply bids for flexible energy, against an imbalance price. The energy service provider demands to receive an offer 30 min in advance for the amount (MW/h) and price of the energy.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TtkFMkPwCXRe70l_Y6Amvw.jpeg" /><figcaption>Picture of a large industrial; Tata Steel in IJmuiden, the Netherlands</figcaption></figure><p>When the bid of the plant is accepted, they are obliged to deliver the flexible energy and in return receive the imbalance price. This price will be at least as high as the price they set in their bid. Due to the restrictions in the number of times the plant can be shut down, you want to predict the imbalance prices and</p><p>only offer your energy when the imbalance price is very high to maximize your profit.</p><p>The difference between the imbalance price and the day ahead price is called the imbalance premium. Hence, you’d want to maximize the imbalance premiums. NB: An unexpected large consumption or low production of energy can cause these imbalance prices to become up to ten times as high as the day-ahead price.</p><p><strong>Predicting imbalance premium</strong></p><p>We model the imbalance premiums with the available information with XGBoost and optuna. The classical methods used for time series prediction like Box-Jenkins or ARIMA assume that there is a linear relationship between inputs and outputs. XGBoost has the advantage that it can approximate nonlinear functions. We look at the first 4 months of 2019 containing imbalance features and combine this with open sources wind forecasts. We’ve written our own Process module to pre-process data for time-series predictions.</p><pre>p = Process(h=h, y_name=&#39;premium&#39;, start_train=(2019, 1), end_train=(2019, 2), start_test=(2019,3), end_test=(2019, 3))</pre><pre>p.add_dummies([&#39;peak&#39;, &#39;holiday&#39;,&#39;day&#39;,&#39;hour&#39;])#, &#39;day&#39;])</pre><pre>p.add_vars(lags=[1,2,3,4,8,16,96], var=[&#39;fe_offshore&#39;,&#39;fe_load&#39;,&#39;fe_onshore&#39;]) # load_f, offshore_f, onshore_f])</pre><pre>p.add_lags(lags=np.array([1,2,4,8,16,96])p.add_features(lags=[h]+[96], features=[&#39;mean&#39;], window=[4,96,96*7], how=False)</pre><p>We add dummies for the day &amp; time and holiday. We add lagged values for past imbalance premiums, wind, and energy loads. Optuna is used to obtain the hyperparameters of the XGBoost regressor.</p><pre>study = create_study(direction=&quot;minimize&quot;, sampler=TPESampler(seed=RS, multivariate=MULTIVARIATE)) </pre><pre>study.optimize(lambda trial: objective(trial,p.x.train,p.y.train,random_state=RS,n_splits=N_SPLITS,n_repeats=N_REPEATS,n_jobs=8,early_stopping_rounds=EARLY_STOPPING_ROUNDS,),n_trials=N_TRIALS,n_jobs=1,)</pre><pre>params = study.best_params</pre><pre>reg = xgb.XGBRegressor(**params,n_estimators=1000).fit(p.x.train, p.y.train, eval_set=[(p.x.train, p.y.train), (p.x.test, p.y.test)], early_stopping_rounds=50,verbose=False)</pre><pre>_ = plot_importance(reg, height=0.9, max_num_features = 10)</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/496/1*C--nktLEXurLclB4Euhzgg.png" /></figure><p>This graph about the feature importance tells us how important respective features are for creating the prediction. The lagged values for the premium are the most important drivers, followed by the lagged value for offshore wind forecasts.</p><p>When we plot the predictions obtained from the XGBoost model against the actual values of the imbalance premium we see that the model succeeds in predicting the direction of the imbalance premium but underestimates the large</p><p>‘peaks’ in the premiums. This is due to the highly unpredictable nature of the peaks in energy imbalance, but does not matter much for the business case discussed earlier. It’s not the magnitude of a peak, but the event of a peak as such that’s most relevant in that case.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4WkZ3mDUQs8TkrA4HerSGQ.png" /><figcaption>Imbalance premium forecasts versus actual</figcaption></figure><p><strong>Conclusion</strong></p><p>Whilst energy imbalance price remains rather difficult to predict due to its dependence on unexpected events, it is possible to create a model that is able to predict peaks in imbalance premiums.</p><p>The magnitude of this peak is harder to predict, partly as a consequence of consolidation in the chosen approach. The example shows a simplified version of energy price modeling. This can be improved when using your own wind and solar forecasts instead of the public data we used for this demonstrative example.</p><p>If you want to know more about energy price forecasting or time series forecasting in general, don’t hesitate to get in touch!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=20e69905b1a" width="1" height="1" alt=""><hr><p><a href="https://medium.com/baken-blog/energy-imbalance-price-forecasting-using-xgboost-20e69905b1a">Applying XGBoost Forecasting To Energy Imbalance Prices</a> was originally published in <a href="https://medium.com/baken-blog">Baken AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Do You Know Why Customers Cancel Their Subscription?]]></title>
            <link>https://medium.com/baken-blog/do-you-know-why-customers-cancel-their-subscription-944bee403f1f?source=rss----6e1da758ec2d---4</link>
            <guid isPermaLink="false">https://medium.com/p/944bee403f1f</guid>
            <category><![CDATA[shap]]></category>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[marketing]]></category>
            <category><![CDATA[churn-rate]]></category>
            <dc:creator><![CDATA[Lucas Berndsen]]></dc:creator>
            <pubDate>Wed, 01 Sep 2021 15:16:20 GMT</pubDate>
            <atom:updated>2021-09-01T15:50:41.288Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*OBVFMB5U2OFShVOJ_AQVpA.jpeg" /></figure><p>Which customers are most likely to cancel their subscription? Knowing the answer to this question will naturally result in increased business efficiency. In many business sectors acquiring and preserving customers is a time and thus cost consuming problem. Machine Learning can perfectly aid in this process by predicting clients with a high risk of cancelling their subscription or ranking potential customers by their willingness to subscribe.</p><p>Here we look at Machine Learning applications in subscription marketing and zoom in on one specific technique, the SHAP value approach, to show its power.</p><p><strong>Overview of Machine Learning in subscription marketing</strong></p><p>Machine Learning can improve multiple parts of the marketing funnel, primarily:</p><ol><li><strong>Higher retention rate</strong></li><li><strong>Efficient customer acquisition</strong></li><li><strong>Personalised marketing campaigns</strong></li></ol><p>Since it’s far more expensive to acquire a new customer than to retain an existing one, a high retention rate is preferable. Companies can use Machine Learning to identify patterns of potential churners, segment high risk churners and define optimal steps to minimise the risk of churn for individual customers.</p><p>On the customer acquisition side, companies can analyse the features of “the best” customers and identify high value potential customers. This way, Marketing strategy can be steered to efficiently target potential customers with the highest probability to subscribe.</p><p>Finally, by analysing marketing campaigns you can predict on an individual basis which marketing campaign will result in the greatest benefit by leveraging data on customer characteristics. This way a Machine Learning algorithm can recommend marketing campaigns for individual customers to maximise e.g. subscription fees.</p><figure><img alt="Schematic overview of Machine Learning for subscription marketing" src="https://cdn-images-1.medium.com/max/1024/1*KV28Tb6Yq3R0IV2hxCgBIA.png" /><figcaption>Schematic overview of Machine Learning for subscription marketing</figcaption></figure><p><strong>SHAP values to explain Machine Learning model</strong></p><p>Let’s use a real dataset to see how these Machine Learning methods to optimise subscription cancelation work. Here we use a <a href="https://www.kaggle.com/radmirzosimov/telecom-users-dataset"><strong>kaggle dataset</strong></a> about the telecom industry containing information about personal characteristics, phone usage, payment behaviour and subscription specifics.</p><p>We train a Machine Learning algorithm on the customer retention data to capture the patterns in this data. After training our model we can make predictions on the churn probability for individual customers and use these predictions to identify high risk churners.</p><figure><img alt="SHAP plot on churn rate prediciton" src="https://cdn-images-1.medium.com/max/431/1*lmRFTyF8IkDs1Pt4C5A8Kg.png" /><figcaption>SHAP plot on churn rate prediction</figcaption></figure><p>One thing that distinguishes a good model from a great one is the possibility to explain it. This is where a technique called <strong>SHAP values</strong> comes in.</p><p>SHAP values illustrate at the customer level what information the algorithm uses to predict whether a specific customer is about to churn or not. Relationships and trends can be derived when the information of all customers is combined. With SHAP values we can explain how each variable contributes to a customer churning (or subscribing). A negative SHAP value indicates that corresponding data negatively affects churn, which means that it contributes to a lower churn probability. The features are ranked from top to bottom, where the top represents the feature with the highest prediction power. Every dot represents a customer. For each customer the SHAP value (x-axis) is plotted against the observed value (color axis) of the corresponding feature.</p><p>In the graph above, the blue dots on the left side indicate that low values of the customer characteristics correspond to negative SHAP values, which implies that these low values lower the churn rate.</p><p><strong>SHAP values show that customers tend to cancel after exactly 12 months</strong></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*czMpI9yN09zMpE1YB9RMOA.png" /></figure><p>The plot above shows the SHAP values (y-axis) for each customer of the variable <em>MonthsInService </em>(x-axis)<em>, </em>which represents the subscription length of a customer. Some insights can be extracted from this plot. First, a very clear shift from negative SHAP values to strongly positive values can be seen when the <em>MonthsInService </em>variable shifts from 12 to 13 months, which indicates that people in this dataset tend to churn exactly after one year. This makes sense, since many subscription contracts last a year. Second, after the 13th month the SHAP value lowers for people with longer subscription lengths, which means that the probability that a client cancels their subscription is lower the longer the customer has had a subscription with your company.</p><p><strong>Black box versus our open approach</strong></p><p>In conclusion, Machine Learning can provide assistance in subscription marketing by predicting churn rate for current customer or predicting subscription rate for potential customers. While such models can be implemented to calculate the probabilities on individuals, SHAP values provide insight in the model and variables used. This is critical for explaining the ‘black box’ of Machine Learning models and most of all to check if the outcomes of your model make sense. We are able to help uncover the true key drivers of your subscriber’s loyalty.</p><p>This approach is just one of all the possibilities machine learning has to offer for subscription marketing. If you want to know more about this or our specific solutions, don’t hesitate to get in touch!</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=944bee403f1f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/baken-blog/do-you-know-why-customers-cancel-their-subscription-944bee403f1f">Do You Know Why Customers Cancel Their Subscription?</a> was originally published in <a href="https://medium.com/baken-blog">Baken AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Explainable AI for Healthcare in 3 Simple Steps.]]></title>
            <link>https://medium.com/baken-blog/explainable-ai-for-healthcare-in-3-simple-steps-f277c16e6dd6?source=rss----6e1da758ec2d---4</link>
            <guid isPermaLink="false">https://medium.com/p/f277c16e6dd6</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[explainable-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[healthcare]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Hugo]]></dc:creator>
            <pubDate>Tue, 22 Jun 2021 13:57:15 GMT</pubDate>
            <atom:updated>2021-06-22T15:55:42.822Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*kBX6zV5Amf8za2DJ" /><figcaption>Photo by <a href="https://unsplash.com/@nmelchorh?utm_source=medium&amp;utm_medium=referral">Natanael Melchor</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><blockquote>Doctors (in the ICU) need to make <strong>time-critical</strong> life and death decisions based on a myriad of variables. Extensive patient monitoring generates an <strong>overload of information</strong> and alarms making it impossible for clinicians to systematically evaluate all of it. Explainable AI models can remedy this enabling the average doctor to be as good as the best doctor.</blockquote><p>Although the human body is like a black box and every patient is different, doctors do not want a black box to tell them what to do. Instead the AI should function as a tool which explains how it predicted survival by showing the impact clinical factors have on the prediction. This aids clinicians in focusing their attention to the most clinically relevant factors enabling them to get a rapid understanding of the context of a patient’s overall health and to assess the patient’s trajectory. <strong>It filters the signal from the noise.</strong></p><p>The explainable AI methodology, <a href="https://www.baken.ai/#healthcare_ai">showcased in this dashboard</a>, is trained on data from the first 24 hours of hospital Intensive Care Unit visits of 130,000 patients provided by <a href="https://gossis.mit.edu/">MIT</a>.</p><p>Explainable AI for healthcare enables:</p><ol><li>Improved triage and decision making through explainable prediction of (ICU) patient survival, the explanations provide a personalised <strong>summary</strong> of the patient’s state as guidance to clinicians.</li><li>Population and subgroup level <strong>insights</strong> into how patient characteristics and treatments interact and impact survival.</li><li>Leveraging real world clinical experience of thousands of patients to make healthcare more transparent for patients, policymakers and stakeholders.</li></ol><h3>1. Predicting ICU survival for individual patients</h3><h3>Individual predictions</h3><p>Will this ICU patient <strong>survive</strong> in the next 24 hours? Which patients will not and <strong>why</strong>?</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*D3B4W9fslqaWxQmJZEZz-w.png" /><figcaption>Predicted survival probability</figcaption></figure><p>Such questions can be answered by instant data-driven risk-profiling. Pick a patient at random or input patient characteristics -as illustrated below- and the dashboard shows their predicted chances of survival, as illustrated to the left. This enables doctors to prioritise the right care at the right moment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*YChHzeZPRpA1PrQtlfa8kA.png" /><figcaption>This form allows inputting patient characteristics and clinical factors to see the predicted survival probability</figcaption></figure><p>How patient survival is predicted is shown below.</p><h3>Contributions to prediction</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*T6OlDLznkv2lTQAJURac9g.png" /><figcaption>Contributions of clinical factors to predicted survival probability</figcaption></figure><p>How does the AI model <strong>predict</strong> whether this patient will <strong>survive</strong>?</p><p>After correcting for the clinical setting, individual <strong>patient characteristics</strong> and clinical factors -like age, oxygen saturation and 180 other factors- push to <strong>increase</strong> or <strong>decrease</strong> the predicted chances of <strong>survival</strong>.</p><p>How this individual patient’s clinical factors and characteristics impact the prediction is illustrated in the waterfall plot to the left.</p><blockquote>This enables doctors and patients to <strong>understand</strong> what drives the <strong>predictions</strong>, and contributes to optimally informed (shared) decision making.</blockquote><h3>Overview of feature descriptions</h3><p>The above features may seem alien to users, <em>gcs_motor_apache</em>, what does that mean? Well, luckily there is a nice dictionary to translate these short-form column names to recognisable descriptions for every variable.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*dSMRaZYiE_bot5iVB75-pA.png" /><figcaption>Long form descriptions for all the 180 features in the dataset sorted by importance</figcaption></figure><h3>2. Population level insights</h3><p>Which of the 180 patient characteristics are most <strong>important</strong> to predict whether someone will survive? And what effect do they have?</p><p>The shapley value summary provides a population level overview of how each feature impacts prediction.</p><p>Each point in the summary to the left represents a single patient, in <strong>aggregate</strong> these points illustrate <strong>population</strong> <strong>level</strong> effects.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*4j1pxidirYn543s49BPZfg.png" /><figcaption>Summary of population level effects of clinical factors on survival</figcaption></figure><ul><li>The features are ranked by their importance in the predictions.</li><li>The horizontal axis shows whether the feature has positive or negative impact on predicted survival.</li><li>The colour of each dot represents the value of the patient characteristics.</li></ul><p>The summary to the left shows age and ventilation are the most predictive factors for survival. Being younger (blue) has a positive impact on survival, while being ventilated has a negative impact (ventilated_apache = 1, red).</p><p>See how they impact survival in more detail below.</p><h3>How survival depends on patient characteristics.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Ns6-6eDMNXNz2nm3nqArZw.png" /><figcaption>Dependence between age, heart rate and survival</figcaption></figure><p>How does a patient’s mortality risk depend on their age? How does this correlate with their heart rate?</p><p>The shapley value dependence shows population level relationships between the patient characteristics and mortality</p><p>As shown in the dependence plot to left, chance of survival decreases with age, while a high max heart rate is only a positive factor for younger patients.</p><h3>Interactions between characteristics.</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*brAa30W3Y1xD2fSMsudvGQ.png" /><figcaption>Interaction between age and ventilation w.r.t survival</figcaption></figure><p>How does the survival chance of ventilating a patient change with a patient&#39;s age?</p><p>The Interaction dependence shows how features’ interactions in isolation impact survival.</p><p>This enables diagnosing the model and uncovering biases in the underlying data. As shown to the left, ventilating a patient (red) increases survival chances except for patients over age 75. This does not mean ventilating increased their mortality, it could be a last resort option to buy some time and they would not have survived regardless of ventilation.</p><h3>Summary of the interactions</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/742/1*4j1pxidirYn543s49BPZfg.png" /><figcaption>A summary of which clinical factors interacts strongest with age</figcaption></figure><p>Which characteristics <strong>interact</strong> the strongest?</p><p>The interaction summary shows being ventilated interacts most strongly with systolic blood pressure and the lowest blood urea nitrogen concentration(bun_min).</p><p>For every patient characteristic and clinical factor we can get a summary of the interactions sorted by impact, the size of the interaction and how these interactions are distributed. In a similar vein to the above shapley value summary.</p><h3>3. How well does the model predict survival?</h3><h3>Real world performance</h3><p>In order to assess real world clinical performance the model was trained on 100.000 patients and then tested on 10.000 patients it has never seen before (averaged over 5 cross-validation folds). All the following metrics of model performance are calculated this way.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IEkI1tFryo90mdvZh4e3YA.png" /><figcaption>A summary of cross-validated performance metrics</figcaption></figure><p>Starting with the accuracy of the model, which shows the model correctly predicted whether a patient survived or died for 99.7% of patients.</p><h3>When is the model confused?</h3><p>When flagging at risk patients in the ICU it’s more dangerous to <strong>underestimate mortality</strong> than to underestimate survival. Therefore to capture all potential high-risk patients the specificity of predicting whether a patient dies is prioritised over precision w.r.t survival.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/740/1*pSbiRtbPXDDwlRpbhWMEzQ.png" /><figcaption>Confusion matrix shows the specificity and precision of the model</figcaption></figure><p>This results in the model <strong>correctly predicting mortality</strong> for <strong>99.8%</strong> of patients who indeed died while missing only 0.2% as shown in the confusion matrix.</p><p>There are about 10 times as many patients who survived than those who died and the model correctly classified 99.4% of them while misclassifying only 0.6% . This illustrates the model is more sensitive to high-risk than low-risk patients.</p><h3>How response is the model‘s prediction to mortality risk?</h3><p>The model <strong>predicts</strong> patient mortality risk; how <strong>likely</strong> is a patient to survive or die. A Lift curve can be used to assess how responsive this prediction is.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*E39AdSKnOC1JmOSOetHcBA.png" /><figcaption>Lift curve</figcaption></figure><p>In the plot to the left the patients are sorted by their mortality risk from left to right. The lines show what percentage of patients actually survived out of those predicted to survive.</p><p>A random prediction would predict a constant percentage, as illustrated by the green line. Perfect predictions are depicted by the blue line. The AI model’s performance is shown by the orange line, which is almost <strong>perfect</strong>.</p><h3>Model Precision</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/750/1*Gyb1mZMP8jcxRw8HjG-iCg.png" /><figcaption>Precision plot</figcaption></figure><p>When the model predicts whether a patient will survive the first 24 hours, how precise is this prediction? How many low-risk patient actually survive? And do high-risk patients die at higher rates?</p><p>The precision plot answers these questions; the model predicts that a significantly higher fraction of low-risk patients survive and high-risk patients will die.</p><p>This concludes our foray into showcasing best-practice explainable AI models. <a href="https://www.baken.ai/#healthcare_ai">See the interactive showcase in action here</a>. As a doctor, how would you want to improve this? Does this showcase illustrate how AI can filter the signal from the noise? I’d love your feedback.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f277c16e6dd6" width="1" height="1" alt=""><hr><p><a href="https://medium.com/baken-blog/explainable-ai-for-healthcare-in-3-simple-steps-f277c16e6dd6">Explainable AI for Healthcare in 3 Simple Steps.</a> was originally published in <a href="https://medium.com/baken-blog">Baken AI Blog</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>