<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Healthcare Archives - PHYSICS</title>
	<atom:link href="https://physics-faas.eu/category/healthcare/feed/" rel="self" type="application/rss+xml" />
	<link>https://physics-faas.eu/category/healthcare/</link>
	<description>Optimized Hybrid Space-Time Continuum in Faas</description>
	<lastBuildDate>Wed, 12 Jul 2023 10:08:43 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0.6</generator>

<image>
	<url>https://physics-faas.eu/wp-content/uploads/2021/02/cropped-cropped-PHYSICS-logo-32x32.png</url>
	<title>Healthcare Archives - PHYSICS</title>
	<link>https://physics-faas.eu/category/healthcare/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Deploying healthcare ML functions in the PHYSICS way</title>
		<link>https://physics-faas.eu/deploying-healthcare-ml-functions-in-the-physics-way/</link>
		
		<dc:creator><![CDATA[Elina Vasiliki]]></dc:creator>
		<pubDate>Wed, 12 Jul 2023 10:04:27 +0000</pubDate>
				<category><![CDATA[Cloud Computing]]></category>
		<category><![CDATA[Healthcare]]></category>
		<category><![CDATA[FaaS]]></category>
		<category><![CDATA[PHYSICS]]></category>
		<guid isPermaLink="false">https://physics-faas.eu/?p=1936</guid>

					<description><![CDATA[<p>Automatic understanding of patients to drive personalized interventions is becoming important in personalized healthcare, especially when patients are suffering from chronic conditions, ideally spending most of their patient journey away from clinical facilities. In most [&#8230;]</p>
<p>The post <a href="https://physics-faas.eu/deploying-healthcare-ml-functions-in-the-physics-way/">Deploying healthcare ML functions in the PHYSICS way</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div style="height:22px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">Automatic understanding of patients to drive personalized interventions is becoming important in personalized healthcare, especially when patients are suffering from chronic conditions, ideally spending most of their patient journey away from clinical facilities. In most cases using models to infer on patients is a sporadic task, each patient being processed once or a few times per day. Deployed inference services are mostly inactive, occasionally serving bursts of requests. This is a clear indication of benefits that can be achieved if such services are deployed as functions. PHYSICS provides the tools for designing, testing, deploying and evaluating such Functions as a Service (FaaS). Engineers can use the provided Design Environment (DE) to first design their service. The PHYSICS DE integrates Node-RED and extends its palette of nodes, facilitating graphical service implementation as a flow. Some of the nodes do accept Javascript and Python scripts for advanced functionality. The flow can be tested locally, optimized and finalized.</p>



<div style="height:30px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img fetchpriority="high" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2023/07/image.png" alt="" class="wp-image-1937" width="517" height="305" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/image.png 742w, https://physics-faas.eu/wp-content/uploads/2023/07/image-300x177.png 300w" sizes="(max-width: 517px) 100vw, 517px" /><figcaption>An eHealth inference service designed as a Node-RED flow</figcaption></figure></div>



<div style="height:32px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">The DE then provides the means to build the flow into an action that can be invoked within OpenWhisk. A Jenkins pipeline is executed, and as a result, the engineer comes up with a new action from their flow.</p>



<div style="height:22px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="654" height="322" src="https://physics-faas.eu/wp-content/uploads/2023/07/image-1.png" alt="" class="wp-image-1938" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/image-1.png 654w, https://physics-faas.eu/wp-content/uploads/2023/07/image-1-300x148.png 300w" sizes="(max-width: 654px) 100vw, 654px" /><figcaption>An eHealth inference flow converted to actions to be used within OpenWhisk</figcaption></figure></div>



<div style="height:26px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">The deployed actions are then tested via flows dedicated to invoking deployed actions. The outputs of the deployed actions are compared to those of the local flows.</p>



<div style="height:20px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-image"><figure class="aligncenter size-full"><img decoding="async" width="812" height="144" src="https://physics-faas.eu/wp-content/uploads/2023/07/qqqq.png" alt="" class="wp-image-1945" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/qqqq.png 812w, https://physics-faas.eu/wp-content/uploads/2023/07/qqqq-300x53.png 300w, https://physics-faas.eu/wp-content/uploads/2023/07/qqqq-768x136.png 768w" sizes="(max-width: 812px) 100vw, 812px" /><figcaption>Flow for testing deployed actions</figcaption></figure></div>



<div style="height:44px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">Finally, deployed actions can be evaluated under different scenarios implemented using dedicated load generator nodes.</p>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2023/07/image-3.png" alt="" class="wp-image-1940" width="803" height="187" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/image-3.png 936w, https://physics-faas.eu/wp-content/uploads/2023/07/image-3-300x70.png 300w, https://physics-faas.eu/wp-content/uploads/2023/07/image-3-768x179.png 768w" sizes="auto, (max-width: 803px) 100vw, 803px" /><figcaption>Flow for generating and evaluating different load scenarios for deployed actions</figcaption></figure></div>



<div style="height:55px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">The results of such tests can be as follows, where experiments last 2 minutes continuous requests, each request arriving at a fixed delay after the previous. As long as the delays are larger than the inference time, the achieved rate follows the increase of that of a system with infinite resources. When the delay drops below the execution time, then the achieved rate reaches a plateau. Even more frequent requests push Openwhisk beyond the accepted maximum request level, dropping the requests, resulting to a performance collapse.</p>



<div style="height:51px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-image"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2023/07/image-4.png" alt="" class="wp-image-1941" width="482" height="300" srcset="https://physics-faas.eu/wp-content/uploads/2023/07/image-4.png 562w, https://physics-faas.eu/wp-content/uploads/2023/07/image-4-300x187.png 300w" sizes="auto, (max-width: 482px) 100vw, 482px" /><figcaption>Evaluating achieved response rate for different inter-request delays</figcaption></figure></div>



<hr class="wp-block-separator"/>
<p>The post <a href="https://physics-faas.eu/deploying-healthcare-ml-functions-in-the-physics-way/">Deploying healthcare ML functions in the PHYSICS way</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
		<item>
		<title>FaaS-ification in Health Care</title>
		<link>https://physics-faas.eu/faas-ification-in-health-care/</link>
		
		<dc:creator><![CDATA[Elina Vasiliki]]></dc:creator>
		<pubDate>Tue, 18 Oct 2022 08:44:27 +0000</pubDate>
				<category><![CDATA[FaaS]]></category>
		<category><![CDATA[Healthcare]]></category>
		<category><![CDATA[Node-Red]]></category>
		<guid isPermaLink="false">https://physics-faas.eu/?p=1426</guid>

					<description><![CDATA[<p>Personalized healthcare requires decision support systems that can help healthcare professionals to manage large volumes of patients. </p>
<p>The post <a href="https://physics-faas.eu/faas-ification-in-health-care/">FaaS-ification in Health Care</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p class="wp-block-paragraph">Why and how?</p>



<div style="height:22px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">Personalized healthcare requires decision support systems that can help healthcare professionals to manage large volumes of patients. Care for chronic conditions requires doing so for patients at their everyday setting, outside the clinical environment. These needs can only be addressed with AI systems, at the core of which models trained by ML can be found. Such systems are deployed to offer diverse services, such as model inference for patient outcomes’ prediction, patient clustering into phenotypes and dataset augmentation with synthetic arms.</p>



<p class="wp-block-paragraph">The traditional deployments of such systems in healthcare suffer from scaling. Deployment is a lengthy procedure, certainly aided by modern CI/CD pipelines, but the resulting systems are quite static in terms of resources, while occupying them even during quiet times.</p>



<p class="wp-block-paragraph"></p>



<p class="wp-block-paragraph">PHYSICS facilitates the design and deployment of these services. It provides a design environment to implement and deploy the services. The starting point is an AI function implemented in Python at the core, which constitutes a node in complete Node-RED flows built around it using more (Javascript) functions and PHYSICS patterns to handle input and output.</p>



<p class="wp-block-paragraph">Node-RED offers developers the means to locally test the flow, using additional nodes for user input, and invocation. Local testing is handy during the implementation phase.</p>



<p class="wp-block-paragraph">Still using the design environment, locally tested flows are then deployed as functions to expose the health care services. PHYSICS annotation nodes control the deployment options at the flow level.</p>



<p class="wp-block-paragraph">Thus, the flows employed for defining testing and deploying healthcare services are usually split in three sections. The endpoints definition section defines two POST endpoints, the /run with the service core, and the /init for any initialization. The manual invocation section facilitates local testing by sending a request to the /run endpoint. Finally, the annotations section controls the deployment options. The sections are shown in the flow depicted below:</p>



<div style="height:23px" aria-hidden="true" class="wp-block-spacer"></div>



<div class="wp-block-image is-style-default"><figure class="aligncenter size-full is-resized"><img loading="lazy" decoding="async" src="https://physics-faas.eu/wp-content/uploads/2022/10/image-5.png" alt="" class="wp-image-1427" width="822" height="627" srcset="https://physics-faas.eu/wp-content/uploads/2022/10/image-5.png 936w, https://physics-faas.eu/wp-content/uploads/2022/10/image-5-300x229.png 300w, https://physics-faas.eu/wp-content/uploads/2022/10/image-5-768x586.png 768w" sizes="auto, (max-width: 822px) 100vw, 822px" /></figure></div>



<div style="height:24px" aria-hidden="true" class="wp-block-spacer"></div>



<p class="wp-block-paragraph">The healthcare services being implemented in the PHYSICS FaaS way are:</p>



<ul class="wp-block-list"><li>Predictive model inference: Load feature vectors and a predictive model into an inference engine to get inference results.</li><li>Patient phenotyping: Load feature vectors and a set of generative models (describing patient clusters) into a system that return the model best describing each vector.</li><li>Data synthesis: Load a set of generative models and a model transition probability matrix into a system that draws vectors from the generative models, following a model activation pattern as described by the transition probability.</li></ul>



<p class="wp-block-paragraph">Currently, the first flow is implemented, tested and deployed. It is now undergoing testing to showcase the benefits of the PHYSICS approach in terms of handling rapid small requests by merging them into larger ones. The rest of the flows are under initial implementation. Stay tuned for more news on our progress!</p>
<p>The post <a href="https://physics-faas.eu/faas-ification-in-health-care/">FaaS-ification in Health Care</a> appeared first on <a href="https://physics-faas.eu">PHYSICS</a>.</p>
]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
