<?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 Siva Anne on Medium]]></title>
        <description><![CDATA[Stories by Siva Anne on Medium]]></description>
        <link>https://medium.com/@siva.anne?source=rss-47c5fd8e21af------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*Cr7FvtE_aXtT8lFHMp4nPw.jpeg</url>
            <title>Stories by Siva Anne on Medium</title>
            <link>https://medium.com/@siva.anne?source=rss-47c5fd8e21af------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 04 Dec 2026 09:56:42 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@siva.anne/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[The Confidence Crisis: Evaluating LLMs for Classic NLP Tasks in Document Processing]]></title>
            <link>https://medium.com/@siva.anne/the-confidence-crisis-evaluating-llms-for-classic-nlp-tasks-in-document-processing-6874a428081a?source=rss-47c5fd8e21af------2</link>
            <guid isPermaLink="false">https://medium.com/p/6874a428081a</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai-pipelines]]></category>
            <category><![CDATA[document-processing]]></category>
            <category><![CDATA[confidence-score]]></category>
            <category><![CDATA[nlp]]></category>
            <dc:creator><![CDATA[Siva Anne]]></dc:creator>
            <pubDate>Sun, 22 Jun 2025 03:57:43 GMT</pubDate>
            <atom:updated>2025-06-29T15:19:49.451Z</atom:updated>
            <content:encoded><![CDATA[<p>Large language models (LLMs) have transformed the field of natural language processing (NLP). Their capabilities extend well beyond those of traditional models, encompassing summarization, question answering, content generation, and code synthesis.</p><p>Naturally, LLMs are increasingly adopted for core NLP tasks such as <strong><em>entity extraction</em></strong><em>, </em><strong><em>text classification</em></strong>, and more. They provide a level of flexibility and generalization that traditional approaches often struggle to achieve.</p><p>However, a significant challenge remains, quietly hindering production use in many organizations. LLMs lack awareness of their confidence levels.</p><h4><strong><em>Why Confidence Matters</em></strong></h4><p>As organizations move toward operationalizing LLMs in real-world workflows, confidence metrics are not merely a technical nicety; they are essential as a foundation for <strong><em>trust, accountability, and risk management</em></strong>.</p><p>In high-stakes domains like financial services and healthcare<strong>, </strong>it’s not enough for a model to provide an answer — stakeholders need to understand <strong><em>how confident the model is about that answer</em></strong>. Whether you’re classifying documents or extracting entities, confidence scores play a critical role in:</p><ul><li><strong><em>Prioritizing human review</em></strong> of uncertain predictions</li><li><strong><em>Justifying automated decisions</em></strong> to auditors, regulators, or end-users</li><li><strong><em>Building user trust</em></strong> in AI-assisted tools and systems</li></ul><p>Traditionally, NLP models are designed to provide confidence scores. In classification models, for instance, softmax or sigmoid outputs represent <strong><em>probability estimates</em></strong> for each class. These scores, based on statistical principles, offer a direct and often reliable indication of how trustworthy a prediction is. In well-calibrated models, confidence and accuracy closely align — a 90% confidence typically corresponds to about 90% correctness.</p><p>For enterprises implementing AI solutions<strong>, <em>confidence serves as a vital trust signal</em></strong><em>.</em> Understanding how confident a model is in its output is as crucial as the output itself, especially when decisions carry real-world consequences.</p><p>However, with LLMs, the situation is quite different. LLMs can sound confident even while being entirely incorrect.</p><h4><strong><em>Why Confidence Scores Fail in LLMs</em></strong></h4><p>Confidence estimation is a crucial element in many NLP applications, but traditional concepts of confidence falter with LLMs. The core of the issue lies in how these models are designed and trained.</p><p>LLMs are fundamentally <strong><em>generative rather</em></strong> than <strong><em>discriminative</em></strong>. They do not predict labels or classes directly; instead, they generate text one token at a time, assigning probabilities to the next word in a sequence. While these probabilities reflect the model’s internal belief about fluency and coherence in language, they <strong><em>do not reliably indicate correctness</em></strong>. In essence, LLMs are optimized to produce <strong><em>text that sounds natural</em></strong>, rather than necessarily providing the <em>correct</em> answer.</p><p>This becomes particularly problematic when trying to derive confidence scores. Common workarounds—such as using average or maximum log-probabilities of the generated output, or asking the model to self-assess with scoring prompts—have consistently proven to be <strong><em>poor proxies for actual accuracy</em></strong>. They often mislead by assigning high confidence to incorrect answers or underestimating correct ones.</p><p>The situation is further complicated by <strong><em>instruction tuning</em></strong>, a common step in LLM training. This tuning process teaches the model to follow prompts and generate responses that align with human preferences, but in doing so, it degrades the model’s calibration. The model becomes more proficient at sounding helpful but less effective at conveying uncertainty.</p><p>In summary, confidence scores in LLMs are inadequate because the architecture and training objectives <strong><em>prioritize fluency and alignment over truthfulness and calibration</em></strong>. Without task-aware or post-hoc solutions, the confidence scores we derive today reveal more about how <em>certain the model sounds</em>, not how correct it is.</p><h4>Trustworthy AI Pipeline for LLMs in Document Processing</h4><p>Most document processing use cases involve a combination of classification and extraction tasks. For instance, processing bank statements, pay stubs, brokerage statements, or loan applications to extract relevant financial information is a common document-centric process in the financial services industry.</p><p>Unlike traditional ML, AI pipelines that leverage LLMs with engineered prompts provide significant flexibility in processing documents of any type, eliminating the need to create labeled data or train a custom ML model for each type of document to be classified and each entity to be extracted.</p><p>For LLMs to be trustworthy in traditional NLP tasks, we need reliable, <em>task-level</em> confidence estimates that align with accuracy and are provided alongside their outputs.</p><p>Here is a reference architecture for a three-stage, configurable pipeline on IBM <a href="https://pypi.org/project/ibm-watsonx-ai/">Watsonx.ai</a> that processes documents and generates confidence scores. The configuration templates simplify customization for each stage of the AI pipeline by specifying Text Extraction modules, LLMs, Prompt Templates, and Evaluation models.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IBEM3EF8pOWmfy1z9pvZDg.png" /><figcaption>Configurable AI Pipeline for Processing Documents with LLMs</figcaption></figure><p>The AI pipeline analyzes documents for raw text, classifies the document, employs semantic search to pinpoint the relevant chunk of text for a specific entity of interest, extracts the value using customized prompts for a pre-configured LLM, and assesses the accuracy to produce a confidence score for the task.</p><h4>Confidence Scores for LLMs using Auxiliary Models as a Proxy</h4><p>While LLMs demonstrate good accuracy in classic NLP tasks, the inability to quantify uncertainty in the output through a reliable confidence score poses a significant barrier to usability and trustworthiness. Consequently, a <em>tailored approach</em> is essential for assigning confidence scores to LLM responses.</p><p>Generally, confidence estimation methods that treat LLMs as black boxes, being model-agnostic and prompt-agnostic, are easier to implement. Alternatively, white-box techniques will require significant effort and advanced skills to calibrate the LLMs with task-focused labeled datasets. Here are a few black-box techniques for evaluation:</p><ul><li><em>Train an ML Classifier as an Auxiliary Model</em><br>By training a separate classifier on features derived from the LLM’s input, output, and ground truth correctness, you can generate calibrated, task-specific confidence scores that are often more reliable than the LLM’s internal confidence estimates.</li><li><em>IBM </em><a href="https://huggingface.co/collections/ibm-granite/granite-guardian-models-66db06b1202a56cf7b079562"><em>Granite Guardian</em></a><em> as an Auxiliary Model</em><br>The Granite models are designed to detect various risks in LLMs, including both input prompts and generated responses. <em>Groundedness Risk</em> is a specific type of risk that identifies hallucinations based on the shared context, input prompt, and output produced by the LLM. This risk measure could potentially serve as a signal of confidence for the LLM’s output.</li><li><em>IBM Granite </em><a href="https://huggingface.co/ibm-granite/granite-3.3-8b-rag-agent-lib"><em>Hallucination Detection (HD)</em></a><em> as an Auxiliary Model</em><br>One of six LoRA adapters implemented for ibm-granite/granite-3.3-8b-instruct. HD gives a risk score for a given context, input prompt, and output from the LLM.</li><li><em>IBM Granite </em><a href="https://huggingface.co/ibm-granite/granite-3.3-8b-rag-agent-lib"><em>Uncertainty Quantification</em></a><em> (UQ) as an Auxiliary Model</em><br>One of six LoRA adapters implemented for ibm-granite/granite-3.3-8b-instruct. UQ calculates a certainty percentage to reflect how certain it is about the answer for a given context, input prompt, and output from the LLM.</li></ul><h4>Conclusion</h4><p>To conclude, the truth is that there’s <strong>no one-size-fits-all solution</strong> for generating reliable confidence scores across all tasks and use cases. To make LLMs trustworthy in production, we need to invest in tailored techniques, rigorously validate them, and align them with the unique demands of each task.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6874a428081a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Accelerate Trusted AI Solutions with IBM Cloud Pak for Data and CognitiveScale Cortex]]></title>
            <link>https://medium.com/ibm-data-ai/accelerate-trusted-ai-solutions-with-ibm-cloud-pak-for-data-and-cogscale-b1d2b0ef4b4f?source=rss-47c5fd8e21af------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1d2b0ef4b4f</guid>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[bias]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Siva Anne]]></dc:creator>
            <pubDate>Mon, 10 May 2021 01:42:29 GMT</pubDate>
            <atom:updated>2021-06-07T23:20:56.280Z</atom:updated>
            <content:encoded><![CDATA[<p>Today’s era of the digital economy offers opportunities for every industry to leverage AI for the best business outcomes. Enterprises can fuel business growth by implementing AI solutions that make their products and services more compelling for customers. AI adoption will require an end-to-end platform to build and deploy trusted AI solutions that can deliver hyper-personalized customer experiences at scale. This blog post outlines how IBM <a href="https://www.ibm.com/products/cloud-pak-for-data">Cloud Pak for Data</a> and <a href="https://www.cognitivescale.com/">CognitiveScale</a> Cortex enables enterprises to accelerate the implementation of trusted AI solutions.</p><h4><strong>Cloud-Native Architecture for AI Solutions</strong></h4><p>Cloud-native architectures are driving innovations across the spectrum of applications, be it in AI, automation, transactional, or edge systems. Cloud-native applications implement distributed, loosely coupled microservices and are deployed as containers. They deliver the scale and resilience critical for enterprise workloads. Red Hat OpenShift offers a container platform for cloud-native applications. With OpenShift, enterprises can leverage the cloud-native benefits coupled with the flexibility to build and operate portable applications for on-premises, public, private or hybrid clouds. This flexibility offers unique value for a business to drive AI closer to where the data resides.</p><h4><strong>Data and AI Applications with IBM Cloud Pak for Data</strong></h4><p>IBM Cloud Pak for Data offers an integrated Data and AI platform to collect, organize and analyze data for infusing AI into business applications and services. The platform provides modular capabilities, built as containerized services on OpenShift. The modules are packaged as assemblies to give users the choice of deploying them as independent components.</p><h4><strong>Foundational Services for Enterprise AI</strong></h4><p>The complexity of data landscapes, affinity to a varied ecosystem of tools and technologies, and compliance requirements imposed by regulations are key challenges in driving enterprise AI. IBM Cloud Pak for Data includes essential services to simplify this complexity and address the enterprise challenges.</p><p>· Data Virtualization (<a href="https://www.ibm.com/support/producthub/icpdata/docs/content/SSQNUZ_latest/svc-dv/virtualizing_data.html"><strong>DV</strong></a>) service helps construct a logical view of data sourced from multiple enterprise systems. The virtual view hides the complexity of deriving datasets from different data sources and enables SQL-based queries for easy analysis.</p><p>· Watson Knowledge Catalog (<a href="https://www.ibm.com/cloud/watson-knowledge-catalog"><strong>WKC</strong></a>) helps realize an enterprise Data Catalog that makes it easy to search, access, and govern data with configurable policies.</p><p>· DataStage (<a href="https://www.ibm.com/support/producthub/icpdata/docs/content/SSQNUZ_latest/svc-welcome/ds.html"><strong>DS</strong></a>) and Spark-based IBM Analytics Engine (<a href="https://www.ibm.com/support/producthub/icpdata/docs/content/SSQNUZ_latest/wsj/spark/spark.html"><strong>IAE</strong></a>) offer scalable processing for driving data transformation workflows.</p><p>· Watson Studio (<a href="https://www.ibm.com/cloud/watson-studio"><strong>WS</strong></a>) provides comprehensive services to develop, deploy and monitor AI models. Data Scientists can use the choice of tools, ML/DL frameworks, and language environments to build AI models. The mix of tooling includes code-centric Jupyter notebooks, low-code guided ML interface with SPSS visual modeler, and no-code automated ML with AutoAI. Models can be deployed to the runtime using a standard approach irrespective of which tool or framework, or language is used to develop the model. The deployed models can be monitored for multiple dimensions of trust, be it fairness, drift, explainability, or model performance.</p><p>· Watson Assistant (<a href="https://www.ibm.com/cloud/watson-assistant"><strong>WA</strong></a>) helps build a conversational NLP interface into any application, service, device, or channel.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/1*Pjf-ias8nUZ9khpbELPrOQ.jpeg" /></figure><p>The platform complements the UI-driven user experience with <a href="https://www.ibm.com/support/producthub/icpdata/apis">APIs and Python SDKs</a> to drive all of these services programmatically. The APIs enable the integration of the services with an ecosystem of partner platforms and custom applications.</p><h4><strong>AI Solutions with CognitiveScale Cortex Platform</strong></h4><p>CognitiveScale Cortex offers a cloud-native platform to develop and deploy trusted AI solutions. Cortex Fabric and Cortex Certifai are the core components. Implemented as a collection of containerized services on Kubernetes systems like Red Hat OpenShift, it can be deployed in on-premises, private cloud, or public cloud environments.</p><h4><strong>Accelerate AI Solution Development with Cortex Fabric</strong></h4><p>Cortex Fabric provides a low-code, high-level programming model for quickly assembling AI solutions. The Fabric uses configurable, reusable building blocks referred to as Skills, Profiles, and Agents to accelerate AI development. The Cortex constructs conform to the YAML-based open-source CAMEL <em>(camelai.org)</em> specification.</p><p>The <em>Cortex Skills</em> are computation building blocks that accept inputs and can execute code to build outputs. A Skill can execute multiple <em>Actions</em>. The <em>Cortex Profile</em>, aka ‘Profile-of-One,’ combines different types of information about an entity for a unified semantic view. The declared attributes extracted from data sources, the inferred attributes predicted by AI models, and the observed attributes captured from different events are consolidated to build a single Profile view of the entity. The <em>Cortex Agents</em> are composed using multiple Skills, Inputs, and Outputs to orchestrate an end-to-end AI solution.</p><p>Fabric Studio offers a visual workbench to compose Cortex Agents. A small team of core developers build the Cortex Skills using <a href="https://cognitivescale.github.io/cortex-fabric/docs/introduction/intro-python-libs/">Cortex Python libraries</a> and import them into Cortex Registry for broader reuse across Cortex Agents. A larger pool of solution developers can use Fabric Studio to develop and test the Agents to deploy AI solutions on the Cortex platform. The deployed Agents and Skills execute as containerized workloads on the Cortex platform. The short cycle of solution development helps enterprises drive faster adoption of AI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*lalPrOshgYsyVzOgHVtkkw.jpeg" /><figcaption>Cortex Fabric Studio</figcaption></figure><h4><strong>Enhance Trust in AI Solutions with Cortex Certifai</strong></h4><p>Cortex Certifai generates a composite trust score, aka the <em>Trust Index (ATX)</em> for AI models. Certifai Scanner probes AI models for different elements of trust based on configurable scan definitions and an evaluation dataset. The Trust Index is a weighted score derived from explainability, fairness, robustness, and performance metrics evaluated on the AI model. The Certifai AI Risk Assessment Questionnaire and the Policy tool allow business users to configure policies and thresholds to assess risk and ensure compliance by AI solutions.</p><h4><strong>CognitiveScale AI Solutions on IBM Cloud Pak for Data</strong></h4><p>IBM Cloud Pak for Data is an extensible platform designed to integrate with an ecosystem of partner solutions. All platform services are instrumented with APIs to ease the integration. AI solutions in Cortex can leverage the curated data assets and trusted AI models in Cloud Pak for Data to drive trusted business outcomes.</p><p>IBM Cloud Pak for Data and CognitiveScale Cortex are cloud-native platforms built on Red Hat OpenShift. Both platforms can be deployed and managed from a shared OpenShift cluster. Customers can develop and deploy end-to-end, trusted AI solutions with API-led integration between Cloud Pak for Data and Cortex.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/442/1*70kEj_DEn8gocYZeyZU9EQ.jpeg" /><figcaption>IBM Cloud Pak for Data and CognitiveScale Cortex</figcaption></figure><h4><strong>API-led Integration Pattern for AI Solutions</strong></h4><p>Developers build Cortex Skills to access Data assets and drive AI services in Cloud Pak for Data using its APIs. The Cortex Skills will be reusable AI building blocks to compose Cortex Agents and orchestrate AI solutions.</p><p>Here is a reference architecture of a chatbot-based AI solution for a healthcare insurance firm.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*q2_yHv5P2rzD91sAfMN0DQ.jpeg" /></figure><p>The Demographics, Claims, and Prescriptions information on members is hosted in different enterprise systems. Data Virtualization (DV) in Cloud Pak for Data creates a single logical view of the member information by combining data from each system. The virtual table is published in a WKC catalog. The AI model is trained on existing members to predict the cost of care for new members. The chatbot engages in intelligent, contextual conversations using the unified profile of members and trusted predictions from AI models. The following set of Cortex Skills implement the chatbot-based AI solution.</p><p>1. ‘Member Profile’ retrieves data from WKC to build ‘Profile of One’ for members.</p><p>2. ‘Train AI Model’ trains model on Member Profiles using AutoAI in Watson Studio.</p><p>3. ‘Deploy &amp; Score’ deploy the trained model to the deployment runtime, enables model monitoring, and scores new Member Profiles.</p><p>4. ‘Build Trust Index’ retrieves metrics from the model monitors to build a Trusted Index (ATX) score.</p><p>5. ‘Conversation Agent’ uses Watson Assistant to power AI Chatbot conversations.</p><p>The API-led integration pattern can be used to implement trusted AI solutions for any industry use case.</p><h4>Summary</h4><p>Enterprises have to accelerate AI adoption to fuel business growth. IBM Cloud Pak for Data and CognitiveScale Cortex are built as cloud-native AI platforms to deliver resilience, scale, and flexibility critical to enterprise workloads. Businesses can only rely on AI solutions they can trust. The API-led integration between the platforms enables low-code solution development in CognitiveScale Cortex to leverage the trusted data and AI services in IBM Cloud Pak for Data. The integrated services help accelerate and automate trusted AI solutions for the enterprise.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1d2b0ef4b4f" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibm-data-ai/accelerate-trusted-ai-solutions-with-ibm-cloud-pak-for-data-and-cogscale-b1d2b0ef4b4f">Accelerate Trusted AI Solutions with IBM Cloud Pak for Data and CognitiveScale Cortex</a> was originally published in <a href="https://medium.com/ibm-data-ai">IBM Data Science in Practice</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Scaling R Shiny Applications:]]></title>
            <link>https://medium.com/ibm-data-ai/scaling-r-shiny-applications-b32d56b24f03?source=rss-47c5fd8e21af------2</link>
            <guid isPermaLink="false">https://medium.com/p/b32d56b24f03</guid>
            <category><![CDATA[r-shiny]]></category>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[data-science]]></category>
            <dc:creator><![CDATA[Siva Anne]]></dc:creator>
            <pubDate>Tue, 01 Sep 2020 21:19:02 GMT</pubDate>
            <atom:updated>2021-05-12T21:07:50.804Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Scaling R Shiny Applications with Cloud-Native Solution</strong></h3><p><strong>Architectural Lessons from Data Science Engagements</strong></p><p>The need to analyze data for quick insights has led to growth in the ecosystem of languages, tools, and frameworks for Data Science. While the Python-based ecosystem has taken the lead in recent years, R continues to be an essential tool and popular language of choice for Data Science projects. Every language has its own set of benefits and limitations. Often enterprises are operating under resource constraints and strong affinity to specific skills, so the real question is more about which options suit best for the project requirements and less about which language or tool is better.</p><p>With deep-rooted origins in statistical analysis and access to a growing count of 16k plus packages, R offers an exceptional edge in driving speedy data analysis coupled with powerful visualization of results. As part of the <a href="https://medium.com/@siva.anne/economics-of-scaling-machine-learning-workloads-999f74d21aa">blog series</a> on architectural lessons from Data Science engagements, this post shares details of solution architecture that has helped scale R Shiny applications at an economical cost.</p><p><strong>R Shiny for Interactive Dashboards</strong></p><p>Organizations incur no license fees to build, use, or distribute R applications. Over the years, this open-source ecosystem of R has been the catalyst for its wide adoption in academia and enterprises alike. Shiny offers an R package to visualize the results of R analysis quickly. The Shiny distribution includes R Shiny Server, a Linux based web server program to host Shiny apps as web applications.</p><p>Shiny apps follow a simple structure, are mostly contained in a single R script (app.R) that implements two essential parts, the <em>UI</em> and <em>Server functions</em>. The UI owns the display, captures user input, and passes to the server function. The server function calculates the output and hands it back to the UI for rendering. Shiny offers a family of built-in functions to build out UI widgets and server components. The UI and server components make up the Shiny app. The simple app structure makes it easy to build, distribute, and host Shiny applications.</p><p>Shiny inherently uses a reactive programming model. After initializing the application once, Shiny recalculates reactive R expressions only when a user changes any input value in UI widgets. Triggered by user actions, UI renders the recalculated output from the Server function. The reactive programming model optimizes the application’s execution path making Shiny a compelling choice for generating highly interactive visuals.</p><p>Shiny makes it easy to visualize results as interactive dashboards. Sharing the application as-is requires users to have an R environment to execute the R scripts. Hosting the Shiny application using the R Shiny server opens up for web-based access to a much larger group of users without imposing requirements for any client-side software.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*FZISjF0BYc2ySLsC" /><figcaption>Photo by <a href="https://unsplash.com/@adrien_wiesenbach?utm_source=medium&amp;utm_medium=referral">Adrien WIESENBACH</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Challenges Scaling R Shiny Applications</strong></p><p>Typically, organizations kick start multiple data science initiatives as exploratory projects seeking to derive new insights from data. Compelled by the time-to-value offered by R and Shiny, the data scientists leverage the open-source stack for accelerated analysis and visualization of results. For an application that gains traction, the logical next step is to initiate a production rollout. The organization has to now scale the exploratory desktop analysis to a more visible and widely used enterprise application.</p><p>The open-source R kernel is single-threaded, lacks parallelism, and drives only one CPU core. A single instance of the R process cannot scale beyond a single CPU core. The R Shiny server launches one R process per web application to serve all the user requests. The back-end R process constrains the number of concurrent users a Shiny application can support. The inherent limitation of R impacts the scalability of R Shiny applications.</p><p><strong>Commercial Offerings Scale R Shiny at High Price Point</strong></p><p>Software vendors like RStudio and others may offer enhanced R offerings with enterprise-class features. Organizations looking to leverage their R investments at scale subscribe to the commercial offerings.</p><p>R Shiny Server Pro from RStudio is one such offering to scale Shiny applications with enterprise-class features. The server launches an R process for every user request. The multi-process implementation scales the Shiny application to as many concurrent users as the underlying system resources can support. Subscriptions to commercial offerings may incur significant licensing fees. At the time of writing this blog, the listed price for R Shiny Pro is around $10k/year for 20 concurrent users. To scale an R Shiny application for a thousand users would theoretically incur half a million dollars in licensing fees.</p><p><strong>Scaling R Shiny Applications with Cloud Native Architecture</strong></p><p>Microservices based cloud-native architectures have proven to be useful building blocks for engineering highly scalable software applications. The design builds self-contained services that are deployed in containers and managed by a container orchestrator. Docker and Kubernetes are the de-facto standards for containers and container orchestration. Kubernetes manages multiple containers as pods and essentially functions as an operating system for cloud-native applications. With the ability to independently manage lifecycle, scalability, and resource allocation for each of the services, the architecture yields a highly agile software stack.</p><p>The R Shiny application can be scaled using a cloud-native architecture. Typically the nexts step are:</p><ul><li>Package the application code, its dependencies, and R Shiny Server for runtime into a Linux Docker image.</li><li>Deploy the containerized application to a Kubernetes cluster and configure to run multiple replica instances.</li><li>Configure a load balancer service to distribute the incoming requests across the collection of pods.</li></ul><p>The application can be scaled to manage the load by dynamically increasing the number of pods.</p><p><strong>Cloud-Native Solution with Managed Kubernetes on IBM Cloud</strong></p><p>Managed services on cloud platforms offer are perceived as offering the best value. IBM Cloud Kubernetes Service (IKS) is a managed Kubernetes offering to deploy, scale, and manage containerized applications. Here is the solution architecture implemented using IKS clusters on IBM Cloud to scale the R Shiny dashboard.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*fVk3BE9aLJLu8LF_aTuviQ.jpeg" /><figcaption>Cloud-Native Solution for Scaling R Shiny Application on IBM Cloud</figcaption></figure><p>The <a href="https://cloud.ibm.com/docs/cis?topic=cis-getting-started">Global Load Balancer</a> (<a href="https://cloud.ibm.com/docs/cis?topic=cis-getting-started">CIS</a>) directs public traffic for the application’s domain URL to the two <a href="https://cloud.ibm.com/docs/containers?topic=containers-getting-started">IKS</a> clusters. The multi-node IKS clusters provisioned in two regions with nodes spanning across three zones help ensure high availability. The Load Balancer service (<a href="https://cloud.ibm.com/docs/containers?topic=containers-vpc-lbaas">VPC Load Balancer</a>) configured for each IKS cluster directs incoming traffic to <a href="https://cloud.ibm.com/docs/containers?topic=containers-ingress-about">Ingress ALBs</a> (Application Load Balancer) across the zones. The Ingress ALB routes traffic to pods in nodes using cookie-based session affinity. All requests from a user session go to the same pod. The nodes are sized for every pod to have at most 2 CPU cores to accommodate single-threaded constraints of R. Scaling the number of pods will handle the growing load.</p><p>IBM’s <a href="https://www.ibm.com/products/cloud-pak-for-data">Cloud Pak for Data</a> includes RStudio IDE tooling to drive end-to-end Data Science. RStudio is the development IDE in the solution. The custom <a href="https://cloud.ibm.com/docs/ContinuousDelivery?topic=ContinuousDelivery-toolchains_getting_started">Toolchain</a> in IBM Cloud implements a CICD pipeline to automate the DevOps cycle between RStudio and IKS Clusters.</p><p><strong>Cloud-Native Implementations Offer Cost-Efficient Solutions</strong></p><p>The cloud-native implementation leverages open-source R to scale the Shiny application. The solution does not incur any licensing fees for R software. The managed Kubernetes (IKS) on IBM Cloud offers an attractive price point to build a highly scalable solution. The three-node IKS clusters across the two regions hosting 12 pods would cost less than $15K per year. For a moderately intensive Shiny dashboard, the configuration could support up to 1000 users.</p><p><strong>Summary</strong></p><p>R and Shiny are popular tools to analyze data and visualize insights quickly. The single-threaded implementation of open-source R kernel constrains the scalability of R Shiny applications. Scaling R Shiny applications with commercial offerings may incur high licensing costs. The cloud-native implementation offers a cost-efficient solution to scale R Shiny applications.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b32d56b24f03" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibm-data-ai/scaling-r-shiny-applications-b32d56b24f03">Scaling R Shiny Applications:</a> was originally published in <a href="https://medium.com/ibm-data-ai">IBM Data Science in Practice</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Economics of Scaling Machine Learning Workloads — Part II]]></title>
            <link>https://medium.com/ibm-data-ai/economics-of-scaling-machine-learning-workloads-999f74d21aa?source=rss-47c5fd8e21af------2</link>
            <guid isPermaLink="false">https://medium.com/p/999f74d21aa</guid>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Siva Anne]]></dc:creator>
            <pubDate>Thu, 28 May 2020 20:31:01 GMT</pubDate>
            <atom:updated>2021-05-25T02:56:01.514Z</atom:updated>
            <content:encoded><![CDATA[<h3>Economics of Scaling Machine Learning Workloads — Part II</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8DbC0rxpdsjbeMnEhZU5QQ.jpeg" /></figure><p><strong>Architectural Lessons from Data Science Engagements</strong></p><p>The two-part blog series shares architectural lessons from multiple data science engagements. The <a href="https://medium.com/@siva.anne/economics-of-scaling-machine-learning-workloads-224d76352ec4">first part</a> of this blog series focused on factors impacting the scalability of ML solutions. The second part looks at solution architectures that help address the critical challenge of optimizing costs associated with scaling machine learning workloads.</p><p><strong>Optimizing Compute Costs for ML at Scale</strong></p><p>Machine learning workloads operating on data at scale require tremendous computing resources. Organizations looking to drive high volume ML workloads can often incur high computing costs. Compelled by frugal IT operations budgets, enterprises face the necessity to optimize compute costs of large scale ML workloads.</p><p>Using a multi-stage, end-to-end ML pipeline as a reference, let’s look at what I consider to be best practice architectures to scale the pipeline and optimize computing costs.</p><p><strong>Reference ML Pipeline</strong></p><p>Here is a sample ML pipeline with end-to-end stages to train and score on terabyte-scale datasets.</p><p>· <em>Stage 1: Create sample dataset from data sources</em></p><p>· <em>Stage 2: Select features using sample dataset</em></p><p>· <em>Stage 3: Create training dataset with selected features</em></p><p>· <em>Stage 4: Train ML model on the training dataset</em></p><p>· <em>Stage 5: Create universe dataset for Scoring</em></p><p>· <em>Stage 6: Score universe dataset</em></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/926/1*FxxSaRa64PhB4o0foIAp3g.png" /></figure><p><strong>Scalable Implementation for the ML Pipeline</strong></p><p>In the reference implementation, the ML pipeline scales to process large datasets using a combination of traditional data science techniques and scalable architectures. Horizontally scalable architectures have proven to be better than vertical scalability, as they offer higher flexibility, fault tolerance, and near unlimited scale. The pipeline uses Apache Spark as a horizontally scalable, distributed data processing engine to scale all ML stages. Statistically, adequate sampling has been a proven technique to scale down big data. The data preparation stages capture representative samples for feature selection. The training and scoring stages of the pipeline scale using distributed XGBoost as the model.</p><p>The end-to-end pipeline is built, run, and managed from an enterprise Data Science platform realized with IBM’s <a href="https://www.ibm.com/products/cloud-pak-for-data">Cloud Pak for Data</a>. Cloud Pak for Data offers flexible deployment options for on-premises or any cloud platform. The pipeline executes as a series of scheduled jobs that drive processing on external Spark clusters. The architectural choice of using external compute clusters for Spark can provide immense flexibility to handle scale with the opportunity to optimize costs.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/606/1*nUt1GYW1glIvTLFmRvCQOQ.png" /></figure><p><strong>Optimizing the Economics of Spark Computing</strong></p><p>Apache Spark scales the processing horizontally by running multiple executors on a cluster of nodes. The executors drive distributed, parallel computations on data. The type of executor nodes and the number of nodes determine the compute capacity of a Spark cluster. The compute capacity is scaled by adding compute nodes to the cluster. Higher volumes of ML workload demand higher compute capacity driving up the operational costs.</p><p>The widespread adoption of Spark has led to multiple implementations, targeting both on-premises and cloud platforms. Each variant of Spark offers different levels of flexibility to add nodes or run numerous workloads at scale. The operating costs incurred for Spark computing will vary based on the variant of Spark adopted to drive the workloads.</p><p>From the need to keep operating costs flexible, cloud services often offer the best economics. Let’s look at a few best practices to optimize Spark computing costs using cloud services.</p><p><strong>Dynamically Provision Spark Clusters with Auto Scale</strong></p><p>A natural first step to contain costs is to dynamically provision Spark clusters, enable autoscale, and terminate the cluster on job completion. Cloud platforms allow programmatic provisioning and termination of Spark clusters with support for Python SDKs, APIs. They also integrate auto-provisioning and immediate termination of the cluster into the ML pipeline jobs to minimize idling costs. Automated dynamic provisioning ensures that costs are based on usage / consumption.</p><p><strong>Size the Cluster Nodes to Match Resource Needs of Spark Job</strong></p><p>Compute resources define CPU, Memory, and I/O capacity. Typically, all Spark jobs of an ML pipeline are not identical in resource needs. Some jobs are memory intensive, while others are CPU or I/O intensive. A series of test runs will help profile the resource needs of Spark jobs in each ML stage. Optimize computing costs by provisioning a cluster that closely meets the resource requirements of each stage. In the reference ML pipeline, the Stages 1, 3, and 5 are bound by memory more than CPU, unlike other stages. Automating the ML stages using right-sized clusters can provide cost savings.</p><p><strong>Leverage Cheap, Transient Compute Nodes for Spark Cluster</strong></p><p>Cloud platforms offer transient compute nodes, like EC2 spot instances on AWS or transient nodes on IBM Cloud. The transient nodes are provided at a compelling price point, usually at steep discounts of 60% or more, to drive utilization of the excess capacity available in the cloud. These compute nodes offer the opportunity to drive significant savings in operational costs for Spark computing.</p><p>While the transient nodes are cheap, their continuous availability is not guaranteed. The transient nodes can be reclaimed anytime. Using transient compute nodes in the Spark cluster could lead to potential job failures when nodes get reclaimed. Even with the built-in fault tolerance of Spark, the long-running jobs will fail to complete after a few retries if the cluster loses its compute nodes. The ML pipeline must resubmit failed Spark jobs. Essentially this is a trade-off; the dollar savings realized are at the cost of reliable execution for Spark jobs. For workloads that are less sensitive to job completion times, the transient nodes can offer remarkable cost savings.</p><p><strong>Architect Spark Jobs for Higher Resiliency</strong></p><p>Spark reruns the tasks assigned to lost executors on reclaimed transient nodes. For long-running jobs, this leads to an all-or-nothing situation. Each ML stage in the reference pipeline implements processing using a single Spark session. A failed Spark job requires the entire ML stage computations to be re-executed. Breaking each stage into a chain of much smaller Spark jobs, we increase the resiliency levels. In parallel, we tune the retry attempts by Spark before it fails a job. With highly resilient Spark jobs, we can leverage the cost savings of transient nodes for most workloads.</p><p><strong>Manage Spark Jobs Efficiently on Shared Cluster</strong></p><p>Running Spark jobs on shared clusters will optimize costs. Every Spark implementation uses a resource manager to manage jobs on a cluster, e.g., Spark on Hadoop uses YARN, and Spark on Mesos uses Mesos as a resource manager. The workload management capabilities vary with each resource manager.</p><p>IBM <a href="https://www.ibm.com/products/spark-workload-management">Spectrum Conductor</a> (part of <a href="https://www.ibm.com/support/knowledgecenter/en/SSFHA8_1.2.0/wmla_overview.html">WML Accelerator</a>) uses EGO (Enterprise Grid Orchestrator) as a resource manager to manage Spark, Deep Learning, and Mongo workloads on HPC clusters. The Conductor offers the <a href="https://www.stacresearch.com/IBM170405">best</a> workload management with support for sophisticated policies to share resources, manage concurrent workloads with priority groups, and burst to any cloud provider for dynamic compute capacity. Here is the reference ML pipeline with Spark jobs directed to the Conductor cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/662/1*mZApgcL4wdT0thA1Pdbb5Q.png" /><figcaption>Scaling compute with cloud burst from Spectrum Conductor.</figcaption></figure><p>The Conductor hosts multiple Spark Instance Groups (SIG). Each SIG is assigned with cluster resources optimized to run different types of Spark jobs. Each stage in the ML pipeline submits the Spark jobs to the SIG optimized for the stage. The SIG uses <a href="https://www.ibm.com/developerworks/community/blogs/281605c9-7369-46dc-ad03-70d9ad377480/entry/Hybrid_cloud_capability_IBM_Spectrum_Conductor_with_Spark_2_2_1?lang=en">cloud burst</a> capability to provision cheap and transient computing nodes from IBM, AWS, or Azure. The unique, enterprise-class capabilities in Conductor drive significant cost savings for running Spark workloads at scale for on-premises, cloud, or hybrid cloud environments. For the reference ML workload, the Conductor configuration typically realized 40% savings in computing costs at high volumes.</p><p><strong>Use Serverless Compute for Spark Processing</strong></p><p>The serverless computing approach runs code on request, hides infrastructure details, scales transparently with demands, and generally gives better performance for workloads that gain from parallel processing. Serverless often offers the best of cloud benefits. The pricing is based on a per-request basis, making it the most cost-effective form of computing.</p><p>In the reference ML pipeline, data processing across stages is primarily a mix of SQL and ML operations. The Stages 1, 3, and 5 prepare and transform datasets with Spark SQL operations. Stage 4 trains and Stage 6 scores the model driving ML operations. And, Stages 3 and 5 have the potential to be executed in parallel to optimize pipeline execution times.</p><p>IBM Cloud offers serverless SQL processing with <a href="https://www.ibm.com/cloud/sql-query">SQL Query Service</a> priced at a few dollars<em> per TB</em><strong> </strong>of processed data. The service is priced based on volumes of data processed. In comparison, a moderately sized Spark cluster can cost multiple times more per hr with the total cost going up based on job execution times. By implementing pipeline stages 1, 3, 5 to use serverless SQL processing coupled with executing stages 3 and 5 in parallel can yield faster execution times and cost savings compared to using provisioned Spark clusters. Here is the implementation of ML pipeline with SQL processing stages using SQL Query service and ML processing stages targeted to the Spark cluster.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/601/1*xHDoE_JEUsAqa47eM-TMAg.png" /></figure><p>For the reference ML workload, the SQL Query implementation can reduce the computing costs by a factor of 8x to 20x across the three stages. As a guiding principle, architecting ML pipelines to use serverless computing for end-to-end processing will help build the most cost-effective solutions.</p><p><strong>Summary</strong></p><p>Apache Spark has emerged as the natural choice for scalable data processing in ML pipelines. Running ML workloads at scale incur high computing costs. Enterprises are challenged by budget constraints to contain the Spark computing costs for running ML workloads at scale. Dynamically provisioned, right-sized compute clusters with deeply discounted transient compute nodes on cloud help optimize the costs. Efficient cluster resource managers like IBM Spectrum Conductor and serverless computing services like IBM SQL Query service help maximize the savings.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=999f74d21aa" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibm-data-ai/economics-of-scaling-machine-learning-workloads-999f74d21aa">Economics of Scaling Machine Learning Workloads — Part II</a> was originally published in <a href="https://medium.com/ibm-data-ai">IBM Data Science in Practice</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Economics of Scaling Machine Learning Workloads — Part I]]></title>
            <link>https://medium.com/ibm-data-ai/economics-of-scaling-machine-learning-workloads-224d76352ec4?source=rss-47c5fd8e21af------2</link>
            <guid isPermaLink="false">https://medium.com/p/224d76352ec4</guid>
            <category><![CDATA[automation]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[scalability]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <dc:creator><![CDATA[Siva Anne]]></dc:creator>
            <pubDate>Fri, 22 May 2020 02:43:32 GMT</pubDate>
            <atom:updated>2021-05-25T02:51:59.045Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong>Economics of Scaling Machine Learning Workloads — Part I</strong></h3><p><strong>Architectural Lessons from Data Science Engagements</strong></p><p>The rise of the digital era has been fueling a data explosion and the adoption of AI across all industries. With access to growing volumes of data, organizations are looking to build scalable machine learning (ML) solutions that can process massive datasets. Processing at scale imposes a unique set of challenges, and enterprises of all sizes are compelled to engineer solutions than not only scale but optimize the associated costs of running the workloads.</p><p>Based on learnings from Data Science engagements, the two-part blog series attempts to summarize solution architectures that help address the critical challenge of optimizing costs associated with scaling machine learning workloads.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*9INlAioxIlwgcOmE" /><figcaption>Photo by <a href="https://unsplash.com/@sapegin?utm_source=medium&amp;utm_medium=referral">Artem Sapegin</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p><strong>Scaling Machine Learning</strong></p><p>An end-to-end machine learning workload is a multi-stage workflow with stages across data preparation, feature engineering, model training, and model scoring. Scaling machine learning requires capabilities to scale every phase of the workflow.</p><p>Multiple factors impact the scalability of an end-to-end machine learning solution.</p><p><strong>Scalable ML Framework</strong></p><p>Machine learning has existed for years, but the renewed adoption of AI at scale has led to a massive increase in the evolution of multiple ML Frameworks. In recent years, the choice of innovative ML algorithms has only accelerated further with significant contributions from open source communities.</p><p>Typically, factors like use case, support for a specific language (Python, R, Java, or C/C++), performance, and community support influence the choice of ML framework. While ML frameworks like Spark MLlib, TensorFlow, Caffe, and PyTorch scale inherently across systems, the popular Python framework Scikit-learn is limited to a single machine. This limitation imposes constraints for training or scoring datasets that don’t fit into the memory of a single node.</p><p>For some models and datasets, the learning curve levels off after a specific data size and training on more data do not yield improved performance. In such cases, using a sampling approach, the ML pipeline can train on <em>sampled datasets</em> that are representative subsets of the entire data. Other alternatives to scale Scikit-learn require using either Scikit-learn’s out-of-core API with mini-batches of data or ‘<em>Dask</em>.’ Dask implements a flexible library to scale Python across a cluster of nodes by parallelizing computations. Python packages like Numpy, Pandas, Scikit-learn, XGBoost can be scaled with minimum rewrites.</p><p>The inherent capability of a ML framework to scale beyond a single system is critical for building scalable machine learning solutions.</p><p><strong>Scalable Data Processing</strong></p><p>The data preparation and transformation stages of an end-to-end machine learning workflow drives data processing requirements. As the data scale increases, machine learning solutions must build on scalable data pipelines for data processing.</p><p>Distributed computing frameworks like Apache Spark, Apache Flink, and Presto parallelize operations across a cluster to drive data processing at scale. <em>Apache Spark</em> offers a unified analytics engine for SQL, ML, Graph, and Stream processing of data. Apache Flink is best known for its continuous flow operators for realtime processing of streaming data. Presto is primarily a distributed SQL query engine that highly parallelizes queries for best performance on big data.</p><p>Apache Spark leads the pack as a popular choice for most implementations. While enterprise database vendors offer optimized Spark connectors to push down SQL processing for boosting performance, popular ML packages like XGBoost and LightGBM have distributed implementations for Spark, making it a natural choice. With support for an extensive range of data sources, data formats, and language environments, Apache Spark has become the standard for scaling data processing in ML pipelines.</p><p><strong>Dynamic, High Compute Capacity</strong></p><p>High compute resources are essential to driving performance at scale. The economics associated with owning high compute resources compels organizations to either share on-premises HPC clusters across workloads or leverage cloud computing. Cloud offers flexible, on-demand compute capacity at economic price-points.</p><p>Scaling machine learning requires engineering pipelines to either leverage shared, on-premises HPC clusters or burst to cloud and use dynamically provisioned, on-demand compute resources.</p><p>Beyond the technical essentials, the enterprise IT landscape imposes additional factors that impact the viability of machine learning workloads.</p><p><strong>Flexible Deployment for On-Premises or Hybrid Cloud or Multi-Cloud</strong></p><p>For most enterprise organizations, all their data does not exist in one place. And for many industries, regulatory compliance and security requirements restrict the moving of data. The enterprise constraints, coupled with the gravity of data at scale, demands that ML processing must move closer to data rather than moving data around. Some workloads are best fit for public or private cloud while some are best fit for on-premises or hybrid cloud.</p><p>For enterprises, business needs may mandate flexibility in the deployment of ML workloads. In addition to architecting for scale, machine learning solutions need to execute in on-premises or hybrid Cloud or multi-cloud environments without significant rework.</p><p><strong>Skilled Staff</strong></p><p>Open-source contributions are fueling rapid innovation. Organizations aspiring to adopt the latest innovations must keep up with the need for advanced technical skills. On one end of the spectrum, born in cloud organizations like Netflix, Uber, or Facebook ave been building innovative open software stacks to address their business needs. This approach requires staff with cutting-edge technical skills to build, run, and manage their ML workloads. On the other end of the spectrum are the traditional businesses that rely on off-the-shelf, vendor-built enterprise platforms to build ML solutions as the tools may help lower the skills barrier.</p><p>For organizations of all sizes, access to highly skilled staff is a critical barrier that limits technology choices for building scalable machine learning applications.</p><p><strong>Summary</strong></p><p>Enterprises are faced with building scalable machine learning solutions to process growing volumes of data. Multiple factors like the choice of ML and data processing frameworks, access to scalable compute resources, flexibility in deployment options, and skilled staff impact the scalability of machine learning workloads.</p><p>In the <a href="https://medium.com/@siva.anne/economics-of-scaling-machine-learning-workloads-999f74d21aa">2nd part</a> of the two-part blog series, we’ll look at architectures that optimize computing costs of driving ML workloads at scale.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=224d76352ec4" width="1" height="1" alt=""><hr><p><a href="https://medium.com/ibm-data-ai/economics-of-scaling-machine-learning-workloads-224d76352ec4">Economics of Scaling Machine Learning Workloads — Part I</a> was originally published in <a href="https://medium.com/ibm-data-ai">IBM Data Science in Practice</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>