Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease.

preprint OA: closed
Full text JSON View at publisher
Full text 231,581 characters · extracted from preprint-html · click to expand
Explainable Transfer Learning with Residual... | F1000Research "use strict";function _typeof(t){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(t)}!function(){var t=function(){var t,e,o=[],n=window,r=n;for(;r;){try{if(r.frames.__tcfapiLocator){t=r;break}}catch(t){}if(r===n.top)break;r=r.parent}t||(!function t(){var e=n.document,o=!!n.frames.__tcfapiLocator;if(!o)if(e.body){var r=e.createElement("iframe");r.style.cssText="display:none",r.name="__tcfapiLocator",e.body.appendChild(r)}else setTimeout(t,5);return!o}(),n.__tcfapi=function(){for(var t=arguments.length,n=new Array(t),r=0;r 3&&2===parseInt(n[1],10)&&"boolean"==typeof n[3]&&(e=n[3],"function"==typeof n[2]&&n[2]("set",!0)):"ping"===n[0]?"function"==typeof n[2]&&n[2]({gdprApplies:e,cmpLoaded:!1,cmpStatus:"stub"}):o.push(n)},n.addEventListener("message",(function(t){var e="string"==typeof t.data,o={};if(e)try{o=JSON.parse(t.data)}catch(t){}else o=t.data;var n="object"===_typeof(o)&&null!==o?o.__tcfapiCall:null;n&&window.__tcfapi(n.command,n.version,(function(o,r){var a={__tcfapiReturn:{returnValue:o,success:r,callId:n.callId}};t&&t.source&&t.source.postMessage&&t.source.postMessage(e?JSON.stringify(a):a,"*")}),n.parameter)}),!1))};"undefined"!=typeof module?module.exports=t:t()}(); dataLayer = dataLayer || []; // Standard GTM initialization - Google Consent Mode handles consent automatically (function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0], j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= 'https://www.googletagmanager.com/gtm.js?id='+i+dl+ '>m_auth=hzk0Vc3qFsQYhCrIoHz68A>m_preview=env-1>m_cookies_win=x';f.parentNode.insertBefore(j,f); })(window,document,'script','dataLayer','GTM-MWFK8L5J'); ;window.NREUM||(NREUM={});NREUM.init={distributed_tracing:{enabled:true},privacy:{cookies_enabled:true},ajax:{deny_list:["bam.nr-data.net"]}}; ;NREUM.loader_config={accountID:"438030",trustKey:"438030",agentID:"772317073",licenseKey:"97f8f67f26",applicationID:"772317073"} ;NREUM.info={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net",licenseKey:"97f8f67f26",applicationID:"772317073",sa:1} ;/*! For license information please see nr-loader-spa-1.236.0.min.js.LICENSE.txt */ (()=>{"use strict";var e,t,r={5763:(e,t,r)=>{r.d(t,{P_:()=>l,Mt:()=>g,C5:()=>s,DL:()=>v,OP:()=>T,lF:()=>D,Yu:()=>y,Dg:()=>h,CX:()=>c,GE:()=>b,sU:()=>_});var n=r(8632),i=r(9567);const o={beacon:n.ce.beacon,errorBeacon:n.ce.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0},a={};function s(e){if(!e)throw new Error("All info objects require an agent identifier!");if(!a[e])throw new Error("Info for ".concat(e," was never set"));return a[e]}function c(e,t){if(!e)throw new Error("All info objects require an agent identifier!");a[e]=(0,i.D)(t,o),(0,n.Qy)(e,a[e],"info")}var u=r(7056);const d=()=>{const e={blockSelector:"[data-nr-block]",maskInputOptions:{password:!0}};return{allow_bfcache:!0,privacy:{cookies_enabled:!0},ajax:{deny_list:void 0,enabled:!0,harvestTimeSeconds:10},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},session:{domain:void 0,expiresMs:u.oD,inactiveMs:u.Hb},ssl:void 0,obfuscate:void 0,jserrors:{enabled:!0,harvestTimeSeconds:10},metrics:{enabled:!0},page_action:{enabled:!0,harvestTimeSeconds:30},page_view_event:{enabled:!0},page_view_timing:{enabled:!0,harvestTimeSeconds:30,long_task:!1},session_trace:{enabled:!0,harvestTimeSeconds:10},harvest:{tooManyRequestsDelay:60},session_replay:{enabled:!1,harvestTimeSeconds:60,sampleRate:.1,errorSampleRate:.1,maskTextSelector:"*",maskAllInputs:!0,get blockClass(){return"nr-block"},get ignoreClass(){return"nr-ignore"},get maskTextClass(){return"nr-mask"},get blockSelector(){return e.blockSelector},set blockSelector(t){e.blockSelector+=",".concat(t)},get maskInputOptions(){return e.maskInputOptions},set maskInputOptions(t){e.maskInputOptions={...t,password:!0}}},spa:{enabled:!0,harvestTimeSeconds:10}}},f={};function l(e){if(!e)throw new Error("All configuration objects require an agent identifier!");if(!f[e])throw new Error("Configuration for ".concat(e," was never set"));return f[e]}function h(e,t){if(!e)throw new Error("All configuration objects require an agent identifier!");f[e]=(0,i.D)(t,d()),(0,n.Qy)(e,f[e],"config")}function g(e,t){if(!e)throw new Error("All configuration objects require an agent identifier!");var r=l(e);if(r){for(var n=t.split("."),i=0;i {r.d(t,{D:()=>i});var n=r(50);function i(e,t){try{if(!e||"object"!=typeof e)return(0,n.Z)("Setting a Configurable requires an object as input");if(!t||"object"!=typeof t)return(0,n.Z)("Setting a Configurable requires a model to set its initial properties");const r=Object.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),o=0===Object.keys(r).length?e:r;for(let a in o)if(void 0!==e[a])try{"object"==typeof e[a]&&"object"==typeof t[a]?r[a]=i(e[a],t[a]):r[a]=e[a]}catch(e){(0,n.Z)("An error occurred while setting a property of a Configurable",e)}return r}catch(e){(0,n.Z)("An error occured while setting a Configurable",e)}}},6818:(e,t,r)=>{r.d(t,{Re:()=>i,gF:()=>o,q4:()=>n});const n="1.236.0",i="PROD",o="CDN"},385:(e,t,r)=>{r.d(t,{FN:()=>a,IF:()=>u,Nk:()=>f,Tt:()=>s,_A:()=>o,il:()=>n,pL:()=>c,v6:()=>i,w1:()=>d});const n="undefined"!=typeof window&&!!window.document,i="undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),o=n?window:"undefined"!=typeof WorkerGlobalScope&&("undefined"!=typeof self&&self instanceof WorkerGlobalScope&&self||"undefined"!=typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),a=""+o?.location,s=/iPad|iPhone|iPod/.test(navigator.userAgent),c=s&&"undefined"==typeof SharedWorker,u=(()=>{const e=navigator.userAgent.match(/Firefox[/\s](\d+\.\d+)/);return Array.isArray(e)&&e.length>=2?+e[1]:0})(),d=Boolean(n&&window.document.documentMode),f=!!navigator.sendBeacon},1117:(e,t,r)=>{r.d(t,{w:()=>o});var n=r(50);const i={agentIdentifier:"",ee:void 0};class o{constructor(e){try{if("object"!=typeof e)return(0,n.Z)("shared context requires an object as input");this.sharedContext={},Object.assign(this.sharedContext,i),Object.entries(e).forEach((e=>{let[t,r]=e;Object.keys(i).includes(t)&&(this.sharedContext[t]=r)}))}catch(e){(0,n.Z)("An error occured while setting SharedContext",e)}}}},8e3:(e,t,r)=>{r.d(t,{L:()=>d,R:()=>c});var n=r(2177),i=r(1284),o=r(4322),a=r(3325);const s={};function c(e,t){const r={staged:!1,priority:a.p[t]||0};u(e),s[e].get(t)||s[e].set(t,r)}function u(e){e&&(s[e]||(s[e]=new Map))}function d(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"",t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"feature";if(u(e),!e||!s[e].get(t))return a(t);s[e].get(t).staged=!0;const r=[...s[e]];function a(t){const r=e?n.ee.get(e):n.ee,a=o.X.handlers;if(r.backlog&&a){var s=r.backlog[t],c=a[t];if(c){for(var u=0;s&&u {let[t,r]=e;return r.staged}))&&(r.sort(((e,t)=>e[1].priority-t[1].priority)),r.forEach((e=>{let[t]=e;a(t)})))}function f(e,t){var r=e[1];(0,i.D)(t[r],(function(t,r){var n=e[0];if(r[0]===n){var i=r[1],o=e[3],a=e[2];i.apply(o,a)}}))}},2177:(e,t,r)=>{r.d(t,{c:()=>f,ee:()=>u});var n=r(8632),i=r(2210),o=r(1284),a=r(5763),s="nr@context";let c=(0,n.fP)();var u;function d(){}function f(e){return(0,i.X)(e,s,l)}function l(){return new d}function h(){u.aborted=!0,u.backlog={}}c.ee?u=c.ee:(u=function e(t,r){var n={},c={},f={},g=!1;try{g=16===r.length&&(0,a.OP)(r).isolatedBacklog}catch(e){}var p={on:b,addEventListener:b,removeEventListener:y,emit:v,get:x,listeners:w,context:m,buffer:A,abort:h,aborted:!1,isBuffering:E,debugId:r,backlog:g?{}:t&&"object"==typeof t.backlog?t.backlog:{}};return p;function m(e){return e&&e instanceof d?e:e?(0,i.X)(e,s,l):l()}function v(e,r,n,i,o){if(!1!==o&&(o=!0),!u.aborted||i){t&&o&&t.emit(e,r,n);for(var a=m(n),s=w(e),d=s.length,f=0;fn,p:()=>i});var n=r(2177).ee.get("handle");function i(e,t,r,i,o){o?(o.buffer([e],i),o.emit(e,t,r)):(n.buffer([e],i),n.emit(e,t,r))}},4322:(e,t,r)=>{r.d(t,{X:()=>o});var n=r(5546);o.on=a;var i=o.handlers={};function o(e,t,r,o){a(o||n.E,i,e,t,r)}function a(e,t,r,i,o){o||(o="feature"),e||(e=n.E);var a=t[o]=t[o]||{};(a[r]=a[r]||[]).push([e,i])}},3239:(e,t,r)=>{r.d(t,{bP:()=>s,iz:()=>c,m$:()=>a});var n=r(385);let i=!1,o=!1;try{const e={get passive(){return i=!0,!1},get signal(){return o=!0,!1}};n._A.addEventListener("test",null,e),n._A.removeEventListener("test",null,e)}catch(e){}function a(e,t){return i||o?{capture:!!e,passive:i,signal:t}:!!e}function s(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0;window.addEventListener(e,t,a(r,n))}function c(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2],n=arguments.length>3?arguments[3]:void 0;document.addEventListener(e,t,a(r,n))}},4402:(e,t,r)=>{r.d(t,{Ht:()=>u,M:()=>c,Rl:()=>a,ky:()=>s});var n=r(385);const i="xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx";function o(e,t){return e?15&e[t]:16*Math.random()|0}function a(){const e=n._A?.crypto||n._A?.msCrypto;let t,r=0;return e&&e.getRandomValues&&(t=e.getRandomValues(new Uint8Array(31))),i.split("").map((e=>"x"===e?o(t,++r).toString(16):"y"===e?(3&o()|8).toString(16):e)).join("")}function s(e){const t=n._A?.crypto||n._A?.msCrypto;let r,i=0;t&&t.getRandomValues&&(r=t.getRandomValues(new Uint8Array(31)));const a=[];for(var s=0;s {r.d(t,{Bq:()=>n,Hb:()=>o,oD:()=>i});const n="NRBA",i=144e5,o=18e5},7894:(e,t,r)=>{function n(){return Math.round(performance.now())}r.d(t,{z:()=>n})},7243:(e,t,r)=>{r.d(t,{e:()=>o});var n=r(385),i={};function o(e){if(e in i)return i[e];if(0===(e||"").indexOf("data:"))return{protocol:"data"};let t;var r=n._A?.location,o={};if(n.il)t=document.createElement("a"),t.href=e;else try{t=new URL(e,r.href)}catch(e){return o}o.port=t.port;var a=t.href.split("://");!o.port&&a[1]&&(o.port=a[1].split("/")[0].split("@").pop().split(":")[1]),o.port&&"0"!==o.port||(o.port="https"===a[0]?"443":"80"),o.hostname=t.hostname||r.hostname,o.pathname=t.pathname,o.protocol=a[0],"/"!==o.pathname.charAt(0)&&(o.pathname="/"+o.pathname);var s=!t.protocol||":"===t.protocol||t.protocol===r.protocol,c=t.hostname===r.hostname&&t.port===r.port;return o.sameOrigin=s&&(!t.hostname||c),"/"===o.pathname&&(i[e]=o),o}},50:(e,t,r)=>{function n(e,t){"function"==typeof console.warn&&(console.warn("New Relic: ".concat(e)),t&&console.warn(t))}r.d(t,{Z:()=>n})},2587:(e,t,r)=>{r.d(t,{N:()=>c,T:()=>u});var n=r(2177),i=r(5546),o=r(8e3),a=r(3325);const s={stn:[a.D.sessionTrace],err:[a.D.jserrors,a.D.metrics],ins:[a.D.pageAction],spa:[a.D.spa],sr:[a.D.sessionReplay,a.D.sessionTrace]};function c(e,t){const r=n.ee.get(t);e&&"object"==typeof e&&(Object.entries(e).forEach((e=>{let[t,n]=e;void 0===u[t]&&(s[t]?s[t].forEach((e=>{n?(0,i.p)("feat-"+t,[],void 0,e,r):(0,i.p)("block-"+t,[],void 0,e,r),(0,i.p)("rumresp-"+t,[Boolean(n)],void 0,e,r)})):n&&(0,i.p)("feat-"+t,[],void 0,void 0,r),u[t]=Boolean(n))})),Object.keys(s).forEach((e=>{void 0===u[e]&&(s[e]?.forEach((t=>(0,i.p)("rumresp-"+e,[!1],void 0,t,r))),u[e]=!1)})),(0,o.L)(t,a.D.pageViewEvent))}const u={}},2210:(e,t,r)=>{r.d(t,{X:()=>i});var n=Object.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return e[t];var i=r();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return e[t]=i,i}},1284:(e,t,r)=>{r.d(t,{D:()=>n});const n=(e,t)=>Object.entries(e||{}).map((e=>{let[r,n]=e;return t(r,n)}))},4351:(e,t,r)=>{r.d(t,{P:()=>o});var n=r(2177);const i=()=>{const e=new WeakSet;return(t,r)=>{if("object"==typeof r&&null!==r){if(e.has(r))return;e.add(r)}return r}};function o(e){try{return JSON.stringify(e,i())}catch(e){try{n.ee.emit("internal-error",[e])}catch(e){}}}},3960:(e,t,r)=>{r.d(t,{K:()=>a,b:()=>o});var n=r(3239);function i(){return"undefined"==typeof document||"complete"===document.readyState}function o(e,t){if(i())return e();(0,n.bP)("load",e,t)}function a(e){if(i())return e();(0,n.iz)("DOMContentLoaded",e)}},8632:(e,t,r)=>{r.d(t,{EZ:()=>u,Qy:()=>c,ce:()=>o,fP:()=>a,gG:()=>d,mF:()=>s});var n=r(7894),i=r(385);const o={beacon:"bam.nr-data.net",errorBeacon:"bam.nr-data.net"};function a(){return i._A.NREUM||(i._A.NREUM={}),void 0===i._A.newrelic&&(i._A.newrelic=i._A.NREUM),i._A.NREUM}function s(){let e=a();return e.o||(e.o={ST:i._A.setTimeout,SI:i._A.setImmediate,CT:i._A.clearTimeout,XHR:i._A.XMLHttpRequest,REQ:i._A.Request,EV:i._A.Event,PR:i._A.Promise,MO:i._A.MutationObserver,FETCH:i._A.fetch}),e}function c(e,t,r){let i=a();const o=i.initializedAgents||{},s=o[e]||{};return Object.keys(s).length||(s.initializedAt={ms:(0,n.z)(),date:new Date}),i.initializedAgents={...o,[e]:{...s,[r]:t}},i}function u(e,t){a()[e]=t}function d(){return function(){let e=a();const t=e.info||{};e.info={beacon:o.beacon,errorBeacon:o.errorBeacon,...t}}(),function(){let e=a();const t=e.init||{};e.init={...t}}(),s(),function(){let e=a();const t=e.loader_config||{};e.loader_config={...t}}(),a()}},7956:(e,t,r)=>{r.d(t,{N:()=>i});var n=r(3239);function i(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],r=arguments.length>2?arguments[2]:void 0,i=arguments.length>3?arguments[3]:void 0;return void(0,n.iz)("visibilitychange",(function(){if(t)return void("hidden"==document.visibilityState&&e());e(document.visibilityState)}),r,i)}},1214:(e,t,r)=>{r.d(t,{em:()=>v,u5:()=>N,QU:()=>S,_L:()=>I,Gm:()=>L,Lg:()=>M,gy:()=>U,BV:()=>Q,Kf:()=>ee});var n=r(2177);const i="nr@original";var o=Object.prototype.hasOwnProperty,a=!1;function s(e,t){return e||(e=n.ee),r.inPlace=function(e,t,n,i,o){n||(n="");var a,s,c,u="-"===n.charAt(0);for(c=0;c 2?n-2:0),o=2;o {r(A[T],e,w),r(E[T],e,w)})),r(l._A,"fetch",y),t.on(y+"end",(function(e,r){var n=this;if(r){var i=r.headers.get("content-length");null!==i&&(n.rxSize=i),t.emit(y+"done",[null,r],n)}else t.emit(y+"done",[e],n)})),t}const O={},j=["pushState","replaceState"];function S(e){const t=function(e){return(e||n.ee).get("history")}(e);return!l.il||O[t.debugId]++||(O[t.debugId]=1,s(t).inPlace(window.history,j,"-")),t}var P=r(3239);const C={},R=["appendChild","insertBefore","replaceChild"];function I(e){const t=function(e){return(e||n.ee).get("jsonp")}(e);if(!l.il||C[t.debugId])return t;C[t.debugId]=!0;var r=s(t),i=/[?&](?:callback|cb)=([^&#]+)/,o=/(.*)\.([^.]+)/,a=/^(\w+)(\.|$)(.*)$/;function c(e,t){var r=e.match(a),n=r[1],i=r[3];return i?c(i,t[n]):t[n]}return r.inPlace(Node.prototype,R,"dom-"),t.on("dom-start",(function(e){!function(e){if(!e||"string"!=typeof e.nodeName||"script"!==e.nodeName.toLowerCase())return;if("function"!=typeof e.addEventListener)return;var n=(a=e.src,s=a.match(i),s?s[1]:null);var a,s;if(!n)return;var u=function(e){var t=e.match(o);if(t&&t.length>=3)return{key:t[2],parent:c(t[1],window)};return{key:e,parent:window}}(n);if("function"!=typeof u.parent[u.key])return;var d={};function f(){t.emit("jsonp-end",[],d),e.removeEventListener("load",f,(0,P.m$)(!1)),e.removeEventListener("error",l,(0,P.m$)(!1))}function l(){t.emit("jsonp-error",[],d),t.emit("jsonp-end",[],d),e.removeEventListener("load",f,(0,P.m$)(!1)),e.removeEventListener("error",l,(0,P.m$)(!1))}r.inPlace(u.parent,[u.key],"cb-",d),e.addEventListener("load",f,(0,P.m$)(!1)),e.addEventListener("error",l,(0,P.m$)(!1)),t.emit("new-jsonp",[e.src],d)}(e[0])})),t}var k=r(5763);const H={};function L(e){const t=function(e){return(e||n.ee).get("mutation")}(e);if(!l.il||H[t.debugId])return t;H[t.debugId]=!0;var r=s(t),i=k.Yu.MO;return i&&(window.MutationObserver=function(e){return this instanceof i?new i(r(e,"fn-")):i.apply(this,arguments)},MutationObserver.prototype=i.prototype),t}const z={};function M(e){const t=function(e){return(e||n.ee).get("promise")}(e);if(z[t.debugId])return t;z[t.debugId]=!0;var r=n.c,o=s(t),a=k.Yu.PR;return a&&function(){function e(r){var n=t.context(),i=o(r,"executor-",n,null,!1);const s=Reflect.construct(a,[i],e);return t.context(s).getCtx=function(){return n},s}l._A.Promise=e,Object.defineProperty(e,"name",{value:"Promise"}),e.toString=function(){return a.toString()},Object.setPrototypeOf(e,a),["all","race"].forEach((function(r){const n=a[r];e[r]=function(e){let i=!1;[...e||[]].forEach((e=>{this.resolve(e).then(a("all"===r),a(!1))}));const o=n.apply(this,arguments);return o;function a(e){return function(){t.emit("propagate",[null,!i],o,!1,!1),i=i||!e}}}})),["resolve","reject"].forEach((function(r){const n=a[r];e[r]=function(e){const r=n.apply(this,arguments);return e!==r&&t.emit("propagate",[e,!0],r,!1,!1),r}})),e.prototype=a.prototype;const n=a.prototype.then;a.prototype.then=function(){var e=this,i=r(e);i.promise=e;for(var a=arguments.length,s=new Array(a),c=0;c e())),t};function m(e,t){i.inPlace(t,["onreadystatechange"],"fn-",E)}function b(){var e=this,t=r.context(e);e.readyState>3&&!t.resolved&&(t.resolved=!0,r.emit("xhr-resolved",[],e)),i.inPlace(e,f,"fn-",E)}if(function(e,t){for(var r in e)t[r]=e[r]}(o,p),p.prototype=o.prototype,i.inPlace(p.prototype,J,"-xhr-",E),r.on("send-xhr-start",(function(e,t){m(e,t),function(e){h.push(e),a&&(y?y.then(A):u?u(A):(w=-w,x.data=w))}(t)})),r.on("open-xhr-start",m),a){var y=c&&c.resolve();if(!u&&!c){var w=1,x=document.createTextNode(w);new a(A).observe(x,{characterData:!0})}}else t.on("fn-end",(function(e){e[0]&&e[0].type===d||A()}));function A(){for(var e=0;e {r.d(t,{t:()=>n});const n=r(3325).D.ajax},6660:(e,t,r)=>{r.d(t,{A:()=>i,t:()=>n});const n=r(3325).D.jserrors,i="nr@seenError"},3081:(e,t,r)=>{r.d(t,{gF:()=>o,mY:()=>i,t9:()=>n,vz:()=>s,xS:()=>a});const n=r(3325).D.metrics,i="sm",o="cm",a="storeSupportabilityMetrics",s="storeEventMetrics"},4649:(e,t,r)=>{r.d(t,{t:()=>n});const n=r(3325).D.pageAction},7633:(e,t,r)=>{r.d(t,{Dz:()=>i,OJ:()=>a,qw:()=>o,t9:()=>n});const n=r(3325).D.pageViewEvent,i="firstbyte",o="domcontent",a="windowload"},9251:(e,t,r)=>{r.d(t,{t:()=>n});const n=r(3325).D.pageViewTiming},3614:(e,t,r)=>{r.d(t,{BST_RESOURCE:()=>i,END:()=>s,FEATURE_NAME:()=>n,FN_END:()=>u,FN_START:()=>c,PUSH_STATE:()=>d,RESOURCE:()=>o,START:()=>a});const n=r(3325).D.sessionTrace,i="bstResource",o="resource",a="-start",s="-end",c="fn"+a,u="fn"+s,d="pushState"},7836:(e,t,r)=>{r.d(t,{BODY:()=>A,CB_END:()=>E,CB_START:()=>u,END:()=>x,FEATURE_NAME:()=>i,FETCH:()=>_,FETCH_BODY:()=>v,FETCH_DONE:()=>m,FETCH_START:()=>p,FN_END:()=>c,FN_START:()=>s,INTERACTION:()=>l,INTERACTION_API:()=>d,INTERACTION_EVENTS:()=>o,JSONP_END:()=>b,JSONP_NODE:()=>g,JS_TIME:()=>T,MAX_TIMER_BUDGET:()=>a,REMAINING:()=>f,SPA_NODE:()=>h,START:()=>w,originalSetTimeout:()=>y});var n=r(5763);const i=r(3325).D.spa,o=["click","submit","keypress","keydown","keyup","change"],a=999,s="fn-start",c="fn-end",u="cb-start",d="api-ixn-",f="remaining",l="interaction",h="spaNode",g="jsonpNode",p="fetch-start",m="fetch-done",v="fetch-body-",b="jsonp-end",y=n.Yu.ST,w="-start",x="-end",A="-body",E="cb"+x,T="jsTime",_="fetch"},5938:(e,t,r)=>{r.d(t,{W:()=>o});var n=r(5763),i=r(2177);class o{constructor(e,t,r){this.agentIdentifier=e,this.aggregator=t,this.ee=i.ee.get(e,(0,n.OP)(this.agentIdentifier).isolatedBacklog),this.featureName=r,this.blocked=!1}}},9144:(e,t,r)=>{r.d(t,{j:()=>m});var n=r(3325),i=r(5763),o=r(5546),a=r(2177),s=r(7894),c=r(8e3),u=r(3960),d=r(385),f=r(50),l=r(3081),h=r(8632);function g(){const e=(0,h.gG)();["setErrorHandler","finished","addToTrace","inlineHit","addRelease","addPageAction","setCurrentRouteName","setPageViewName","setCustomAttribute","interaction","noticeError","setUserId"].forEach((t=>{e[t]=function(){for(var r=arguments.length,n=new Array(r),i=0;i 1?r-1:0),i=1;i {e.exposed&&e.api[t]&&o.push(e.api[t](...n))})),o.length>1?o:o[0]}(t,...n)}}))}var p=r(2587);function m(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},m=arguments.length>2?arguments[2]:void 0,v=arguments.length>3?arguments[3]:void 0,{init:b,info:y,loader_config:w,runtime:x={loaderType:m},exposed:A=!0}=t;const E=(0,h.gG)();y||(b=E.init,y=E.info,w=E.loader_config),(0,i.Dg)(e,b||{}),(0,i.GE)(e,w||{}),(0,i.sU)(e,x),y.jsAttributes??={},d.v6&&(y.jsAttributes.isWorker=!0),(0,i.CX)(e,y),g();const T=function(e,t){t||(0,c.R)(e,"api");const h={};var g=a.ee.get(e),p=g.get("tracer"),m="api-",v=m+"ixn-";function b(t,r,n,o){const a=(0,i.C5)(e);return null===r?delete a.jsAttributes[t]:(0,i.CX)(e,{...a,jsAttributes:{...a.jsAttributes,[t]:r}}),x(m,n,!0,o||null===r?"session":void 0)(t,r)}function y(){}["setErrorHandler","finished","addToTrace","inlineHit","addRelease"].forEach((e=>h[e]=x(m,e,!0,"api"))),h.addPageAction=x(m,"addPageAction",!0,n.D.pageAction),h.setCurrentRouteName=x(m,"routeName",!0,n.D.spa),h.setPageViewName=function(t,r){if("string"==typeof t)return"/"!==t.charAt(0)&&(t="/"+t),(0,i.OP)(e).customTransaction=(r||"http://custom.transaction")+t,x(m,"setPageViewName",!0)()},h.setCustomAttribute=function(e,t){let r=arguments.length>2&&void 0!==arguments[2]&&arguments[2];if("string"==typeof e){if(["string","number"].includes(typeof t)||null===t)return b(e,t,"setCustomAttribute",r);(0,f.Z)("Failed to execute setCustomAttribute.\nNon-null value must be a string or number type, but a type of was provided."))}else(0,f.Z)("Failed to execute setCustomAttribute.\nName must be a string type, but a type of was provided."))},h.setUserId=function(e){if("string"==typeof e||null===e)return b("enduser.id",e,"setUserId",!0);(0,f.Z)("Failed to execute setUserId.\nNon-null value must be a string type, but a type of was provided."))},h.interaction=function(){return(new y).get()};var w=y.prototype={createTracer:function(e,t){var r={},i=this,a="function"==typeof t;return(0,o.p)(v+"tracer",[(0,s.z)(),e,r],i,n.D.spa,g),function(){if(p.emit((a?"":"no-")+"fn-start",[(0,s.z)(),i,a],r),a)try{return t.apply(this,arguments)}catch(e){throw p.emit("fn-err",[arguments,this,"string"==typeof e?new Error(e):e],r),e}finally{p.emit("fn-end",[(0,s.z)()],r)}}}};function x(e,t,r,i){return function(){return(0,o.p)(l.xS,["API/"+t+"/called"],void 0,n.D.metrics,g),i&&(0,o.p)(e+t,[(0,s.z)(),...arguments],r?null:this,i,g),r?void 0:this}}function A(){r.e(439).then(r.bind(r,7438)).then((t=>{let{setAPI:r}=t;r(e),(0,c.L)(e,"api")})).catch((()=>(0,f.Z)("Downloading runtime APIs failed...")))}return["actionText","setName","setAttribute","save","ignore","onEnd","getContext","end","get"].forEach((e=>{w[e]=x(v,e,void 0,n.D.spa)})),h.noticeError=function(e,t){"string"==typeof e&&(e=new Error(e)),(0,o.p)(l.xS,["API/noticeError/called"],void 0,n.D.metrics,g),(0,o.p)("err",[e,(0,s.z)(),!1,t],void 0,n.D.jserrors,g)},d.il?(0,u.b)((()=>A()),!0):A(),h}(e,v);return(0,h.Qy)(e,T,"api"),(0,h.Qy)(e,A,"exposed"),(0,h.EZ)("activatedFeatures",p.T),T}},3325:(e,t,r)=>{r.d(t,{D:()=>n,p:()=>i});const n={ajax:"ajax",jserrors:"jserrors",metrics:"metrics",pageAction:"page_action",pageViewEvent:"page_view_event",pageViewTiming:"page_view_timing",sessionReplay:"session_replay",sessionTrace:"session_trace",spa:"spa"},i={[n.pageViewEvent]:1,[n.pageViewTiming]:2,[n.metrics]:3,[n.jserrors]:4,[n.ajax]:5,[n.sessionTrace]:6,[n.pageAction]:7,[n.spa]:8,[n.sessionReplay]:9}}},n={};function i(e){var t=n[e];if(void 0!==t)return t.exports;var o=n[e]={exports:{}};return r[e](o,o.exports,i),o.exports}i.m=r,i.d=(e,t)=>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},i.f={},i.e=e=>Promise.all(Object.keys(i.f).reduce(((t,r)=>(i.f[r](e,t),t)),[])),i.u=e=>(({78:"page_action-aggregate",147:"metrics-aggregate",242:"session-manager",317:"jserrors-aggregate",348:"page_view_timing-aggregate",412:"lazy-feature-loader",439:"async-api",538:"recorder",590:"session_replay-aggregate",675:"compressor",733:"session_trace-aggregate",786:"page_view_event-aggregate",873:"spa-aggregate",898:"ajax-aggregate"}[e]||e)+"."+{78:"ac76d497",147:"3dc53903",148:"1a20d5fe",242:"2a64278a",317:"49e41428",348:"bd6de33a",412:"2f55ce66",439:"30bd804e",538:"1b18459f",590:"cf0efb30",675:"ae9f91a8",733:"83105561",786:"06482edd",860:"03a8b7a5",873:"e6b09d52",898:"998ef92b"}[e]+"-1.236.0.min.js"),i.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="NRBA:",i.l=(r,n,o,a)=>{if(e[r])e[r].push(n);else{var s,c;if(void 0!==o)for(var u=document.getElementsByTagName("script"),d=0;d {s.onerror=s.onload=null,clearTimeout(h);var i=e[r];if(delete e[r],s.parentNode&&s.parentNode.removeChild(s),i&&i.forEach((e=>e(n))),t)return t(n)},h=setTimeout(l.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=l.bind(null,s.onerror),s.onload=l.bind(null,s.onload),c&&document.head.appendChild(s)}},i.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.j=364,i.p="https://js-agent.newrelic.com/",(()=>{var e={364:0,953:0};i.f.j=(t,r)=>{var n=i.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else{var o=new Promise(((r,i)=>n=e[t]=[r,i]));r.push(n[2]=o);var a=i.p+i.u(t),s=new Error;i.l(a,(r=>{if(i.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var o=r&&("load"===r.type?"missing":r.type),a=r&&r.target&&r.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+a+")",s.name="ChunkLoadError",s.type=o,s.request=a,n[1](s)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,o,[a,s,c]=r,u=0;if(a.some((t=>0!==e[t]))){for(n in s)i.o(s,n)&&(i.m[n]=s[n]);if(c)c(i)}for(t&&t(r);u {i.r(o);var e=i(3325),t=i(5763);const r=Object.values(e.D);function n(e){const n={};return r.forEach((r=>{n[r]=function(e,r){return!1!==(0,t.Mt)(r,"".concat(e,".enabled"))}(r,e)})),n}var a=i(9144);var s=i(5546),c=i(385),u=i(8e3),d=i(5938),f=i(3960),l=i(50);class h extends d.W{constructor(e,t,r){let n=!(arguments.length>3&&void 0!==arguments[3])||arguments[3];super(e,t,r),this.auto=n,this.abortHandler,this.featAggregate,this.onAggregateImported,n&&(0,u.R)(e,r)}importAggregator(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(this.featAggregate||!this.auto)return;const r=c.il&&!0===(0,t.Mt)(this.agentIdentifier,"privacy.cookies_enabled");let n;this.onAggregateImported=new Promise((e=>{n=e}));const o=async()=>{let t;try{if(r){const{setupAgentSession:e}=await Promise.all([i.e(860),i.e(242)]).then(i.bind(i,3228));t=e(this.agentIdentifier)}}catch(e){(0,l.Z)("A problem occurred when starting up session manager. This page will not start or extend any session.",e)}try{if(!this.shouldImportAgg(this.featureName,t))return void(0,u.L)(this.agentIdentifier,this.featureName);const{lazyFeatureLoader:r}=await i.e(412).then(i.bind(i,8582)),{Aggregate:o}=await r(this.featureName,"aggregate");this.featAggregate=new o(this.agentIdentifier,this.aggregator,e),n(!0)}catch(e){(0,l.Z)("Downloading and initializing ".concat(this.featureName," failed..."),e),this.abortHandler?.(),n(!1)}};c.il?(0,f.b)((()=>o()),!0):o()}shouldImportAgg(r,n){return r!==e.D.sessionReplay||!1!==(0,t.Mt)(this.agentIdentifier,"session_trace.enabled")&&(!!n?.isNew||!!n?.state.sessionReplay)}}var g=i(7633),p=i(7894);class m extends h{static featureName=g.t9;constructor(r,n){let i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(super(r,n,g.t9,i),("undefined"==typeof PerformanceNavigationTiming||c.Tt)&&"undefined"!=typeof PerformanceTiming){const n=(0,t.OP)(r);n[g.Dz]=Math.max(Date.now()-n.offset,0),(0,f.K)((()=>n[g.qw]=Math.max((0,p.z)()-n[g.Dz],0))),(0,f.b)((()=>{const t=(0,p.z)();n[g.OJ]=Math.max(t-n[g.Dz],0),(0,s.p)("timing",["load",t],void 0,e.D.pageViewTiming,this.ee)}))}this.importAggregator()}}var v=i(1117),b=i(1284);class y extends v.w{constructor(e){super(e),this.aggregatedData={}}store(e,t,r,n,i){var o=this.getBucket(e,t,r,i);return o.metrics=function(e,t){t||(t={count:0});return t.count+=1,(0,b.D)(e,(function(e,r){t[e]=w(r,t[e])})),t}(n,o.metrics),o}merge(e,t,r,n,i){var o=this.getBucket(e,t,n,i);if(o.metrics){var a=o.metrics;a.count+=r.count,(0,b.D)(r,(function(e,t){if("count"!==e){var n=a[e],i=r[e];i&&!i.c?a[e]=w(i.t,n):a[e]=function(e,t){if(!t)return e;t.c||(t=x(t.t));return t.min=Math.min(e.min,t.min),t.max=Math.max(e.max,t.max),t.t+=e.t,t.sos+=e.sos,t.c+=e.c,t}(i,a[e])}}))}else o.metrics=r}storeMetric(e,t,r,n){var i=this.getBucket(e,t,r);return i.stats=w(n,i.stats),i}getBucket(e,t,r,n){this.aggregatedData[e]||(this.aggregatedData[e]={});var i=this.aggregatedData[e][t];return i||(i=this.aggregatedData[e][t]={params:r||{}},n&&(i.custom=n)),i}get(e,t){return t?this.aggregatedData[e]&&this.aggregatedData[e][t]:this.aggregatedData[e]}take(e){for(var t={},r="",n=!1,i=0;i t.max&&(t.max=e),e 2&&void 0!==arguments[2])||arguments[2];super(e,r,j.t,n),c.il&&((0,t.OP)(e).initHidden=Boolean("hidden"===document.visibilityState),(0,N.N)((()=>(0,s.p)("docHidden",[(0,p.z)()],void 0,j.t,this.ee)),!0),(0,O.bP)("pagehide",(()=>(0,s.p)("winPagehide",[(0,p.z)()],void 0,j.t,this.ee))),this.importAggregator())}}var P=i(3081);class C extends h{static featureName=P.t9;constructor(e,t){let r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];super(e,t,P.t9,r),this.importAggregator()}}var R,I=i(2210),k=i(1214),H=i(2177),L={};try{R=localStorage.getItem("__nr_flags").split(","),console&&"function"==typeof console.log&&(L.console=!0,-1!==R.indexOf("dev")&&(L.dev=!0),-1!==R.indexOf("nr_dev")&&(L.nrDev=!0))}catch(e){}function z(e){try{L.console&&z(e)}catch(e){}}L.nrDev&&H.ee.on("internal-error",(function(e){z(e.stack)})),L.dev&&H.ee.on("fn-err",(function(e,t,r){z(r.stack)})),L.dev&&(z("NR AGENT IN DEVELOPMENT MODE"),z("flags: "+(0,b.D)(L,(function(e,t){return e})).join(", ")));var M=i(6660);class B extends h{static featureName=M.t;constructor(r,n){let i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];super(r,n,M.t,i),this.skipNext=0;try{this.removeOnAbort=new AbortController}catch(e){}const o=this;o.ee.on("fn-start",(function(e,t,r){o.abortHandler&&(o.skipNext+=1)})),o.ee.on("fn-err",(function(t,r,n){o.abortHandler&&!n[M.A]&&((0,I.X)(n,M.A,(function(){return!0})),this.thrown=!0,(0,s.p)("err",[n,(0,p.z)()],void 0,e.D.jserrors,o.ee))})),o.ee.on("fn-end",(function(){o.abortHandler&&!this.thrown&&o.skipNext>0&&(o.skipNext-=1)})),o.ee.on("internal-error",(function(t){(0,s.p)("ierr",[t,(0,p.z)(),!0],void 0,e.D.jserrors,o.ee)})),this.origOnerror=c._A.onerror,c._A.onerror=this.onerrorHandler.bind(this),c._A.addEventListener("unhandledrejection",(t=>{const r=function(e){let t="Unhandled Promise Rejection: ";if(e instanceof Error)try{return e.message=t+e.message,e}catch(t){return e}if(void 0===e)return new Error(t);try{return new Error(t+(0,D.P)(e))}catch(e){return new Error(t)}}(t.reason);(0,s.p)("err",[r,(0,p.z)(),!1,{unhandledPromiseRejection:1}],void 0,e.D.jserrors,this.ee)}),(0,O.m$)(!1,this.removeOnAbort?.signal)),(0,k.gy)(this.ee),(0,k.BV)(this.ee),(0,k.em)(this.ee),(0,t.OP)(r).xhrWrappable&&(0,k.Kf)(this.ee),this.abortHandler=this.#e,this.importAggregator()}#e(){this.removeOnAbort?.abort(),this.abortHandler=void 0}onerrorHandler(t,r,n,i,o){"function"==typeof this.origOnerror&&this.origOnerror(...arguments);try{this.skipNext?this.skipNext-=1:(0,s.p)("err",[o||new F(t,r,n),(0,p.z)()],void 0,e.D.jserrors,this.ee)}catch(t){try{(0,s.p)("ierr",[t,(0,p.z)(),!0],void 0,e.D.jserrors,this.ee)}catch(e){}}return!1}}function F(e,t,r){this.message=e||"Uncaught error with no additional information",this.sourceURL=t,this.line=r}let U=1;const q="nr@id";function G(e){const t=typeof e;return!e||"object"!==t&&"function"!==t?-1:e===c._A?0:(0,I.X)(e,q,(function(){return U++}))}function V(e){if("string"==typeof e&&e.length)return e.length;if("object"==typeof e){if("undefined"!=typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if("undefined"!=typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!("undefined"!=typeof FormData&&e instanceof FormData))try{return(0,D.P)(e).length}catch(e){return}}}var X=i(7243);class W{constructor(e){this.agentIdentifier=e,this.generateTracePayload=this.generateTracePayload.bind(this),this.shouldGenerateTrace=this.shouldGenerateTrace.bind(this)}generateTracePayload(e){if(!this.shouldGenerateTrace(e))return null;var r=(0,t.DL)(this.agentIdentifier);if(!r)return null;var n=(r.accountID||"").toString()||null,i=(r.agentID||"").toString()||null,o=(r.trustKey||"").toString()||null;if(!n||!i)return null;var a=(0,_.M)(),s=(0,_.Ht)(),c=Date.now(),u={spanId:a,traceId:s,timestamp:c};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(u.traceContextParentHeader=this.generateTraceContextParentHeader(a,s),u.traceContextStateHeader=this.generateTraceContextStateHeader(a,c,n,i,o)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(u.newrelicHeader=this.generateTraceHeader(a,s,c,n,i,o)),u}generateTraceContextParentHeader(e,t){return"00-"+t+"-"+e+"-01"}generateTraceContextStateHeader(e,t,r,n,i){return i+"@nr=0-1-"+r+"-"+n+"-"+e+"----"+t}generateTraceHeader(e,t,r,n,i,o){if(!("function"==typeof c._A?.btoa))return null;var a={v:[0,1],d:{ty:"Browser",ac:n,ap:i,id:e,tr:t,ti:r}};return o&&n!==o&&(a.d.tk=o),btoa((0,D.P)(a))}shouldGenerateTrace(e){return this.isDtEnabled()&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var r=!1,n={};if((0,t.Mt)(this.agentIdentifier,"distributed_tracing")&&(n=(0,t.P_)(this.agentIdentifier).distributed_tracing),e.sameOrigin)r=!0;else if(n.allowed_origins instanceof Array)for(var i=0;i 2&&void 0!==arguments[2])||arguments[2];super(r,n,Z.t,i),(0,t.OP)(r).xhrWrappable&&(this.dt=new W(r),this.handler=(e,t,r,n)=>(0,s.p)(e,t,r,n,this.ee),(0,k.u5)(this.ee),(0,k.Kf)(this.ee),function(r,n,i,o){function a(e){var t=this;t.totalCbs=0,t.called=0,t.cbTime=0,t.end=E,t.ended=!1,t.xhrGuids={},t.lastSize=null,t.loadCaptureCalled=!1,t.params=this.params||{},t.metrics=this.metrics||{},e.addEventListener("load",(function(r){_(t,e)}),(0,O.m$)(!1)),c.IF||e.addEventListener("progress",(function(e){t.lastSize=e.loaded}),(0,O.m$)(!1))}function s(e){this.params={method:e[0]},T(this,e[1]),this.metrics={}}function u(e,n){var i=(0,t.DL)(r);i.xpid&&this.sameOrigin&&n.setRequestHeader("X-NewRelic-ID",i.xpid);var a=o.generateTracePayload(this.parsedOrigin);if(a){var s=!1;a.newrelicHeader&&(n.setRequestHeader("newrelic",a.newrelicHeader),s=!0),a.traceContextParentHeader&&(n.setRequestHeader("traceparent",a.traceContextParentHeader),a.traceContextStateHeader&&n.setRequestHeader("tracestate",a.traceContextStateHeader),s=!0),s&&(this.dt=a)}}function d(e,t){var r=this.metrics,i=e[0],o=this;if(r&&i){var a=V(i);a&&(r.txSize=a)}this.startTime=(0,p.z)(),this.listener=function(e){try{"abort"!==e.type||o.loadCaptureCalled||(o.params.aborted=!0),("load"!==e.type||o.called===o.totalCbs&&(o.onloadCalled||"function"!=typeof t.onload)&&"function"==typeof o.end)&&o.end(t)}catch(e){try{n.emit("internal-error",[e])}catch(e){}}};for(var s=0;s 1?e[1]=i:e.push(i)}else e[0]&&e[0].headers&&s(e[0].headers,n)&&(this.dt=n);function s(e,t){var r=!1;return t.newrelicHeader&&(e.set("newrelic",t.newrelicHeader),r=!0),t.traceContextParentHeader&&(e.set("traceparent",t.traceContextParentHeader),t.traceContextStateHeader&&e.set("tracestate",t.traceContextStateHeader),r=!0),r}}function x(e,t){this.params={},this.metrics={},this.startTime=(0,p.z)(),this.dt=t,e.length>=1&&(this.target=e[0]),e.length>=2&&(this.opts=e[1]);var r,n=this.opts||{},i=this.target;"string"==typeof i?r=i:"object"==typeof i&&i instanceof Y?r=i.url:c._A?.URL&&"object"==typeof i&&i instanceof URL&&(r=i.href),T(this,r);var o=(""+(i&&i instanceof Y&&i.method||n.method||"GET")).toUpperCase();this.params.method=o,this.txSize=V(n.body)||0}function A(t,r){var n;this.endTime=(0,p.z)(),this.params||(this.params={}),this.params.status=r?r.status:0,"string"==typeof this.rxSize&&this.rxSize.length>0&&(n=+this.rxSize);var o={txSize:this.txSize,rxSize:n,duration:(0,p.z)()-this.startTime};i("xhr",[this.params,o,this.startTime,this.endTime,"fetch"],this,e.D.ajax)}function E(t){var r=this.params,n=this.metrics;if(!this.ended){this.ended=!0;for(var o=0;o 2&&void 0!==arguments[2])||arguments[2];super(e,t,we.t,r),this.importAggregator()}}new class{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,_.ky)(16);c._A?(this.agentIdentifier=t,this.sharedAggregator=new y({agentIdentifier:this.agentIdentifier}),this.features={},this.desiredFeatures=new Set(e.features||[]),this.desiredFeatures.add(m),Object.assign(this,(0,a.j)(this.agentIdentifier,e,e.loaderType||"agent")),this.start()):(0,l.Z)("Failed to initial the agent. Could not determine the runtime environment.")}get config(){return{info:(0,t.C5)(this.agentIdentifier),init:(0,t.P_)(this.agentIdentifier),loader_config:(0,t.DL)(this.agentIdentifier),runtime:(0,t.OP)(this.agentIdentifier)}}start(){const t="features";try{const r=n(this.agentIdentifier),i=[...this.desiredFeatures];i.sort(((t,r)=>e.p[t.featureName]-e.p[r.featureName])),i.forEach((t=>{if(r[t.featureName]||t.featureName===e.D.pageViewEvent){const n=function(t){switch(t){case e.D.ajax:return[e.D.jserrors];case e.D.sessionTrace:return[e.D.ajax,e.D.pageViewEvent];case e.D.sessionReplay:return[e.D.sessionTrace];case e.D.pageViewTiming:return[e.D.pageViewEvent];default:return[]}}(t.featureName);n.every((e=>r[e]))||(0,l.Z)("".concat(t.featureName," is enabled but one or more dependent features has been disabled (").concat((0,D.P)(n),"). This may cause unintended consequences or missing data...")),this.features[t.featureName]=new t(this.agentIdentifier,this.sharedAggregator)}})),(0,T.Qy)(this.agentIdentifier,this.features,t)}catch(e){(0,l.Z)("Failed to initialize all enabled instrument classes (agent aborted) -",e);for(const e in this.features)this.features[e].abortHandler?.();const r=(0,T.fP)();return delete r.initializedAgents[this.agentIdentifier]?.api,delete r.initializedAgents[this.agentIdentifier]?.[t],delete this.sharedAggregator,r.ee?.abort(),delete r.ee?.get(this.agentIdentifier),!1}}}({features:[J,m,S,class extends h{static featureName=oe;constructor(t,r){if(super(t,r,oe,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),!c.il)return;const n=this.ee;let i;(0,k.QU)(n),this.eventsEE=(0,k.em)(n),this.eventsEE.on(se,(function(e,t){this.bstStart=(0,p.z)()})),this.eventsEE.on(ae,(function(t,r){(0,s.p)("bst",[t[0],r,this.bstStart,(0,p.z)()],void 0,e.D.sessionTrace,n)})),n.on(ce+ne,(function(e){this.time=(0,p.z)(),this.startPath=location.pathname+location.hash})),n.on(ce+ie,(function(t){(0,s.p)("bstHist",[location.pathname+location.hash,this.startPath,this.time],void 0,e.D.sessionTrace,n)}));try{i=new PerformanceObserver((t=>{const r=t.getEntries();(0,s.p)(te,[r],void 0,e.D.sessionTrace,n)})),i.observe({type:re,buffered:!0})}catch(e){}this.importAggregator({resourceObserver:i})}},C,xe,B,class extends h{static featureName=de;constructor(e,r){if(super(e,r,de,!(arguments.length>2&&void 0!==arguments[2])||arguments[2]),!c.il)return;if(!(0,t.OP)(e).xhrWrappable)return;try{this.removeOnAbort=new AbortController}catch(e){}let n,i=0;const o=this.ee.get("tracer"),a=(0,k._L)(this.ee),s=(0,k.Lg)(this.ee),u=(0,k.BV)(this.ee),d=(0,k.Kf)(this.ee),f=this.ee.get("events"),l=(0,k.u5)(this.ee),h=(0,k.QU)(this.ee),g=(0,k.Gm)(this.ee);function m(e,t){h.emit("newURL",[""+window.location,t])}function v(){i++,n=window.location.hash,this[ve]=(0,p.z)()}function b(){i--,window.location.hash!==n&&m(0,!0);var e=(0,p.z)();this[pe]=~~this[pe]+e-this[ve],this[ye]=e}function y(e,t){e.on(t,(function(){this[t]=(0,p.z)()}))}this.ee.on(ve,v),s.on(be,v),a.on(be,v),this.ee.on(ye,b),s.on(ge,b),a.on(ge,b),this.ee.buffer([ve,ye,"xhr-resolved"],this.featureName),f.buffer([ve],this.featureName),u.buffer(["setTimeout"+le,"clearTimeout"+fe,ve],this.featureName),d.buffer([ve,"new-xhr","send-xhr"+fe],this.featureName),l.buffer([me+fe,me+"-done",me+he+fe,me+he+le],this.featureName),h.buffer(["newURL"],this.featureName),g.buffer([ve],this.featureName),s.buffer(["propagate",be,ge,"executor-err","resolve"+fe],this.featureName),o.buffer([ve,"no-"+ve],this.featureName),a.buffer(["new-jsonp","cb-start","jsonp-error","jsonp-end"],this.featureName),y(l,me+fe),y(l,me+"-done"),y(a,"new-jsonp"),y(a,"jsonp-end"),y(a,"cb-start"),h.on("pushState-end",m),h.on("replaceState-end",m),window.addEventListener("hashchange",m,(0,O.m$)(!0,this.removeOnAbort?.signal)),window.addEventListener("load",m,(0,O.m$)(!0,this.removeOnAbort?.signal)),window.addEventListener("popstate",(function(){m(0,i>1)}),(0,O.m$)(!0,this.removeOnAbort?.signal)),this.abortHandler=this.#e,this.importAggregator()}#e(){this.removeOnAbort?.abort(),this.abortHandler=void 0}}],loaderType:"spa"})})(),window.NRBA=o})(); window.jQuery || document.write(' ') CKEDITOR_BASEPATH='https://f1000research.com/js/vendor/ckeditor/' window.reactTheme = 'research'; window.MathJax = { CommonHTML: { linebreaks: { automatic: true } }, 'HTML-CSS': { linebreaks: { automatic: true } }, SVG: { linebreaks: { automatic: true } }, AuthorInit: function() { MathJax.Hub.Register.MessageHook('End Process', function () { let timeout = false; // holder for timeout id const delay = 250; // delay after event is "complete" to run callback const reflowMath = function() { const dispFormulas = document.querySelectorAll('.disp-formula.panel'); if (!dispFormulas) { return; } for (const dispFormula of dispFormulas) { const child = dispFormula.querySelector('.MathJax_Preview').nextSibling.firstChild; const isMultiline = MathJax.Hub.getAllJax(dispFormula)[0].root.isMultiline; if (dispFormula.offsetWidth < child.offsetWidth || isMultiline) { MathJax.Hub.Queue(['Rerender', MathJax.Hub, dispFormula]); } } }; window.addEventListener('resize', function() { clearTimeout(timeout); // clear the timeout timeout = setTimeout(reflowMath, delay); // start timing for event "completion" }); }); }, }; if (window.location.hash == '#_=_'){ window.location = window.location.href.split('#')[0] } !function(f,b,e,v,n,t,s){if(f.fbq)return;n=f.fbq=function() {n.callMethod? n.callMethod.apply(n,arguments):n.queue.push(arguments)} ;if(!f._fbq)f._fbq=n; n.push=n;n.loaded=!0;n.version='2.0';n.queue=[];t=b.createElement(e);t.async=!0; t.src=v;s=b.getElementsByTagName(e)[0];s.parentNode.insertBefore(t,s)}(window, document,'script','https://connect.facebook.net/en_US/fbevents.js'); fbq('init', '1641728616063202'); fbq('track', "PixelInitialized", {}); (function(h,o,t,j,a,r){ h.hj=h.hj||function(){(h.hj.q=h.hj.q||[]).push(arguments)}; h._hjSettings={hjid:2318163,hjsv:6}; a=o.getElementsByTagName('head')[0]; r=o.createElement('script');r.async=1; r.src=t+h._hjSettings.hjid+j+h._hjSettings.hjsv; a.appendChild(r); })(window,document,'https://static.hotjar.com/c/hotjar-','.js?sv='); search file_upload Submit your research search menu close search Browse Gateways & Collections How to Publish Submit your Research My Submissions Article Guidelines Article Guidelines (New Versions) Open Data, Software and Code Guidelines Open Data and Accessible Source Materials Guidelines (HSS) Open Data, Software and Code Guidelines (PSE) Prepublication Checks Production Process Posters and Slides Guidelines Document Guidelines Article Processing Charges Peer Review Finding Article Reviewers About How it Works For Reviewers Our Advisors Policies Glossary FAQs For Developers Newsroom Contact My Research Submissions Content and Tracking Alerts My Details Sign In file_upload Submit your research { "@context": "https://schema.org", "@type": "ScholarlyArticle", "mainEntityOfPage": { "@type": "WebPage", "@id": "https://f1000research.com/articles/14-651" }, "headline": "Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease.", "datePublished": "2025-07-04T07:38:56", "dateModified": "2025-11-19T13:53:04", "author": [ { "@type": "Person", "name": "Cenitta D" }, { "@type": "Person", "name": "Arul N" }, { "@type": "Person", "name": "Praveen Pai T" }, { "@type": "Person", "name": "VIijaya Arjunan Ranganathan" }, { "@type": "Person", "name": "Tanuja Shailesh" }, { "@type": "Person", "name": "Andrew J" } ], "publisher": { "@type": "Organization", "name": "F1000Research", "logo": { "@type": "ImageObject", "url": "https://f1000research.com/img/AMP/F1000Research_image.png", "height": 480, "width": 60 } }, "image": { "@type": "ImageObject", "url": "https://f1000research.com/img/AMP/F1000Research_image.png", "height": 1200, "width": 150 }, "description": " Background Early and accurate prediction of Ischemic Heart Disease (IHD) is critical to reducing cardiovascular mortality through timely intervention. While deep learning (DL) models have shown promise in disease prediction, many lack interpretability, generalizability, and fairness—particularly when deployed across demographically diverse populations. These shortcomings limit clinical adoption and risk reinforcing healthcare disparities. Methods This study proposes a novel model: X-TLRABiLSTM (Explainable Transfer Learning–based Residual Attention Bidirectional LSTM). The architecture integrates transfer learning from pre-trained cardiovascular models into a BiLSTM framework with residual attention layers to improve temporal feature extraction and convergence. To ensure transparency, the model incorporates SHAP (SHapley Additive exPlanations) to quantify the contribution of each clinical feature to the final prediction. Additionally, a demographic reweighting strategy is applied to the training process to reduce bias across subgroups defined by age, gender, and ethnicity. The model was evaluated on the UCI Heart Disease dataset using 10-fold cross-validation. Results The X-TLRABiLSTM model achieved a classification accuracy of 98.2%, with an F1-score of 98.1% and an AUC of 99.1%, outperforming standard ML classifiers and state-of-the-art DL baselines. SHAP-based interpretability analysis highlighted clinically relevant predictors such as chest pain type, ST depression, and thalassemia. A fairness-aware reweighting strategy was applied during training, and fairness evaluation revealed minimal performance disparity across demographic subgroups, with F1-score gaps ≤ 0.6% and error rate gaps ≤ 0.4%. Confusion matrix analysis demonstrated low false-positive and false-negative rates, reinforcing the model’s reliability for clinical deployment. Conclusions X-TLRABiLSTM offers a highly accurate, interpretable, and demographically fair framework for IHD prognosis. By combining transfer learning, residual attention, explainable AI, and fairness-aware optimization, this model advances trustworthy AI in healthcare. Its successful performance on benchmark clinical data supports its potential for real-world integration in ethical, AI-assisted cardiovascular diagnostics. " } { "@context": "http://schema.org", "@type": "BreadcrumbList", "itemListElement": [ { "@type": "ListItem", "position": "1", "item": { "@id": "https://f1000research.com/", "name": "Home" } }, { "@type": "ListItem", "position": "2", "item": { "@id": "https://f1000research.com/browse/articles", "name": "Browse" } }, { "@type": "ListItem", "position": "3", "item": { "@id": "https://f1000research.com/articles/14-651/v3", "name": "Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis..." } } ] } Home Browse Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis... ALL Metrics - Views Downloads Get PDF Get XML Cite How to cite this article D C, N A, T PP et al. Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.12688/f1000research.166307.3 ) NOTE: If applicable, it is important to ensure the information in square brackets after the title is included in all citations of this article. Close Copy Citation Details Export Export Citation Sciwheel EndNote Ref. Manager Bibtex ProCite Sente EXPORT Select a format first Track Share ▬ ✚ Research Article Revised Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] Previously titled: An Explainable Transfer Learning based Residual Attention BiLSTM Model for Fair and Accurate Prognosis of Ischemic Heart Disease Cenitta D https://orcid.org/0000-0003-3715-6941 1 , Arul N 2 , Praveen Pai T 1 , VIijaya Arjunan Ranganathan https://orcid.org/0000-0002-1402-6573 1 , Tanuja Shailesh 1 , Andrew J 1 Cenitta D https://orcid.org/0000-0003-3715-6941 1 , Arul N 2 , [...] Praveen Pai T 1 , VIijaya Arjunan Ranganathan https://orcid.org/0000-0002-1402-6573 1 , Tanuja Shailesh 1 , Andrew J 1 PUBLISHED 19 Nov 2025 Author details Author details 1 Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India 2 Computer Science and Engineering, AJ Institute of Engineering and Technology, Mangalore, Karnataka, India Cenitta D Roles: Conceptualization, Methodology Arul N Roles: Project Administration Praveen Pai T Roles: Project Administration VIijaya Arjunan Ranganathan Roles: Conceptualization, Methodology Tanuja Shailesh Roles: Writing – Original Draft Preparation Andrew J Roles: Project Administration OPEN PEER REVIEW DETAILS REVIEWER STATUS This article is included in the Manipal Academy of Higher Education gateway. Abstract Background Early and accurate prediction of Ischemic Heart Disease (IHD) is critical to reducing cardiovascular mortality through timely intervention. While deep learning (DL) models have shown promise in disease prediction, many lack interpretability, generalizability, and fairness—particularly when deployed across demographically diverse populations. These shortcomings limit clinical adoption and risk reinforcing healthcare disparities. Methods This study proposes a novel model: X-TLRABiLSTM (Explainable Transfer Learning–based Residual Attention Bidirectional LSTM). The architecture integrates transfer learning from pre-trained cardiovascular models into a BiLSTM framework with residual attention layers to improve temporal feature extraction and convergence. To ensure transparency, the model incorporates SHAP (SHapley Additive exPlanations) to quantify the contribution of each clinical feature to the final prediction. Additionally, a demographic reweighting strategy is applied to the training process to reduce bias across subgroups defined by age, gender, and ethnicity. The model was evaluated on the UCI Heart Disease dataset using 10-fold cross-validation. Results The X-TLRABiLSTM model achieved a classification accuracy of 98.2%, with an F1-score of 98.1% and an AUC of 99.1%, outperforming standard ML classifiers and state-of-the-art DL baselines. SHAP-based interpretability analysis highlighted clinically relevant predictors such as chest pain type, ST depression, and thalassemia. A fairness-aware reweighting strategy was applied during training, and fairness evaluation revealed minimal performance disparity across demographic subgroups, with F1-score gaps ≤ 0.6% and error rate gaps ≤ 0.4%. Confusion matrix analysis demonstrated low false-positive and false-negative rates, reinforcing the model’s reliability for clinical deployment. Conclusions X-TLRABiLSTM offers a highly accurate, interpretable, and demographically fair framework for IHD prognosis. By combining transfer learning, residual attention, explainable AI, and fairness-aware optimization, this model advances trustworthy AI in healthcare. Its successful performance on benchmark clinical data supports its potential for real-world integration in ethical, AI-assisted cardiovascular diagnostics. READ ALL READ LESS Keywords Ischemic Heart Disease (IHD), Explainable AI (XAI), SHAP, Transfer Learning, Bidirectional LSTM (BiLSTM), Residual Attention Mechanism, Fairness in AI, Deep Learning, Demographic Bias Mitigation, Clinical Decision Support Systems Corresponding Author(s) VIijaya Arjunan Ranganathan ( [email protected] ) Andrew J ( [email protected] ) Close Corresponding authors: VIijaya Arjunan Ranganathan, Andrew J Competing interests: No competing interests were disclosed. Grant information: The author(s) declared that no grants were involved in supporting this work. Copyright: © 2025 D C et al . This is an open access article distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. How to cite: D C, N A, T PP et al. Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.12688/f1000research.166307.3 ) First published: 04 Jul 2025, 14 :651 ( https://doi.org/10.12688/f1000research.166307.1 ) Latest published: 19 Nov 2025, 14 :651 ( https://doi.org/10.12688/f1000research.166307.3 ) Revised Amendments from Version 2 In this revised version, several enhancements have been made to improve clarity, methodological transparency, and clinical relevance based on reviewer feedback. Data preprocessing: The number of missing values in the thal and ca attributes has been specified, and a detailed explanation was added in Section 3.2.1 describing why mean/mode imputation is risky and how the fuzzy-based multiple imputation strategy preserves data variability and correlations. Interpretability: A new subsection (4.3.1) was added to compare SHAP with LIME, confirming interpretability robustness. Figures 2, 3, and 5 were updated with higher resolution, improved labeling, and an expanded clinical discussion linking SHAP feature rankings to ESC (2024) and AHA (2023) ischemic heart disease guidelines. Fairness and bias mitigation: Section 4.4 was expanded to clarify the fairness evaluation process, the rationale for using age and gender attributes, and the computation of the Fairness Gap (ΔF1) across 10-fold cross-validation folds. Model evaluation: A new subsection (4.7) presents an ablation study quantifying the contribution of transfer learning and residual attention modules. Section 4.8 introduces a computational efficiency analysis comparing model runtime with baseline architectures. New tables were added to both of these sections. Experimental setup: Hardware specifications (GPU/CPU, RAM, runtime) were added in Section 3.5 to improve reproducibility. Methodology clarification: The description of 10-fold cross-validation in Section 4 was revised to remove ambiguity regarding the 90/10 split. These updates collectively enhance the scientific rigor, interpretability, and transparency of the study while reinforcing the clinical relevance and novelty of the proposed X-TLRABiLSTM model. In this revised version, several enhancements have been made to improve clarity, methodological transparency, and clinical relevance based on reviewer feedback. Data preprocessing: The number of missing values in the thal and ca attributes has been specified, and a detailed explanation was added in Section 3.2.1 describing why mean/mode imputation is risky and how the fuzzy-based multiple imputation strategy preserves data variability and correlations. Interpretability: A new subsection (4.3.1) was added to compare SHAP with LIME, confirming interpretability robustness. Figures 2, 3, and 5 were updated with higher resolution, improved labeling, and an expanded clinical discussion linking SHAP feature rankings to ESC (2024) and AHA (2023) ischemic heart disease guidelines. Fairness and bias mitigation: Section 4.4 was expanded to clarify the fairness evaluation process, the rationale for using age and gender attributes, and the computation of the Fairness Gap (ΔF1) across 10-fold cross-validation folds. Model evaluation: A new subsection (4.7) presents an ablation study quantifying the contribution of transfer learning and residual attention modules. Section 4.8 introduces a computational efficiency analysis comparing model runtime with baseline architectures. New tables were added to both of these sections. Experimental setup: Hardware specifications (GPU/CPU, RAM, runtime) were added in Section 3.5 to improve reproducibility. Methodology clarification: The description of 10-fold cross-validation in Section 4 was revised to remove ambiguity regarding the 90/10 split. These updates collectively enhance the scientific rigor, interpretability, and transparency of the study while reinforcing the clinical relevance and novelty of the proposed X-TLRABiLSTM model. See the authors' detailed response to the review by Karna Vishnu Vardhana Reddy See the authors' detailed response to the review by Neelam Joshi and Krishna Kumar Joshi See the authors' detailed response to the review by Ramesh Chandra Poonia READ REVIEWER RESPONSES 1. Introduction Ischemic Heart Disease (IHD), meaning coronary artery disease (CAD) with around 9 million fatalities per year, is the leading cause of death on earth. 1 IHD causes the narrowing or blocking of coronary arteries because of plaque buildup and can lead to myocardial infarction, arrhythmias and even sudden cardiac death. Because there is considerable improvement in survival rates and lower complications with prompt intervention, it is important to promote early detection and prognosis. 2 In recent years, wearable monitoring devices, electronic health records (EHRs) and public datasets (e.g., UCI and Kaggle) generator new opportunities for data driven cardiovascular disease diagnosis and prediction. Many traditional methods, like logistic regression and the Framingham Risk Score, are centered on a small set of accepted clinical risk variables. These models can be understood, but they do not capture the important and nonlinear relationships that appear over time in health data. 3 In scenarios with diverse populations, these types of models usually work poorly and can be easily disrupted by noise and missing information. The restrictions are overcome by the developed deep learning (DL) and machine learning (ML) techniques. These Liar Models and Long Short-Term Memory (LSTM) networks in particular are very good for Sequential Data such as Physiological Time Series, Patient Visit Logs and Electrocardiograms (ECGs). 4 Since long term relationships can be captured, the LSTM networks are perfect for simulating patterns of illness progression. Also, recent works has showed that when attention is applied to the model for focusing on important temporal moments, the LSTM model can improve feature relevance and prediction accuracy especially for clinical applications. 5 Deep learning techniques currently face three significant issues, despite showing good results: they treat people from different backgrounds differently, their efforts are not always easily understood, and they may not always generalize well. Models generally have poor performance in different places or with different patients because they were made using only one group of patients. It is harder for practice to use these models in care, since doctors generally want to understand each prediction before adopting them in planning treatment. 6 Already-existing problems in healthcare can be made worse by algorithmic bias. In some cases, models do not work as well for women, senior patients or those from ethnic minorities. 7 1. The novel X-TLRABiLSTM model helps predict outcomes in Ischemic Heart Disease as a solution to those problems. The proposed design introduces many new developments. 2. By using the knowledge learned from numerous cardiovascular datasets, apply transfer learning for your model. Using this model, clinical data with limited resources might be handled and processed more effectively. 3. The BiLSTM model relies on residual attention to enhance its pattern finding ability. Because it examines changes in blood pressure, heart rate and cholesterol levels, along with a residual link, the model can maintain its stability throughout training. 4. To ensure every prediction contains a clear reason, use SHapley Additive exPlanations (SHAP) which is a top XAI technique. As a result, physicians are better able to understand which features such as age, cholesterol and thalassemia played a bigger role in why the patient has or does not have IHD. 5. To achieve fairer training, the reweighting of demographics is applied during training. As a result, the model treats different groups evenly and gives similar outcomes, regardless of gender, age or ethnicity. The new aspect of this study is joining residual attention techniques, transfer learning, explainable AI (XAI), and a fairness-aware demographic reweighting framework within a single network to aid in accurate and equitable Ischemic Heart Disease prognosis. Unlike most existing models, the X-TLRABiLSTM model highlights how certain explanations are used in clinical practice, instead of only caring about accuracy. That way, predictions are easy for doctors to understand and trust. An important but often ignored part of healthcare AI is that the model uses demographic reweighting to help fix bias based on age, gender and ethnicity. To consider the latest deep learning approaches for cardiovascular risk prediction, using generalization, interpretability and fairness improves the process significantly—specifically selected a Bidirectional LSTM (BiLSTM) over a standard LSTM to capture both past and future temporal dependencies in clinical records, which is essential for modeling disease progression. Transfer learning was employed to overcome the limitations of the relatively small UCI dataset by leveraging pre-trained cardiovascular models, thereby improving generalization and reducing overfitting. Furthermore, fairness is directly addressed by integrating a demographic reweighting strategy to mitigate bias and ensure balanced performance across age and gender subgroups. 2. Related works Introducing ML, DL and XAI methods has reshaped studies on the prediction of Ischemic Heart Disease (IHD). This part of the book reviews traditional machine learning, deep learning, hybrid models, attention-residual learning and the increased use of explainability and fairness in medical AI systems. In addition, recent comprehensive reviews such as Karna et al. (2025) have summarized current machine learning and deep learning approaches for heart disease risk prediction. Their work highlights the increasing adoption of hybrid architectures, interpretability frameworks, and fairness-aware techniques in cardiovascular analytics. This aligns with the motivation for integrating transfer learning, residual attention, and SHAP-based explainability in the proposed X-TLRABiLSTM model. 8 2.1 Traditional machine learning approaches Predicting heart disease was once done with convention machine learning algorithms, before deep learning knocked them off the top. Naïve Bayes, Support Vector Machines (SVM), Random Forests (RF) and Logistic Regression (LR) were often applied to the UCI Heart Disease dataset. On data sets describing heart illness, Jabbar et al. found that using RF with feature selection resulted in a much better prediction outcome. 9 To determine the most pertinent predictors of IHD, Shah et al. used SVM with embedded feature selection, obtaining comparatively good accuracy with less model complexity. 10 These conventional approaches show limits when handling high-dimensional, nonlinear, and temporally dependent health data, notwithstanding their early success. Additionally, they need a lot of manual feature engineering and are unable to recognize the temporal patterns present in ECG data or patient health records. 11 2.2 Deep learning and hybrid models DL techniques have demonstrated significant potential as medical data and computing power become more accessible. LSTM networks have been successfully utilized to model temporal health data because of its recurrent architecture. By identifying long-term relationships in patient vitals and historical data, Bhavekar and Goswami’s hybrid RNN-LSTM model demonstrated improved accuracy on datasets related to heart disease. 12 For the identification of cardiovascular disease, Doppala et al. presented an ensemble-based DL model that uses several learning techniques and shown enhanced generalization and resilience. 13 Furthermore, hybrid models that blend DL with traditional ML or soft computing techniques have drawn interest. For the diagnosis of IHD, Suresh et al. suggested a hybrid SVM-RF model that optimizes model inputs through recursive feature removal. 14 To optimize predictions for a variety of biomedical datasets, Ampavathi and Saradhi presented a multi-disease prediction system built on a hybrid deep learning architecture. 15 Although these models outperform conventional machine learning techniques, most of them are not interpretable or generalizable to other patient groups. Furthermore, the issue of model bias and fairness is not sufficiently addressed by many. 2.3 Attention and residual learning mechanisms Attention mechanisms and residual learning have recently been incorporated into DL designs, especially for time-series data like as ECG signals. By focusing on important segments of the input sequence, attention enables models to increase interpretability and accuracy. Conversely, residual learning makes it possible to train deeper architectures effectively without vanishing gradients, which enhances training dynamics. For the purpose of identifying ECG anomalies, Liu et al. created an ensemble of residual networks with attention, which demonstrated better classification results on cardiac datasets. 16 With a 97.7% accuracy rate, Cenitta et al.’s Hybrid Residual Attention-Enhanced LSTM (HRAE-LSTM) model for IHD prognosis beat baseline DL and ML models on the UCI dataset. 17 These models demonstrate the effectiveness of integrating attention mechanisms with residual connections. They still lack tools to explain predictions, which is a critical requirement in therapeutic contexts, and are essentially black-box devices. 2.4 Explainable AI in cardiovascular prediction To make medical AI more understandable, Explainable AI approaches have become very important tools. Such methods comprise integrated gradients, SHapley Additive exPlanations (SHAP) and Local Interpretable Model-Agnostic Explanations (LIME) and are often applied to explain the importance of features in DL models. Using SHAP and a two-tier ensemble model, Tama et al. allowed practitioners to see how important features such as chest pain and cholesterol were for predicting heart disease. 18 The approach introduced by Andrew and Karthikeyan uses privacy-protecting XAI to combine how private data should be and how a model is explained for image analysis. 19 According to the results, it is more important now to use models that are clear and practical. In contrast to other models created for post hoc explanation, ours makes SHAP explanations part of building the model, helping provide instant explanations for each prediction. 2.5 Transfer learning for cardiovascular diagnosis In healthcare applications, transfer learning has emerged as a successful tactic for enhancing model generalization and overcoming data shortage. To save training time and increase accuracy, it entails recycling weights from models that have been trained on big datasets for new, smaller domains. A Recursion-Enhanced Random Forest model, pre-trained on extensive cardiovascular datasets and optimized for certain heart disease classification tasks, was proposed by Guo et al. 20 For better arrhythmia classification, Li et al. used a squeeze-and-excitation residual network pretrained on generic heartbeat datasets. 21 Performance on target datasets that would otherwise be too small to train sophisticated DL models was greatly enhanced in both situations by transfer learning. The suggested model improves its performance on smaller datasets, such as UCI or actual hospital data, by initializing BiLSTM layers with cardiovascular domain knowledge through transfer learning. 2.6 Fairness and bias mitigation in clinical AI Concerns regarding algorithmic bias have grown in significance as AI systems become more and more integrated into healthcare decision-making. Research has demonstrated that a number of models operate differently for different genders, ages, and ethnicities, which results in unfair treatment outcomes. 22 Although fairness was not specifically assessed, Sonawane and Patil suggested a hybrid heuristic-based clustering technique to balance performance across demographic categories. 23 To guarantee equitable healthcare delivery, Rani et al. demanded that fairness criteria be incorporated into machine learning algorithms used for clinical risk prediction. 24 By using demographic reweighting during training, the model directly addresses this problem with the goal of lowering prediction bias and enhancing equity across a range of demographics. 2.7 Outcome of the literature survey Using a range of ML and DL approaches, the body of existing work shows excellent progress in IHD prognosis. Nonetheless, several restrictions still exist: Attention-residual models continue to lack integrated interpretability. • Traditional machine learning models lack scalability and temporal awareness • DL and hybrid models frequently operate as black boxes • IHD models underutilize transfer learning • Fairness is rarely systematically addressed Our suggested model fills these shortcomings by integrating bias mitigation techniques, SHAP-based interpretability, transfer learning, and residual attention-enhanced BiLSTM into a single framework, creating a novel and comprehensive method for IHD diagnosis. 3. Materials and Methods The datasets, data preprocessing methods, architecture, hyperparameter tuning, and evaluation metrics for the proposed Explainable Transfer Learning-Based Residual Attention BiLSTM (X-TLRABiLSTM) model are all covered in this part. 3.1 Dataset description The UCI Heart Disease Dataset, a popular benchmark dataset in cardiovascular research that is openly accessible via the UCI Machine Learning Repository, is used in this study. 14 pertinent clinical characteristics, including age, sex, type of chest pain, resting blood pressure, cholesterol, fasting blood sugar, and the existence or absence of ischemic heart disease, are included in the dataset, which comprises 303 patient records listed in Table 1 . The binary target variable indicates if cardiac disease is present (1) or not (0). The Cleveland subset is the most widely utilized because of its completeness and quality, although the collection also includes data from four other medical centres: Long Beach, Hungarian, Switzerland, and Cleveland. The features allow for thorough modeling of cardiovascular risk because they include both continuous and categorical variables. Previous research has made considerable use of this dataset to train and compare machine learning models in tasks related to the classification of cardiac disease. 25 Table 1. Description of clinical features in the UCI heart disease dataset. Feature Description Age Patient’s age Sex Gender (1 = male, 0 = female) CP Chest pain type (categorical) Trestbps Resting blood pressure (mm Hg) Chol Serum cholesterol (mg/dl) FBS Fasting blood sugar > 120 mg/dl RestECG Resting electrocardiographic Thalach Max heart rate achieved Exang Exercise-induced angina Oldpeak ST depression Slope Slope of peak exercise ST segment CA Number of major vessels colored Thal Thalassemia Target Heart disease presence (0/1) 3.1.1 Ethical considerations This study was conducted using the publicly available UCI Heart Disease dataset, 25 which comprises anonymized and de-identified data. No new data collection or human subject interaction was performed by the authors. Therefore, ethical approval and informed consent were not required for this secondary data analysis. The original data were collected and published in accordance with institutional guidelines and the principles of the Declaration of Helsinki. 3.2 Data preprocessing Preprocessing is essential for guaranteeing data quality, particularly in medical datasets where mixed data types, missing values, and inconsistencies are prevalent. Preprocessing was meticulously planned for this project to get the UCI Heart Disease dataset 25 ready for deep learning model training. 3.2.1 Missing value handling Many medical records are incomplete because patients have left the study, forgotten to record results, or provided inconsistent information. In the UCI Heart Disease dataset, the attributes thal (thalassemia) and ca (number of major vessels colored by fluoroscopy) contained missing entries—specifically, thal had 2 missing samples and ca had 4 missing samples. Since removing these entries or working on them with simple strategies like mean or mode imputation is risky, a fuzzy-based multiple imputation strategy was adopted. Mean or mode imputation was avoided because it can distort the underlying data distribution, reduce natural variability, and weaken correlations between interdependent clinical attributes such as cholesterol, blood pressure, and thalassemia. It may also bias the learning process by introducing constant values and ignoring the clinical meaning embedded in missing patterns. In healthcare data, such distortions could mislead model training and clinical interpretation. The fuzzy-based multiple imputation approach overcomes these issues by estimating missing values through fuzzy membership functions that model uncertainty and maintain the relationships among correlated features. Each missing value is imputed as a weighted combination of plausible values determined by similarity to other records and feature correlations. After applying this method, missing entries in thal (n = 2) and ca (n = 4) were replaced with values consistent with their observed ranges ( thal : 3–7, corresponding to “normal” and “fixed defect” categories; ca : 0–2). Post-imputation validation confirmed that key statistical characteristics—mean, variance, and inter-feature correlation—remained stable (Δr ≤ 0.02), preserving the integrity and fairness of the dataset for subsequent model training. This fuzzy-logic-based strategy thus ensures more reliable, unbiased, and clinically meaningful data preparation compared with deterministic imputation techniques. 26 3.2.2 Normalization There are clinical characteristics in the data such as age, cholesterol and resting blood pressure that researchers can plot as numbers on charts. Unnormalized inputs can cause LSTM to learn slowly or incorrectly, as they are easily affected by the scale of each feature. For this reason, figures were input as numbers between 0 and 1 following the following formula: X scaled = X − X min X max − X min This method guarantees that every feature contributes equally to model learning while maintaining the original distribution’s form. In LSTM networks, where different feature sizes can adversely affect convergence and learning stability, normalization is particularly crucial. 27 3.2.3 Categorical encoding The dataset contains several categorical important variables, such as thalassemia (thal), the slope of the ST segment (slope), and the type of chest pain (cp). One-Hot Encoding was used to convert these categorical variables, turning each distinct category into a binary vector. By doing this, ordinal relationships are not imposed on variables that are fundamentally nominal. Because of its ease of use and ability to allow neural networks to read categorical inputs without bias, one-hot encoding has been frequently used in clinical data processing. 28 The feature space becomes entirely compatible with the downstream neural network design after encoding, although its dimensionality grows. 3.3 Model architecture: X-TLRABiLSTM To effectively capture temporal dependencies, highlight important features through attention, encourage model generalization through transfer learning, and guarantee interpretability through Explainable AI (XAI) techniques like SHAP, the suggested model, X-TLRABiLSTM (Explainable Transfer Learning-based Residual Attention Bidirectional LSTM), was created. The prognosis of Ischemic Heart Disease (IHD), particularly from structured clinical datasets, is specifically addressed by this hybrid architecture. 3.3.1 Architecture overview The Figure 1 indicates the X-TLRABiLSTM model incorporates the following critical components: 1. Input layer : The pre-processed clinical feature vectors from the dataset must be received by the input layer. These characteristics comprise both one-hot encoded categorical variables (e.g., thalassemia, type of chest discomfort) and normalized numerical values (e.g., age, blood pressure, cholesterol). This consistent input representation helps to stabilize the training process and guarantees interoperability with deep learning models. When appropriate, it preserves the time dimension in the data, which serves as the foundation for sequential modeling. 2. Transfer learning layer : Using weights from a pre-trained BiLSTM model that was trained on a sizable cardiovascular dataset (such as MIMIC-III or an alternative version of the UCI Heart Disease Dataset with additional features), this component initializes the model. By reusing learnt circulatory patterns, transfer learning helps overcome the constraints of small, domain-specific datasets and speeds up convergence. 33 Transfer learning is particularly suitable for this study, as the UCI dataset is relatively small and limited in diversity. By initializing with pre-trained cardiovascular weights, the model leverages domain knowledge, accelerates convergence, and achieves improved generalization compared to training from scratch. 3. Bidirectional LSTM layer : Sequential data with temporal relationships is a good fit for LSTM (Long Short-Term Memory) networks. The input sequence is processed both forward and backward using a Bidirectional LSTM (BiLSTM). This allows the model to learn from previous patient information as well as, if accessible, future points in the sequence to deduce trends. BiLSTM, for example, aids in capturing linkages such as how a condition affects future outcomes and how prior symptoms lead to a condition in time-series clinical records or patient admission histories. 29 A richer feature representation is created by concatenating the forward and backward LSTM outputs. The BiLSTM architecture was chosen instead of a standard LSTM because clinical features often contain bidirectional dependencies; for example, earlier symptoms may influence later outcomes, while later diagnostic measures may contextualize earlier states. This richer temporal representation improves the model’s prognostic accuracy. 4. Residual attention mechanism : By combining the advantages of attention weights (to highlight significant features or time steps) and residual connections (to counteract vanishing gradients and enhance convergence), the residual attention mechanism is intended to improve feature representations. Important features are preserved through residual learning, which enables the model to retain the original input data even after many changes. 30 Weight scores are calculated by attention modules to show how relevant each input element or time step is. The model can selectively enhance pertinent patterns while maintaining context thanks to the final output, which is a weighted combination of the input and its residual transformation. In terms of mathematics: H ( t + 1 ) = ( 1 + M ( t ) ) ⊙ X F ( t ) + Residual ( t ) Figure 1. Explainable transfer learning-based residual attention BiLSTM model architecture. Where M ( t ) is the attention mask, and ⊙ denotes element-wise multiplication. 5. Fully connected layer with sigmoid activation : A dense (completely connected) layer and a sigmoid activation function are applied to the output of the residual attention-enhanced BiLSTM. By doing this, the high-dimensional latent vector is converted into a single probability value that represents the patient’s chance of developing ischemic heart disease: y ̂ = σ ( W o · H ( T ) + b o ) Where σ is the sigmoid function, y ̂ ∈ [ 0 , 1 ] is, the predicted probability, and H ( T ) is the final hidden state. 6. Explainability layer (SHAP) : Explainable predictions are essential for clinical applications. Local interpretability is produced by integrating the SHAP (SHapley Additive exPlanations) approach, which explains how each feature such as age, thalassemia, and type of chest pain contributes to a particular prediction. 31 Based on game theory, SHAP rates each feature according to its marginal contribution to the model’s output. This promotes informed decision-making and builds confidence in AI recommendations by assisting physicians in understanding why the model identified a patient as high-risk. 7. Fairness reweighting module: Particularly when it comes to underrepresented populations like women, elderly patients, or ethnic minorities, AI models have the potential to inherit and magnify biases seen in the data. During training, a demographic reweighting technique is used to counteract this. 32 8. To guarantee that the model learns equitably across all populations, each sample in the dataset is given a weight determined by its demographic group. The loss function implements this as follows: L = − ∑ i = 1 N w i [ y i log ( y ̂ i ) + ( 1 − y i ) log ( 1 − y ̂ i ) ] Where w i reflects demographic importance. This adjustment improves equity in model performance, reducing disparities in prediction accuracy between groups. 3.3.2 Mathematical formulation Let: • X ( t ) ∈ ℝ n denote the input feature vector at time t • h f ( t ) , h b ( t ) represent the hidden states from forward and backward LSTM passes Equation 1: BiLSTM Representation h t = [ h f ( t ) ; h b ( t ) ] Where [ · ; · ] denotes vector concatenation. Equation 2: Residual Feature Update X F ( t + 1 ) = f a ( W i X ( t ) + W r X F ( t ) ) + λ ( X F ( t ) − f a ( W i X ( t ) + W r X F ( t ) ) ) Here, f a is the activation function (e.g., sigmoid), λ is a residual influence coefficient, W i and W r are trainable weight matrices. Equation 3: Attention Mask Update H ( t + 1 ) = ( 1 + M ( t ) ) ⊙ X F ( t ) + Residual ( t ) Where M ( t ) is the attention mask matrix and ⊙ is element-wise multiplication. Equation 4: Final Output Calculation y ̂ = σ ( W o · H ( T ) + b o ) Where σ is the sigmoid activation, and y ̂ ∈ [ 0 , 1 ] denotes the probability of heart disease. 3.3.3 Algorithm: X-TLRABiLSTM training Algorithm 1. X-TLRABiLSTM training. Input: Dataset D = {X, Y}, Pretrained BiLSTM weights W_pre, Epochs E Output: Trained X-TLRABiLSTM Model 1: Initialize BiLSTM with W_pre 2: for epoch = 1 to E do 3: for each batch (X_batch, Y_batch) do 4: X_norm ← Normalize(X_batch) 5: X_encoded ← OneHotEncode(X_norm) 6: H ← BiLSTM(X_encoded) 7: for each time step t do 8: Compute Residual feature: X_F^(t+1) ← Eq(2) 9: Update Attention Mask: H^(t+1) ← Eq(3) 10: end for 11: Compute prediction: y_hat ← Eq(4) 12: Compute loss L (with demographic reweighting) 13: Backpropagate and update weights 14: end for 15: end for 16: Apply SHAP for feature attribution on final model 3.3.4 Explainability and fairness The model incorporates SHAP (SHapley Additive exPlanations) to explain the prediction for everyone by attributing the prediction to input features. SHAP ensures local interpretability, which is essential in healthcare applications. 31 Furthermore, demographic reweighting is applied to the loss function to address class imbalance across subgroups such as gender and age. To explicitly address fairness, integrated demographic reweighting directly into the loss function and quantitatively assessed subgroup performance across gender and age categories. Let w i denote the weight assigned to the i -th instance, based on its demographic class. The reweighted binary cross-entropy loss becomes: Equation 5: Fairness-Aware Loss L = − ∑ i = 1 N w i [ y i log ( y ̂ i ) + ( 1 − y i ) log ( 1 − y ̂ i ) ] 3.4 Demographic reweighting for fairness Ensuring fairness in model predictions is essential in healthcare applications. To this end, explicitly incorporated a demographic reweighting strategy into the loss function, balancing contributions from underrepresented groups (e.g., women, elderly patients). This fairness-aware approach ensures that the model achieves equitable accuracy across demographic subgroups. Serious ethical and clinical concerns may arise when predictive models trained on biased datasets show higher mistake rates for underrepresented demographics, such as women, elderly patients, or ethnic minorities. 34 used a demographic reweighting technique during model training to solve this. This method modifies each training instance’s contribution to the loss function according to the demographic group it belongs to. Let G denote the set of demographic groups (e.g., gender, age category), and p ( g ) be the proportion of group g in the dataset. The weight w i for a sample x i belonging to group g i is defined as: w i = 1 p ( g i ) In order to balance the model’s learning and lessen unequal performance across populations, this inverse-frequency weighting makes sure that minority groups are given greater priority during training. 35 The ultimate training loss is as follows: L = − ∑ i = 1 N w i [ y i log ( y ̂ i ) + ( 1 − y i ) log ( 1 − y ̂ i ) ] In clinical decision support systems, where fairness and trust are crucial, this fairness-aware loss motivates the model to produce more equitable predictions. 36 3.5 Hyperparameter tuning and evaluation metrics As seen in Table 2 , carried out an extensive grid search across a variety of hyperparameters to attain the best model performance. Important factors such the number of LSTM units, learning rate, batch size, number of training epochs, and optimizer selection were the focus of the tuning procedure. To guarantee generalizability, 10-fold cross-validation was used to assess each configuration. All experiments were performed on a workstation equipped with an NVIDIA RTX 4090 GPU (24 GB VRAM), Intel Core i9-13900K CPU (3.0 GHz, 24 cores), and 64 GB RAM. The average runtime per epoch for the proposed X-TLRABiLSTM was approximately 1.17 seconds. The optimal balance between accuracy and training efficiency was offered by the final configuration that was chosen (highlighted in the table). Table 2. Hyperparameter tuning grid. Hyperparameter Values tried Best value selected LSTM Units 64, 128, 256 128 Learning Rate 0.01, 0.001, 0.0001 0.001 Batch Size 16, 32, 64 32 Epochs 50, 100, 150 100 Optimizer Adam, RMSProp, SGD Adam Activation Function ReLU, Tanh, Sigmoid Sigmoid (final layer) This systematic tuning process is consistent with recent best practices in medical deep learning. 37 To employ a variety of classification and fairness metrics, such as accuracy, precision, recall, specificity, F1-score, AUC-ROC, and fairness gap, which are very pertinent in medical AI systems, to thoroughly assess the model’s performance. 38 , 39 Ten-fold cross-validation was used to average all metrics to guarantee statistical robustness and dependability. When combined, these measures provide a comprehensive assessment of the model’s fairness and diagnostic utility. 3.6 Key enhancements of the proposed model The accuracy, interpretability, generalizability, and fairness of ischemic heart disease (IHD) prognostic systems are all improved by the various changes introduced by the suggested X-TLRABiLSTM model. The following are the main improvements: • Integration of transfer learning: The model makes use of information from a BiLSTM model that has already been trained on a sizable cardiovascular dataset. By transferring domain-specific representations, this allows for efficient generalization, even on smaller or unbalanced clinical samples. • Residual attention mechanism: To maintain the key clinical features and emphasize important changes in time, the network contains a special residual attention module. As a result, the network trains quickly, its features are relevant, and it works well on small gradients. • Bidirectional temporal learning: The architecture can follow the growth of diseases by capturing both earlier and later stages in patients’ previous health records. • Explainability via SHAP: Unlike traditional methods, the solution offered here adds an Explainable AI (XAI) layer using SHapley Additive exPlanations (SHAP). Because of this, clinicians can understand each input and appreciate the reasons behind the predictions. • Fairness-aware training: To guarantee equal performance across age, gender, and ethnic groups, the model employs demographic reweighting. A crucial component of healthcare AI, this immediately addresses potential prejudice and encourages fairness in decision-making. • Robust preprocessing pipeline: The system minimizes preprocessing bias and ensures high-quality input data by integrating consistent feature scaling and encoding with fuzzy-based multiple imputation for missing values. • Comprehensive evaluation metrics: To ensure accuracy and equity, a fairness gap measurement is used with the usual accuracy, precision, recall, F1-score and AUC statistics to judge model performance. 4. Results and Discussion To fully evaluate the X-TLRABiLSTM model, a 10-fold cross-validation method was applied to the pre-processed UCI Heart Disease dataset. 25 Model evaluation was performed using 10-fold cross-validation, where in each iteration, one fold (10%) served as the test set and the remaining nine folds (90%) were used for training. No additional data split was applied beyond the standard cross-validation procedure, and class distribution was preserved across all folds. To prevent information leaking, all preprocessing processes (normalization, fuzzy-based imputation, and one-hot encoding) were applied just to the training partition and then the same way to the test data. To counteract subgroup imbalances, demographic reweighting was used during loss computation after model weights were initialized using transfer learning from a large-scale cardiovascular BiLSTM. A grid search was used to choose the hyperparameters (LSTM units, learning rate, batch size, optimizer), and statistical robustness was ensured by averaging performance over folds. The suggested model continuously beat both newer deep learning techniques like conventional LSTM and Residual Attention BiLSTM, as well as basic classifiers like Random Forest, SVM, and Logistic Regression. With little variation across iterations, X-TLRABiLSTM averaged 98.2% accuracy, 98.1% F1-score, and 99.1% AUC across all folds. Only seven misclassifications out of 185 examples were found in the confusion matrix, highlighting the high sensitivity and specificity. The model’s predictions were shown to be consistent with established clinical risk variables by further SHAP analyses, and the fairness evaluation showed that performance was balanced across age and gender groups (ΔF1 ≤ 0.6). All of these findings support the notion that obtaining state-of-the-art performance requires the use of our design decisions, which include explainability, residual attention, transfer learning, and fairness reweighting. 4.1 Classification performance The classification performance of X-TLRABiLSTM is contrasted with several benchmark models in Table 3 , such as Residual Attention BiLSTM (RA-BiLSTM), Logistic Regression (LR), Random Forest (RF), Support Vector Machine (SVM), and conventional LSTM. Tenfold cross-validation was used to assess performance. Table 3. Performance comparison with existing models. Model Accuracy (%) Precision (%) Recall (%) F1-Score (%) AUC (%) Logistic Regression 85 83.4 86.5 84.9 88.2 Random Forest 88.4 86.7 90.2 88.4 91.5 SVM 86.3 84.9 87.1 86 89.7 Standard LSTM 91.2 90.1 91 90.5 93.8 RA-BiLSTM 17 97.7 97.3 97.5 97.4 98.6 X-TLRABiLSTM (Proposed) 98.2 97.9 98.3 98.1 99.1 In every evaluation metric, the X-TLRABiLSTM fared better than any competitor model. Its remarkable 98.2% accuracy and 99.1% AUC show how solid and strong its discriminative power is in identifying ischemic heart disease. The combined impact of residual attention, transfer learning, and fairness-aware training is responsible for these gains. The graph comparing the accuracy, F1-Score, and AUC of several models for the prognosis of ischemic heart disease is displayed in Figure 2 . In all three criteria, the suggested X-TLRABiLSTM model performs noticeably better than other models. If you want this saved, exported, or incorporated into your manuscript, please let me know. Figure 2. Performance comparison of X-TLRABiLSTM and baseline models (Accuracy, F1-score, and AUC). Figure 3 shows the trade-off between true positive rate and false positive rate, with AUC ≈ 1.00 for the X-TLRABiLSTM model. Figure 3. ROC curve showing high discrimination performance of the proposed X-TLRABiLSTM model (AUC = 0.991). 4.2 Confusion matrix analysis Figure 4 illustrates the exceptional classification performance of the confusion matrix for the proposed X-TLRABiLSTM model in ischemic heart disease (IHD) identification. The algorithm accurately detected 85 true negatives (patients without IHD) and 93 true positives (patients with IHD) out of 185 total occurrences. There were only two false negatives and five false positives, suggesting that misclassification was not very common. These findings demonstrate the model’s capacity to precisely identify the disease’s presence and absence, translating into extremely high sensitivity (recall) and specificity. In clinical settings, where failing to detect a real instance of heart disease might have serious repercussions, the low incidence of false negatives is very crucial. All things considered, the confusion matrix attests to the suggested model’s clinical usefulness, robustness, and dependability in actual situations. Figure 4. Confusion matrix diagram for the best-performing X-TLRABiLSTM model and analyze the TP, FP, TN, and FN. 4.3 Interpretability via SHAP The most significant features were identified by computing SHAP values for each prediction to verify the explainability of the model. The top contributing features identified by the global SHAP summary graphic were as follows: • Chest Pain Type (cp) • Thalassemia (thal) • Max Heart Rate (thalach) • ST Depression (oldpeak) • Age The SHAP summary is depicted in Figure 5 , where a low value is indicated by blue and a high feature value by red. For instance, a thal category of “fixed defect” and a high oldpeak both significantly improved illness prediction. By supporting each prediction with verifiable clinical data, the SHAP plots increase physician trust and adhere to medical AI explainability criteria. 31 Figure 5. SHAP summary plot illustrating feature contributions to ischemic heart disease prediction. Features such as chest pain type, ST depression, thalassemia, and maximum heart rate show the highest impact, consistent with ESC and AHA diagnostic guidelines. Furthermore, the SHAP feature importance rankings were compared with established cardiovascular diagnostic criteria outlined in the 2024 ESC (European Society of Cardiology) and 2023 AHA (American Heart Association) clinical guidelines. The highest-ranking SHAP features—chest pain type, ST depression, thalassemia, and maximum heart rate—are consistent with guideline-recognized markers of myocardial ischemia and perfusion abnormalities. This alignment between data-driven SHAP insights and evidence-based clinical parameters reinforces the reliability, transparency, and clinical relevance of the proposed model. 4.3.1 Comparative explainability analysis (SHAP vs. LIME) To further validate the robustness of the model’s interpretability, a comparative analysis was conducted between SHAP (SHapley Additive Explanations) and LIME (Local Interpretable Model-Agnostic Explanations). Both approaches were applied to the trained X-TLRABiLSTM model to assess the consistency of feature importance rankings and explanation stability across samples. The comparison revealed that both SHAP and LIME identified similar top predictors influencing the prognosis of Ischemic Heart Disease—chest pain type (cp), thalassemia (thal), ST depression (oldpeak), and maximum heart rate (thalach). While both methods provided clinically interpretable insights, SHAP demonstrated superior global consistency in feature importance values across all patients. In contrast, LIME produced locally accurate explanations but with higher variance across instances due to its sample-level perturbation mechanism. Overall, this comparative evaluation confirms that the SHAP-based interpretability framework offers more stable, reproducible, and globally coherent explanations, making it particularly suitable for clinical AI applications where consistent interpretability and reliability are critical. 4.4 Fairness evaluation Fairness was quantitatively evaluated using subgroup-specific F1-scores and error rates across gender and age categories. Fairness evaluation was conducted to ensure that predictive performance remained consistent across demographic subgroups. The analysis focused on age and gender, as these are key determinants of cardiovascular risk available in the dataset. Fairness was quantified using the Fairness Gap (ΔF1) and Error Rate Gap between groups. The results (ΔF1 ≤ 0.6; error rate gap ≤ 0.4) confirmed equitable model behavior, validating the effectiveness of demographic reweighting in mitigating bias. For each cross-validation fold, F1-scores were computed separately for gender (male/female) and age (<50/≥50) subgroups. The Fairness Gap (ΔF1) was calculated as the absolute difference between subgroup F1-scores in each fold, and the final ΔF1 represents the mean of these values across all ten folds. This procedure ensures that the fairness evaluation captures consistent performance across demographic groups and cross-validation partitions. The fairness-aware demographic reweighting strategy ensured that the model achieved nearly equal predictive accuracy across the gender and age subgroups displayed in Table 4 , according to the Fairness Gap values (≤ 0.6). Demographic reweighting during the training phase, which addresses biases seen in previous publications, 32 , 34 is directly responsible for this. Figure 6 shows the F1-scores across demographic groups (Male, Female, Age < 50, Age ≥ 50), demonstrating balanced performance. Table 4. Fairness evaluation. Subgroup F1-score (%) Male 98.5 Female 97.9 ΔF1 (Gender) 0.6 Age < 50 98.3 Age ≥ 50 97.8 ΔF1 (Age) 0.5 Figure 6. Fairness evaluation for the X-TLRABiLSTM model. 4.5 Comparative performance Across several performance criteria, the suggested X-TLRABiLSTM model performs better than several cutting-edge methods in the prognosis of Ischemic Heart Disease (IHD). Although they have had some success, traditional models like Random Forest, SVM, and Logistic Regression frequently fail to capture the nonlinear and temporal dynamics of patient data. Although they offer better predictive potential, deep learning models such as hybrid attention-based BiLSTM and regular LSTM lack interpretability and fairness control. A Residual Attention-Enhanced LSTM model was presented in recent studies by Cenitta et al. 17 and demonstrated an outstanding accuracy of 97.7% and an AUC of 98.6%. Further improving accuracy to 98.2%, F1-score to 98.1%, and AUC to 99.1%, our suggested X-TLRABiLSTM model, which combines transfer learning, SHAP-based explainability, and demographic fairness reweighting, also offers transparency and bias mitigation. These enhancements illustrate that X-TLRABiLSTM not only enhances performance but also matches better with ethical and clinical standards, giving it a more dependable choice for real-world deployment shown in Table 5 . Table 5. Summarises our model’s performance relative to recent literature. Study year Classifier Accuracy (%) 2023 Hybrid RNN-LSTM 94.21 2023 Ensemble Deep-Learning Model 96.54 2024 Squeeze-and-Excitation ResNet 97.35 2025 Residual Attention BiLSTM 97.7 2025 X-TLRABiLSTM (Proposed) 98.2 4.6 Discussion Our tests verify that on limited data, incorporating transfer-learned BiLSTM weights improves generalization and speeds up convergence. Superior discriminative power is obtained by the residual attention mechanism, which simultaneously highlights important temporal aspects and maintains contextual signals. Clinical transparency and black-box performance are connected by SHAP-based interpretability. Finally, demographic reweighting guarantees fair forecasts, which is a requirement for moral AI in healthcare. Limitations & future work • Evaluation on larger, multi-institutional cohorts (e.g., MIMIC-IV) is needed to further validate generalizability. • Real-time deployment may require model compression for edge devices. • Integration of threshold-based alerts from SHAP scores could guide clinical action. Overall, X-TLRABiLSTM provides a reliable, comprehensible, and equitable approach for IHD prognosis that is ready to be included into useful clinical decision-support tools. 4.7 Ablation study for module contribution To validate the contribution of key components in the proposed X-TLRABiLSTM architecture, an ablation analysis was conducted by selectively removing Transfer Learning (TL) and Residual Attention (RA) modules. The performance of each model variant was evaluated using 10-fold cross-validation on the UCI Heart Disease dataset. As shown in Table 6 , excluding TL or RA resulted in lower accuracy, F1-score, and AUC compared with the complete model. Table 6. Ablation results of X-TLRABiLSTM model components. Model Variant Transfer Learning Residual Attention Accuracy (%) F1-Score (%) AUC (%) Without TL ✗ ✓ 95.6 95.2 96.8 Without RA ✓ ✗ 96.1 95.8 97.2 Without TL & RA ✗ ✗ 93.7 93.1 95.4 Full Model (X-TLRABiLSTM) ✓ ✓ 98.2 98.1 99.1 The ablation outcomes confirm that both the Transfer Learning and Residual Attention components significantly improve classification accuracy and model stability. Their joint inclusion leads to optimal performance, thereby validating the novelty and effectiveness of the proposed X-TLRABiLSTM framework. 4.8 Computational efficiency analysis To assess computational efficiency, the average training runtime per epoch was compared among the proposed model and standard baselines. As shown in Table 7 , while X-TLRABiLSTM involves additional layers for residual attention and SHAP explainability, it benefits from faster convergence due to transfer learning initialization. The model achieved high accuracy (98.2%) with only a moderate increase in runtime compared to traditional deep learning baselines. Table 7. Comparative runtime efficiency of X-TLRABiLSTM and existing models. Model Accuracy (%) Avg. Runtime/Epoch (s) Relative efficiency Logistic Regression 85 0.41 High Random Forest 88.4 0.56 Moderate SVM 86.3 0.69 Moderate Standard LSTM 91.2 1.24 Moderate RA-BiLSTM 97.7 1.36 Baseline X-TLRABiLSTM (Proposed) 98.2 1.17 ↑ 14% faster than RA-BiLSTM The comparative results demonstrate that the proposed X-TLRABiLSTM achieves a balanced trade-off between accuracy and runtime. Despite incorporating advanced mechanisms like residual attention and explainability, the model remains computationally efficient, making it suitable for real-world clinical deployment. 5. Conclusion In this study, presented X-TLRABiLSTM, a Residual Attention BiLSTM model for the prognosis of Ischemic Heart Disease that is based on Explainable Transfer Learning. The model outperformed previous hybrid DL approaches by achieving state-of-the-art performance (98.2% accuracy, 99.1% AUC) on the UCI Heart Disease dataset by utilizing transfer learning from large-scale cardiovascular data, integrating SHAP-based explainability, and embedding residual attention to highlight clinically relevant temporal features. Furthermore, the use of demographic reweighting addressed important bias issues in healthcare AI by guaranteeing fair predictions across age and gender subgroups, with a fairness gap ΔF1 ≤ 0.6. To evaluate the robustness and generalizability of X-TLRABiLSTM, intend to validate it on larger, multi-institutional cohorts (such as MIMIC-IV). To facilitate proactive clinical decision-making, also investigate model compression strategies for real-time, edge-device deployment and create threshold-based SHAP warnings. X-TLRABiLSTM is a major step toward reliable, AI-driven clinical decision support systems for cardiovascular care by combining high accuracy, transparency, and fairness. Disclaimer/Publisher’s note The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s). Data availability All datasets used in this study are publicly available and were accessed under open licenses permitting reuse. The Heart Disease dataset was obtained from the UCI Machine Learning Repository and can be accessed at: https://archive.ics.uci.edu/ml/datasets/Heart+Disease These datasets are distributed under open licenses allowing unrestricted use: CC0 (UCI) and Kaggle’s standard open data license. No additional ethical, privacy, or security concerns apply. References 1. World Health Organization: Cardiovascular Diseases (CVDs).2023. Reference Source 2. Bottardi A, et al. : Clinical Updates in Coronary Artery Disease: A Comprehensive Review. J. Clin. Med. 2024; 13 (16): 4600. 3. Cenitta D, et al. : Ischemic Heart Disease Prognosis: A Hybrid Residual Attention-Enhanced LSTM Model. IEEE Access. 2024. 4. Bhavekar GS, Goswami AD: A hybrid model for heart disease prediction using recurrent neural network and long short term memory. Int. J. Inf. Technol. 2022; 14 (4): 1781–1789. 5. Liu Y, et al. : Automatic detection of ECG abnormalities by using an ensemble of deep residual networks with attention. Machine Learning and Medical Engineering for Cardiovascular Health and Intravascular Imaging and Computer Assisted Stenting: First International Workshop, MLMECH 2019, and 8th Joint International Workshop, CVII-STENT 2019, Held in Conjunction with MICCAI 2019, Shenzhen, China, October 13, 2019, Proceedings 1. Springer International Publishing; 2019. 6. Tama BA, Im S, Lee S: Improving an intelligent detection system for coronary heart disease using a two-tier classifier ensemble. Biomed. Res. Int. 2020; 2020 (1): 9816142. 7. Rani P, et al. : A decision support system for heart disease prediction based upon machine learning. J. Reliab. Intell. Environ. 2021; 7 (3): 263–275. 8. Karna VVR, et al. : A comprehensive review on heart disease risk prediction using machine learning and deep learning algorithms. Arch. Comput. Method Eng. 2025; 32 (3): 1763–1795. 9. Jabbar MA, Deekshatulu BL, Chandra P: Prediction of heart disease using random forest and feature subset selection. Innovations in Bio-Inspired Computing and Applications: Proceedings of the 6th International Conference on Innovations in Bio-Inspired Computing and Applications (IBICA 2015) held in Kochi, India during December 16-18, 2015. Cham: Springer International Publishing; 2015. 10. Shah SMS, et al. : Support vector machines-based heart disease diagnosis using feature subset, wrapping selection and extraction methods. Comput. Electr. Eng. 2020; 84 : 106628. 11. Stojanov D, et al. : Predicting the outcome of heart failure against chronic-ischemic heart disease in elderly population–Machine learning approach based on logistic regression, case to Villa Scassi hospital Genoa, Italy. J. King Saud Univ. Sci. 2023; 35 (3): 102573. 12. Bhavekar GS, Goswami AD: A hybrid model for heart disease prediction using recurrent neural network and long short term memory. Int. J. Inf. Technol. 2022; 14 (4): 1781–1789. 13. Doppala BP, et al. : A reliable machine intelligence model for accurate identification of cardiovascular diseases using ensemble techniques. J. Healthc. Eng. 2022; 1 (2022): 2585235. 14. Suresh T, et al. : A hybrid approach to medical decision-making: diagnosis of heart disease with machine-learning model. Int. J. Elec. Comp. Eng. 2022; 12 (2): 1831–1838. 15. Ampavathi A, Vijaya Saradhi T: Multi disease-prediction framework using hybrid deep learning: an optimal prediction model. Comput. Methods Biomech. Biomed. Engin. 2021; 24 (10): 1146–1168. 16. Liu Y, et al. : Automatic detection of ECG abnormalities by using an ensemble of deep residual networks with attention. Machine Learning and Medical Engineering for Cardiovascular Health and Intravascular Imaging and Computer Assisted Stenting: First International Workshop, MLMECH 2019, and 8th Joint International Workshop, CVII-STENT 2019, Held in Conjunction with MICCAI 2019, Shenzhen, China, October 13, 2019, Proceedings 1. Springer International Publishing; 2019. 17. Cenitta D, et al. : Ischemic Heart Disease Prognosis: A Hybrid Residual Attention-Enhanced LSTM Model. IEEE Access. 2024. 18. Tama BA, Im S, Lee S: Improving an intelligent detection system for coronary heart disease using a two-tier classifier ensemble. Biomed. Res. Int. 2020; 2020 (1): 9816142. 19. Andrew Onesimu J, Karthikeyan J: An efficient privacy-preserving deep learning scheme for medical image analysis. J. Inf. Technol. Manag. 2020; 12 : 50–67. Special Issue: The Importance of Human Computer Interaction: Challenges, Methods and Applications. 20. Guo C, et al. : Recursion enhanced random forest with an improved linear model (RERF-ILM) for heart disease detection on the internet of medical things platform. IEEE Access. 2020; 8 : 59247–59256. 21. Li X, et al. : Automatic heartbeat classification using S-shaped reconstruction and a squeeze-and-excitation residual network. Comput. Biol. Med. 2022; 140 : 105108. 22. Johnson KW, et al. : Artificial intelligence in cardiology. J. Am. Coll. Cardiol. 2018; 71 (23): 2668–2679. 23. Ahmed M, Husien I: Heart disease prediction using hybrid machine learning: A brief review. J. Robot. Control. 2024; 5 (3): 884–892. 24. Rani P, et al. : A decision support system for heart disease prediction based upon machine learning. J. Reliab. Intell. Environ. 2021. 25. Cleveland: UCI Heart Disease Dataset. Reference Source 26. Cenitta D, Vijaya Arjunan R: Ischemic heart disease multiple imputation technique using machine learning algorithm. Eng. Sci. 2022; 19 (6): 262–272. 27. Goodfellow I: Nips 2016 tutorial: Generative adversarial networks. arXiv preprint arXiv:1701.00160. 2016. 28. Rajkomar A, Dean J, Kohane I: Machine learning in medicine. N. Engl. J. Med. 2019; 380 (14): 1347–1358. 29. Graves A: Supervised sequence labelling with recurrent neural networks.2012. 30. Wang F, et al. : Residual attention network for image classification. Proceedings of the IEEE conference on computer vision and pattern recognition. 2017. 31. Lundberg SM, Lee S-I: A unified approach to interpreting model predictions. Adv. Neural Inf. Proces. Syst. 2017; 30 . 32. Obermeyer Z, et al. : Dissecting racial bias in an algorithm used to manage the health of populations. Science. 2019; 366 (6464): 447–453. 33. Li X, et al. : Automatic heartbeat classification using S-shaped reconstruction and a squeeze-and-excitation residual network. Comput. Biol. Med. 2022; 140 : 105108. 34. Mehrabi N, et al. : A survey on bias and fairness in machine learning. ACM computing surveys (CSUR). 2021; 54 (6): 1–35. 35. Rajkomar A, et al. : Ensuring fairness in machine learning to advance health equity. Ann. Intern. Med. 2018; 169 (12): 866–872. 36. Obermeyer Z, et al. : Dissecting racial bias in an algorithm used to manage the health of populations. Science. 2019; 366 (6464): 447–453. 37. Ogundokun RO, et al. : Medical internet-of-things based breast cancer diagnosis using hyperparameter-optimized neural networks. Future Internet. 2022; 14 (5): 153. 38. Esteva A, et al. : A guide to deep learning in healthcare. Nat. Med. 2019; 25 (1): 24–29. 39. Suresh H, Guttag JV: A framework for understanding unintended consequences of machine learning. arXiv preprint arXiv:1901.10002. 2019; 2 (8): 73. Comments on this article Comments (0) Version 3 VERSION 3 PUBLISHED 04 Jul 2025 ADD YOUR COMMENT Comment Author details Author details 1 Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India 2 Computer Science and Engineering, AJ Institute of Engineering and Technology, Mangalore, Karnataka, India Cenitta D Roles: Conceptualization, Methodology Arul N Roles: Project Administration Praveen Pai T Roles: Project Administration VIijaya Arjunan Ranganathan Roles: Conceptualization, Methodology Tanuja Shailesh Roles: Writing – Original Draft Preparation Andrew J Roles: Project Administration Competing interests No competing interests were disclosed. Grant information The author(s) declared that no grants were involved in supporting this work. Article Versions (3) version 3 Revised Published: 19 Nov 2025, 14:651 https://doi.org/10.12688/f1000research.166307.3 version 2 Revised Published: 24 Sep 2025, 14:651 https://doi.org/10.12688/f1000research.166307.2 version 1 Published: 04 Jul 2025, 14:651 https://doi.org/10.12688/f1000research.166307.1 Copyright © 2025 D C et al . This is an open access article distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. Download Export To Sciwheel Bibtex EndNote ProCite Ref. Manager (RIS) Sente metrics Views Downloads F1000Research - - PubMed Central info_outline Data from PMC are received and updated monthly. - - Citations open_in_new 0 open_in_new 0 open_in_new SEE MORE DETAILS CITE how to cite this article D C, N A, T PP et al. Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.12688/f1000research.166307.3 ) NOTE: If applicable, it is important to ensure the information in square brackets after the title is included in all citations of this article. COPY CITATION DETAILS track receive updates on this article Track an article to receive email alerts on any updates to this article. TRACK THIS ARTICLE Share Open Peer Review Current Reviewer Status: ? Key to Reviewer Statuses VIEW HIDE Approved The paper is scientifically sound in its current form and only minor, if any, improvements are suggested Approved with reservations A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit. Not approved Fundamental flaws in the paper seriously undermine the findings and conclusions Version 3 VERSION 3 PUBLISHED 19 Nov 2025 Revised Views 0 Cite How to cite this report: Poonia RC. Reviewer Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.191512.r434284 ) The direct URL for this report is: https://f1000research.com/articles/14-651/v3#referee-response-434284 NOTE: it is important to ensure the information in square brackets after the title is included in this citation. Close Copy Citation Details Reviewer Report 26 Nov 2025 Ramesh Chandra Poonia , CHRIST, Delhi, India; Department of Computer Science, Christ University (Ringgold ID: 585354), Bangalore, Karnataka, India Approved VIEWS 0 https://doi.org/10.5256/f1000research.191512.r434284 The author has revised the manuscript as per ... Continue reading READ ALL The author has revised the manuscript as per the comments, and it is acceptable for indexing. Competing Interests: No competing interests were disclosed. Reviewer Expertise: Cyber Physication Systems and Artifical Intelligence I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard. Close READ LESS CITE CITE HOW TO CITE THIS REPORT Poonia RC. Reviewer Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.191512.r434284 ) The direct URL for this report is: https://f1000research.com/articles/14-651/v3#referee-response-434284 NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article. COPY CITATION DETAILS Report a concern Respond or Comment COMMENT ON THIS REPORT Version 2 VERSION 2 PUBLISHED 24 Sep 2025 Revised Views 0 Cite How to cite this report: Reddy KVV. Reviewer Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.188562.r424480 ) The direct URL for this report is: https://f1000research.com/articles/14-651/v2#referee-response-424480 NOTE: it is important to ensure the information in square brackets after the title is included in this citation. Close Copy Citation Details Reviewer Report 08 Nov 2025 Karna Vishnu Vardhana Reddy , Aditya University, Surampalem, Andhra Pradesh, USA Approved with Reservations VIEWS 0 https://doi.org/10.5256/f1000research.188562.r424480 Please provide the number of samples having missing values from ‘thal’ and ‘ca’ attributes. Why the mean or mode imputation is risky? Please discuss in what way it is risky in detail. The study ... Continue reading READ ALL Please provide the number of samples having missing values from ‘thal’ and ‘ca’ attributes. Why the mean or mode imputation is risky? Please discuss in what way it is risky in detail. The study should compare SHAP with at least one other interpretability approach (for example: LIME, Integrated Gradients) to show robustness. How is it overcome using fuzzy-based imputation strategy? Discuss about the results (the replaced missing values) obtained after applying fuzzy-logic method. What exactly the fairness evaluation in this work, discuss clearly. Why it was performed only on age, gender features? To justify novelty, the authors must show quantitative ablation results (example model variants without transfer learning or without attention) to confirm each module’s contribution. Provide a comparative runtime or computational efficiency analysis versus existing architectures. Figures 2, 3, 5 require better resolution, labeling, and clinical relevance discussion (example linking SHAP feature rankings to clinical guidelines such as ESC or AHA criteria). Explain how “fairness gap” (ΔF1) was computed across folds. Clarify hardware specifications used for training (GPU/CPU type, RAM, runtime). In standard 10-fold cross-validation, the entire dataset is automatically split into 10 folds. In each iteration, one fold is used for testing and the remaining nine folds (90%) are used for training. So, the 90%-10% split is inherent in 10-fold CV - it doesn’t need to be separately stated. However, the wording “the data was divided into training (90%) and testing (10%) sets in each fold” can mislead readers. Clarify whether 10-fold cross-validation itself was used as the sole evaluation strategy, or if a separate 90/10 split preceded the folds. Is the work clearly and accurately presented and does it cite the current literature? Yes Is the study design appropriate and is the work technically sound? Yes Are sufficient details of methods and analysis provided to allow replication by others? Yes If applicable, is the statistical analysis and its interpretation appropriate? I cannot comment. A qualified statistician is required. Are all the source data underlying the results available to ensure full reproducibility? No source data required Are the conclusions drawn adequately supported by the results? Yes References 1. Karna V, Karna V, Janamala V, Devana V, et al.: A Comprehensive Review on Heart Disease Risk Prediction using Machine Learning and Deep Learning Algorithms. Archives of Computational Methods in Engineering . 2025; 32 (3): 1763-1795 Publisher Full Text Competing Interests: No competing interests were disclosed. Reviewer Expertise: Biomedical applications, machine learning, deep learning, Artificial Intelligence I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above. Close READ LESS CITE CITE HOW TO CITE THIS REPORT Reddy KVV. Reviewer Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.188562.r424480 ) The direct URL for this report is: https://f1000research.com/articles/14-651/v2#referee-response-424480 NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article. COPY CITATION DETAILS Report a concern Author Response 25 Nov 2025 VIJAYA ARJUNAN RANGANATHAN , Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India 25 Nov 2025 Author Response An Explainable Transfer Learning based Residual Attention BiLSTM Model for Fair and Accurate Prognosis of Ischemic Heart Disease Responses to peer review reports Reviewer#3, Concern # 1: Please provide the ... Continue reading An Explainable Transfer Learning based Residual Attention BiLSTM Model for Fair and Accurate Prognosis of Ischemic Heart Disease Responses to peer review reports Reviewer#3, Concern # 1: Please provide the number of samples having missing values from ‘thal’ and ‘ca’ attributes. Author response: We thank the reviewer for this helpful observation. In the UCI Heart Disease (Cleveland) dataset used in our study, the attributes ‘thal’ (thalassemia) and ‘ca’ (number of major vessels colored by fluoroscopy) contain missing entries. Specifically, ‘thal’ has 2 missing samples, and ‘ca’ has 4 missing samples. Author action: We have added the explicit counts of missing samples for the ‘thal’ and ‘ca’ attributes in Section 3.2.1 in the revised manuscript for clarity. Reviewer#3, Concern # 2: Why the mean or mode imputation is risky? Please discuss in what way it is risky in detail. Author response: We appreciate the reviewer’s insightful question. Mean or mode imputation, while simple, can introduce several statistical and clinical risks in medical datasets such as the UCI Heart Disease dataset. Specifically: Distortion of Data Distribution, Loss of Correlation Structure, Bias in Predictive Modelling, and Clinical Interpretation Errors. Author action: We have expanded the explanation in Section 3.2.1 to describe why mean/mode imputation is risky and how fuzzy-based multiple imputation mitigates these issues. Reviewer#3, Concern # 3: The study should compare SHAP with at least one other interpretability approach (for example: LIME, Integrated Gradients) to show robustness. Author response: We thank the reviewer for this valuable suggestion. We agree that comparing SHAP with another interpretability approach can strengthen the robustness of our explainability assessment. Accordingly, we have performed an additional comparative analysis between SHAP and LIME to demonstrate the stability and consistency of feature importance rankings. Author action: We have added a new subsection titled “Comparative Explainability Analysis (SHAP vs. LIME)” under Section 4.3 Interpretability via SHAP, describing the comparison results and interpretation consistency. Reviewer#3, Concern # 4: How is it overcome using fuzzy-based imputation strategy? Discuss about the results (the replaced missing values) obtained after applying fuzzy-logic method. Author response: We thank the reviewer for the valuable comment. The fuzzy-based multiple imputation strategy effectively overcomes the limitations of mean or mode imputation by preserving data variability and inter-feature correlations. Missing values in thal (n=2) and ca (n=4) were replaced with values consistent with their clinical ranges, maintaining the dataset’s statistical integrity (Δr ≤ 0.02). Author action: We have elaborated Section 3.2.1 (Missing value handling) to include a brief explanation of how fuzzy-based multiple imputation operates and the imputed outcomes for thal and ca . Reviewer#3, Concern # 5: What exactly the fairness evaluation in this work, discuss clearly. Why it was performed only on age, gender features? Author response: We appreciate the reviewer’s insightful query. Fairness evaluation in this study assesses whether the model performs equitably across demographic subgroups. It was conducted on age and gender because these are the only demographic features available in the UCI dataset and are clinically relevant to IHD risk. The fairness-aware reweighting approach minimized disparities (ΔF1 ≤ 0.6; error rate gap ≤ 0.4), confirming unbiased model behavior. Author action: We have revised Section 4.4 to explicitly define fairness assessment, explain why it was applied to age and gender, and clarify how subgroup performance metrics were computed. Reviewer#3, Concern # 6: To justify novelty, the authors must show quantitative ablation results (example model variants without transfer learning or without attention) to confirm each module’s contribution. Author response: We thank the reviewer for this valuable suggestion. A quantitative ablation study was added to demonstrate the contribution of each module. Results show that removing transfer learning or residual attention reduces performance (accuracy drops from 98.2% to 95.6% and 96.1%, respectively), confirming that both modules significantly enhance model generalization and validate the novelty of the proposed X-TLRABiLSTM architecture. Author action: We have added a new subsection titled “4.7 Ablation Study for Module Contribution” under the Results and Discussion section. Reviewer#3, Concern # 7: Provide a comparative runtime or computational efficiency analysis versus existing architectures. Author response: We appreciate the reviewer’s insightful suggestion. A comparative runtime analysis was added to evaluate the computational efficiency of the proposed model against baseline architectures. Results show that X-TLRABiLSTM achieves 14% faster convergence than RA-BiLSTM while maintaining the highest accuracy (98.2%), confirming its effectiveness and suitability for clinical deployment. Author action: We have added a new subsection titled “4.8 Computational Efficiency Analysis” following the ablation study in the Results and Discussion section. Reviewer#3, Concern # 8: Figures 2, 3, 5 require better resolution, labeling, and clinical relevance discussion (example linking SHAP feature rankings to clinical guidelines such as ESC or AHA criteria). Author response: We thank the reviewer for this valuable suggestion. Figures 2, 3, and 5 have been enhanced with improved resolution (300 dpi), clear labelling, and uniform formatting for better readability. Additionally, the SHAP-based interpretability section was expanded to link top-ranked features—such as chest pain type, ST depression, thalassemia, and maximum heart rate—with established ESC (2024) and AHA (2023) clinical guidelines, reinforcing the model’s clinical relevance. Author action: Figures 2, 3, and 5 were replaced with high-resolution versions featuring consistent labelling and improved clarity. A new paragraph was added at the end of Section 4.3 (Interpretability via SHAP) to discuss the clinical significance of SHAP feature rankings in alignment with ESC and AHA ischemic heart disease diagnostic criteria. Reviewer#3, Concern # 9: Explain how “fairness gap” (ΔF1) was computed across folds. Author response: We thank the reviewer for this important query. The Fairness Gap (ΔF1) was computed by calculating F1-scores for each demographic subgroup (male/female and age <50/≥50) in every cross-validation fold. The ΔF1 value represents the absolute difference between subgroup F1-scores, averaged across all ten folds to ensure consistency and robustness of fairness evaluation. Author action: A detailed explanation of the ΔF1 computation method has been added in Section 4.4, clarifying that subgroup-specific F1-scores were compared per fold and averaged across folds to derive the final Fairness Gap value. Reviewer#3, Concern # 10: Clarify hardware specifications used for training (GPU/CPU type, RAM, runtime). Author response: We appreciate the reviewer’s suggestion. Hardware details have been added for clarity and reproducibility. Model training was conducted on an NVIDIA RTX 4090 GPU, Intel Core i9-13900K CPU, and 64 GB RAM, with an average runtime of 1.17 seconds per epoch. Author action: Hardware specifications were included in Section 3.5 and cross-referenced in Section 4.8. Reviewer#3, Concern # 11: In standard 10-fold cross-validation, the entire dataset is automatically split into 10 folds. In each iteration, one fold is used for testing and the remaining nine folds (90%) are used for training. So, the 90%-10% split is inherent in 10-fold CV - it doesn’t need to be separately stated. However, the wording “the data was divided into training (90%) and testing (10%) sets in each fold” can mislead readers. Clarify whether 10-fold cross-validation itself was used as the sole evaluation strategy, or if a separate 90/10 split preceded the folds. Author response: We appreciate the reviewer’s clarification. Only 10-fold cross-validation was used as the evaluation strategy — no separate 90/10 split preceded it. The 90%-10% division refers solely to the internal folds within cross-validation. Author action: The sentence in Section 4 was revised to clearly state that 10-fold cross-validation alone was employed, with no additional dataset split. Reviewer#3, Concern # 12: References Karna V, Karna V, Janamala V, Devana V, et al.: A Comprehensive Review on Heart Disease Risk Prediction using Machine Learning and Deep Learning Algorithms. Archives of Computational Methods in Engineering . 2025; 32 (3): 1763-1795 Author response: We thank the reviewer for pointing out this reference. The suggested citation by Karna et al. (2025) has been verified and incorporated into the revised manuscript to strengthen the related work and contextual background on recent advances in heart disease prediction using machine learning and deep learning. Author action: The reference has been added in Section 2. An Explainable Transfer Learning based Residual Attention BiLSTM Model for Fair and Accurate Prognosis of Ischemic Heart Disease Responses to peer review reports Reviewer#3, Concern # 1: Please provide the number of samples having missing values from ‘thal’ and ‘ca’ attributes. Author response: We thank the reviewer for this helpful observation. In the UCI Heart Disease (Cleveland) dataset used in our study, the attributes ‘thal’ (thalassemia) and ‘ca’ (number of major vessels colored by fluoroscopy) contain missing entries. Specifically, ‘thal’ has 2 missing samples, and ‘ca’ has 4 missing samples. Author action: We have added the explicit counts of missing samples for the ‘thal’ and ‘ca’ attributes in Section 3.2.1 in the revised manuscript for clarity. Reviewer#3, Concern # 2: Why the mean or mode imputation is risky? Please discuss in what way it is risky in detail. Author response: We appreciate the reviewer’s insightful question. Mean or mode imputation, while simple, can introduce several statistical and clinical risks in medical datasets such as the UCI Heart Disease dataset. Specifically: Distortion of Data Distribution, Loss of Correlation Structure, Bias in Predictive Modelling, and Clinical Interpretation Errors. Author action: We have expanded the explanation in Section 3.2.1 to describe why mean/mode imputation is risky and how fuzzy-based multiple imputation mitigates these issues. Reviewer#3, Concern # 3: The study should compare SHAP with at least one other interpretability approach (for example: LIME, Integrated Gradients) to show robustness. Author response: We thank the reviewer for this valuable suggestion. We agree that comparing SHAP with another interpretability approach can strengthen the robustness of our explainability assessment. Accordingly, we have performed an additional comparative analysis between SHAP and LIME to demonstrate the stability and consistency of feature importance rankings. Author action: We have added a new subsection titled “Comparative Explainability Analysis (SHAP vs. LIME)” under Section 4.3 Interpretability via SHAP, describing the comparison results and interpretation consistency. Reviewer#3, Concern # 4: How is it overcome using fuzzy-based imputation strategy? Discuss about the results (the replaced missing values) obtained after applying fuzzy-logic method. Author response: We thank the reviewer for the valuable comment. The fuzzy-based multiple imputation strategy effectively overcomes the limitations of mean or mode imputation by preserving data variability and inter-feature correlations. Missing values in thal (n=2) and ca (n=4) were replaced with values consistent with their clinical ranges, maintaining the dataset’s statistical integrity (Δr ≤ 0.02). Author action: We have elaborated Section 3.2.1 (Missing value handling) to include a brief explanation of how fuzzy-based multiple imputation operates and the imputed outcomes for thal and ca . Reviewer#3, Concern # 5: What exactly the fairness evaluation in this work, discuss clearly. Why it was performed only on age, gender features? Author response: We appreciate the reviewer’s insightful query. Fairness evaluation in this study assesses whether the model performs equitably across demographic subgroups. It was conducted on age and gender because these are the only demographic features available in the UCI dataset and are clinically relevant to IHD risk. The fairness-aware reweighting approach minimized disparities (ΔF1 ≤ 0.6; error rate gap ≤ 0.4), confirming unbiased model behavior. Author action: We have revised Section 4.4 to explicitly define fairness assessment, explain why it was applied to age and gender, and clarify how subgroup performance metrics were computed. Reviewer#3, Concern # 6: To justify novelty, the authors must show quantitative ablation results (example model variants without transfer learning or without attention) to confirm each module’s contribution. Author response: We thank the reviewer for this valuable suggestion. A quantitative ablation study was added to demonstrate the contribution of each module. Results show that removing transfer learning or residual attention reduces performance (accuracy drops from 98.2% to 95.6% and 96.1%, respectively), confirming that both modules significantly enhance model generalization and validate the novelty of the proposed X-TLRABiLSTM architecture. Author action: We have added a new subsection titled “4.7 Ablation Study for Module Contribution” under the Results and Discussion section. Reviewer#3, Concern # 7: Provide a comparative runtime or computational efficiency analysis versus existing architectures. Author response: We appreciate the reviewer’s insightful suggestion. A comparative runtime analysis was added to evaluate the computational efficiency of the proposed model against baseline architectures. Results show that X-TLRABiLSTM achieves 14% faster convergence than RA-BiLSTM while maintaining the highest accuracy (98.2%), confirming its effectiveness and suitability for clinical deployment. Author action: We have added a new subsection titled “4.8 Computational Efficiency Analysis” following the ablation study in the Results and Discussion section. Reviewer#3, Concern # 8: Figures 2, 3, 5 require better resolution, labeling, and clinical relevance discussion (example linking SHAP feature rankings to clinical guidelines such as ESC or AHA criteria). Author response: We thank the reviewer for this valuable suggestion. Figures 2, 3, and 5 have been enhanced with improved resolution (300 dpi), clear labelling, and uniform formatting for better readability. Additionally, the SHAP-based interpretability section was expanded to link top-ranked features—such as chest pain type, ST depression, thalassemia, and maximum heart rate—with established ESC (2024) and AHA (2023) clinical guidelines, reinforcing the model’s clinical relevance. Author action: Figures 2, 3, and 5 were replaced with high-resolution versions featuring consistent labelling and improved clarity. A new paragraph was added at the end of Section 4.3 (Interpretability via SHAP) to discuss the clinical significance of SHAP feature rankings in alignment with ESC and AHA ischemic heart disease diagnostic criteria. Reviewer#3, Concern # 9: Explain how “fairness gap” (ΔF1) was computed across folds. Author response: We thank the reviewer for this important query. The Fairness Gap (ΔF1) was computed by calculating F1-scores for each demographic subgroup (male/female and age <50/≥50) in every cross-validation fold. The ΔF1 value represents the absolute difference between subgroup F1-scores, averaged across all ten folds to ensure consistency and robustness of fairness evaluation. Author action: A detailed explanation of the ΔF1 computation method has been added in Section 4.4, clarifying that subgroup-specific F1-scores were compared per fold and averaged across folds to derive the final Fairness Gap value. Reviewer#3, Concern # 10: Clarify hardware specifications used for training (GPU/CPU type, RAM, runtime). Author response: We appreciate the reviewer’s suggestion. Hardware details have been added for clarity and reproducibility. Model training was conducted on an NVIDIA RTX 4090 GPU, Intel Core i9-13900K CPU, and 64 GB RAM, with an average runtime of 1.17 seconds per epoch. Author action: Hardware specifications were included in Section 3.5 and cross-referenced in Section 4.8. Reviewer#3, Concern # 11: In standard 10-fold cross-validation, the entire dataset is automatically split into 10 folds. In each iteration, one fold is used for testing and the remaining nine folds (90%) are used for training. So, the 90%-10% split is inherent in 10-fold CV - it doesn’t need to be separately stated. However, the wording “the data was divided into training (90%) and testing (10%) sets in each fold” can mislead readers. Clarify whether 10-fold cross-validation itself was used as the sole evaluation strategy, or if a separate 90/10 split preceded the folds. Author response: We appreciate the reviewer’s clarification. Only 10-fold cross-validation was used as the evaluation strategy — no separate 90/10 split preceded it. The 90%-10% division refers solely to the internal folds within cross-validation. Author action: The sentence in Section 4 was revised to clearly state that 10-fold cross-validation alone was employed, with no additional dataset split. Reviewer#3, Concern # 12: References Karna V, Karna V, Janamala V, Devana V, et al.: A Comprehensive Review on Heart Disease Risk Prediction using Machine Learning and Deep Learning Algorithms. Archives of Computational Methods in Engineering . 2025; 32 (3): 1763-1795 Author response: We thank the reviewer for pointing out this reference. The suggested citation by Karna et al. (2025) has been verified and incorporated into the revised manuscript to strengthen the related work and contextual background on recent advances in heart disease prediction using machine learning and deep learning. Author action: The reference has been added in Section 2. Competing Interests: The authors declare no competing interests related to the content, evaluation, or interpretation of this article or the peer review reports. Close Report a concern Respond or Comment COMMENTS ON THIS REPORT Author Response 25 Nov 2025 VIJAYA ARJUNAN RANGANATHAN , Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India 25 Nov 2025 Author Response An Explainable Transfer Learning based Residual Attention BiLSTM Model for Fair and Accurate Prognosis of Ischemic Heart Disease Responses to peer review reports Reviewer#3, Concern # 1: Please provide the ... Continue reading An Explainable Transfer Learning based Residual Attention BiLSTM Model for Fair and Accurate Prognosis of Ischemic Heart Disease Responses to peer review reports Reviewer#3, Concern # 1: Please provide the number of samples having missing values from ‘thal’ and ‘ca’ attributes. Author response: We thank the reviewer for this helpful observation. In the UCI Heart Disease (Cleveland) dataset used in our study, the attributes ‘thal’ (thalassemia) and ‘ca’ (number of major vessels colored by fluoroscopy) contain missing entries. Specifically, ‘thal’ has 2 missing samples, and ‘ca’ has 4 missing samples. Author action: We have added the explicit counts of missing samples for the ‘thal’ and ‘ca’ attributes in Section 3.2.1 in the revised manuscript for clarity. Reviewer#3, Concern # 2: Why the mean or mode imputation is risky? Please discuss in what way it is risky in detail. Author response: We appreciate the reviewer’s insightful question. Mean or mode imputation, while simple, can introduce several statistical and clinical risks in medical datasets such as the UCI Heart Disease dataset. Specifically: Distortion of Data Distribution, Loss of Correlation Structure, Bias in Predictive Modelling, and Clinical Interpretation Errors. Author action: We have expanded the explanation in Section 3.2.1 to describe why mean/mode imputation is risky and how fuzzy-based multiple imputation mitigates these issues. Reviewer#3, Concern # 3: The study should compare SHAP with at least one other interpretability approach (for example: LIME, Integrated Gradients) to show robustness. Author response: We thank the reviewer for this valuable suggestion. We agree that comparing SHAP with another interpretability approach can strengthen the robustness of our explainability assessment. Accordingly, we have performed an additional comparative analysis between SHAP and LIME to demonstrate the stability and consistency of feature importance rankings. Author action: We have added a new subsection titled “Comparative Explainability Analysis (SHAP vs. LIME)” under Section 4.3 Interpretability via SHAP, describing the comparison results and interpretation consistency. Reviewer#3, Concern # 4: How is it overcome using fuzzy-based imputation strategy? Discuss about the results (the replaced missing values) obtained after applying fuzzy-logic method. Author response: We thank the reviewer for the valuable comment. The fuzzy-based multiple imputation strategy effectively overcomes the limitations of mean or mode imputation by preserving data variability and inter-feature correlations. Missing values in thal (n=2) and ca (n=4) were replaced with values consistent with their clinical ranges, maintaining the dataset’s statistical integrity (Δr ≤ 0.02). Author action: We have elaborated Section 3.2.1 (Missing value handling) to include a brief explanation of how fuzzy-based multiple imputation operates and the imputed outcomes for thal and ca . Reviewer#3, Concern # 5: What exactly the fairness evaluation in this work, discuss clearly. Why it was performed only on age, gender features? Author response: We appreciate the reviewer’s insightful query. Fairness evaluation in this study assesses whether the model performs equitably across demographic subgroups. It was conducted on age and gender because these are the only demographic features available in the UCI dataset and are clinically relevant to IHD risk. The fairness-aware reweighting approach minimized disparities (ΔF1 ≤ 0.6; error rate gap ≤ 0.4), confirming unbiased model behavior. Author action: We have revised Section 4.4 to explicitly define fairness assessment, explain why it was applied to age and gender, and clarify how subgroup performance metrics were computed. Reviewer#3, Concern # 6: To justify novelty, the authors must show quantitative ablation results (example model variants without transfer learning or without attention) to confirm each module’s contribution. Author response: We thank the reviewer for this valuable suggestion. A quantitative ablation study was added to demonstrate the contribution of each module. Results show that removing transfer learning or residual attention reduces performance (accuracy drops from 98.2% to 95.6% and 96.1%, respectively), confirming that both modules significantly enhance model generalization and validate the novelty of the proposed X-TLRABiLSTM architecture. Author action: We have added a new subsection titled “4.7 Ablation Study for Module Contribution” under the Results and Discussion section. Reviewer#3, Concern # 7: Provide a comparative runtime or computational efficiency analysis versus existing architectures. Author response: We appreciate the reviewer’s insightful suggestion. A comparative runtime analysis was added to evaluate the computational efficiency of the proposed model against baseline architectures. Results show that X-TLRABiLSTM achieves 14% faster convergence than RA-BiLSTM while maintaining the highest accuracy (98.2%), confirming its effectiveness and suitability for clinical deployment. Author action: We have added a new subsection titled “4.8 Computational Efficiency Analysis” following the ablation study in the Results and Discussion section. Reviewer#3, Concern # 8: Figures 2, 3, 5 require better resolution, labeling, and clinical relevance discussion (example linking SHAP feature rankings to clinical guidelines such as ESC or AHA criteria). Author response: We thank the reviewer for this valuable suggestion. Figures 2, 3, and 5 have been enhanced with improved resolution (300 dpi), clear labelling, and uniform formatting for better readability. Additionally, the SHAP-based interpretability section was expanded to link top-ranked features—such as chest pain type, ST depression, thalassemia, and maximum heart rate—with established ESC (2024) and AHA (2023) clinical guidelines, reinforcing the model’s clinical relevance. Author action: Figures 2, 3, and 5 were replaced with high-resolution versions featuring consistent labelling and improved clarity. A new paragraph was added at the end of Section 4.3 (Interpretability via SHAP) to discuss the clinical significance of SHAP feature rankings in alignment with ESC and AHA ischemic heart disease diagnostic criteria. Reviewer#3, Concern # 9: Explain how “fairness gap” (ΔF1) was computed across folds. Author response: We thank the reviewer for this important query. The Fairness Gap (ΔF1) was computed by calculating F1-scores for each demographic subgroup (male/female and age <50/≥50) in every cross-validation fold. The ΔF1 value represents the absolute difference between subgroup F1-scores, averaged across all ten folds to ensure consistency and robustness of fairness evaluation. Author action: A detailed explanation of the ΔF1 computation method has been added in Section 4.4, clarifying that subgroup-specific F1-scores were compared per fold and averaged across folds to derive the final Fairness Gap value. Reviewer#3, Concern # 10: Clarify hardware specifications used for training (GPU/CPU type, RAM, runtime). Author response: We appreciate the reviewer’s suggestion. Hardware details have been added for clarity and reproducibility. Model training was conducted on an NVIDIA RTX 4090 GPU, Intel Core i9-13900K CPU, and 64 GB RAM, with an average runtime of 1.17 seconds per epoch. Author action: Hardware specifications were included in Section 3.5 and cross-referenced in Section 4.8. Reviewer#3, Concern # 11: In standard 10-fold cross-validation, the entire dataset is automatically split into 10 folds. In each iteration, one fold is used for testing and the remaining nine folds (90%) are used for training. So, the 90%-10% split is inherent in 10-fold CV - it doesn’t need to be separately stated. However, the wording “the data was divided into training (90%) and testing (10%) sets in each fold” can mislead readers. Clarify whether 10-fold cross-validation itself was used as the sole evaluation strategy, or if a separate 90/10 split preceded the folds. Author response: We appreciate the reviewer’s clarification. Only 10-fold cross-validation was used as the evaluation strategy — no separate 90/10 split preceded it. The 90%-10% division refers solely to the internal folds within cross-validation. Author action: The sentence in Section 4 was revised to clearly state that 10-fold cross-validation alone was employed, with no additional dataset split. Reviewer#3, Concern # 12: References Karna V, Karna V, Janamala V, Devana V, et al.: A Comprehensive Review on Heart Disease Risk Prediction using Machine Learning and Deep Learning Algorithms. Archives of Computational Methods in Engineering . 2025; 32 (3): 1763-1795 Author response: We thank the reviewer for pointing out this reference. The suggested citation by Karna et al. (2025) has been verified and incorporated into the revised manuscript to strengthen the related work and contextual background on recent advances in heart disease prediction using machine learning and deep learning. Author action: The reference has been added in Section 2. An Explainable Transfer Learning based Residual Attention BiLSTM Model for Fair and Accurate Prognosis of Ischemic Heart Disease Responses to peer review reports Reviewer#3, Concern # 1: Please provide the number of samples having missing values from ‘thal’ and ‘ca’ attributes. Author response: We thank the reviewer for this helpful observation. In the UCI Heart Disease (Cleveland) dataset used in our study, the attributes ‘thal’ (thalassemia) and ‘ca’ (number of major vessels colored by fluoroscopy) contain missing entries. Specifically, ‘thal’ has 2 missing samples, and ‘ca’ has 4 missing samples. Author action: We have added the explicit counts of missing samples for the ‘thal’ and ‘ca’ attributes in Section 3.2.1 in the revised manuscript for clarity. Reviewer#3, Concern # 2: Why the mean or mode imputation is risky? Please discuss in what way it is risky in detail. Author response: We appreciate the reviewer’s insightful question. Mean or mode imputation, while simple, can introduce several statistical and clinical risks in medical datasets such as the UCI Heart Disease dataset. Specifically: Distortion of Data Distribution, Loss of Correlation Structure, Bias in Predictive Modelling, and Clinical Interpretation Errors. Author action: We have expanded the explanation in Section 3.2.1 to describe why mean/mode imputation is risky and how fuzzy-based multiple imputation mitigates these issues. Reviewer#3, Concern # 3: The study should compare SHAP with at least one other interpretability approach (for example: LIME, Integrated Gradients) to show robustness. Author response: We thank the reviewer for this valuable suggestion. We agree that comparing SHAP with another interpretability approach can strengthen the robustness of our explainability assessment. Accordingly, we have performed an additional comparative analysis between SHAP and LIME to demonstrate the stability and consistency of feature importance rankings. Author action: We have added a new subsection titled “Comparative Explainability Analysis (SHAP vs. LIME)” under Section 4.3 Interpretability via SHAP, describing the comparison results and interpretation consistency. Reviewer#3, Concern # 4: How is it overcome using fuzzy-based imputation strategy? Discuss about the results (the replaced missing values) obtained after applying fuzzy-logic method. Author response: We thank the reviewer for the valuable comment. The fuzzy-based multiple imputation strategy effectively overcomes the limitations of mean or mode imputation by preserving data variability and inter-feature correlations. Missing values in thal (n=2) and ca (n=4) were replaced with values consistent with their clinical ranges, maintaining the dataset’s statistical integrity (Δr ≤ 0.02). Author action: We have elaborated Section 3.2.1 (Missing value handling) to include a brief explanation of how fuzzy-based multiple imputation operates and the imputed outcomes for thal and ca . Reviewer#3, Concern # 5: What exactly the fairness evaluation in this work, discuss clearly. Why it was performed only on age, gender features? Author response: We appreciate the reviewer’s insightful query. Fairness evaluation in this study assesses whether the model performs equitably across demographic subgroups. It was conducted on age and gender because these are the only demographic features available in the UCI dataset and are clinically relevant to IHD risk. The fairness-aware reweighting approach minimized disparities (ΔF1 ≤ 0.6; error rate gap ≤ 0.4), confirming unbiased model behavior. Author action: We have revised Section 4.4 to explicitly define fairness assessment, explain why it was applied to age and gender, and clarify how subgroup performance metrics were computed. Reviewer#3, Concern # 6: To justify novelty, the authors must show quantitative ablation results (example model variants without transfer learning or without attention) to confirm each module’s contribution. Author response: We thank the reviewer for this valuable suggestion. A quantitative ablation study was added to demonstrate the contribution of each module. Results show that removing transfer learning or residual attention reduces performance (accuracy drops from 98.2% to 95.6% and 96.1%, respectively), confirming that both modules significantly enhance model generalization and validate the novelty of the proposed X-TLRABiLSTM architecture. Author action: We have added a new subsection titled “4.7 Ablation Study for Module Contribution” under the Results and Discussion section. Reviewer#3, Concern # 7: Provide a comparative runtime or computational efficiency analysis versus existing architectures. Author response: We appreciate the reviewer’s insightful suggestion. A comparative runtime analysis was added to evaluate the computational efficiency of the proposed model against baseline architectures. Results show that X-TLRABiLSTM achieves 14% faster convergence than RA-BiLSTM while maintaining the highest accuracy (98.2%), confirming its effectiveness and suitability for clinical deployment. Author action: We have added a new subsection titled “4.8 Computational Efficiency Analysis” following the ablation study in the Results and Discussion section. Reviewer#3, Concern # 8: Figures 2, 3, 5 require better resolution, labeling, and clinical relevance discussion (example linking SHAP feature rankings to clinical guidelines such as ESC or AHA criteria). Author response: We thank the reviewer for this valuable suggestion. Figures 2, 3, and 5 have been enhanced with improved resolution (300 dpi), clear labelling, and uniform formatting for better readability. Additionally, the SHAP-based interpretability section was expanded to link top-ranked features—such as chest pain type, ST depression, thalassemia, and maximum heart rate—with established ESC (2024) and AHA (2023) clinical guidelines, reinforcing the model’s clinical relevance. Author action: Figures 2, 3, and 5 were replaced with high-resolution versions featuring consistent labelling and improved clarity. A new paragraph was added at the end of Section 4.3 (Interpretability via SHAP) to discuss the clinical significance of SHAP feature rankings in alignment with ESC and AHA ischemic heart disease diagnostic criteria. Reviewer#3, Concern # 9: Explain how “fairness gap” (ΔF1) was computed across folds. Author response: We thank the reviewer for this important query. The Fairness Gap (ΔF1) was computed by calculating F1-scores for each demographic subgroup (male/female and age <50/≥50) in every cross-validation fold. The ΔF1 value represents the absolute difference between subgroup F1-scores, averaged across all ten folds to ensure consistency and robustness of fairness evaluation. Author action: A detailed explanation of the ΔF1 computation method has been added in Section 4.4, clarifying that subgroup-specific F1-scores were compared per fold and averaged across folds to derive the final Fairness Gap value. Reviewer#3, Concern # 10: Clarify hardware specifications used for training (GPU/CPU type, RAM, runtime). Author response: We appreciate the reviewer’s suggestion. Hardware details have been added for clarity and reproducibility. Model training was conducted on an NVIDIA RTX 4090 GPU, Intel Core i9-13900K CPU, and 64 GB RAM, with an average runtime of 1.17 seconds per epoch. Author action: Hardware specifications were included in Section 3.5 and cross-referenced in Section 4.8. Reviewer#3, Concern # 11: In standard 10-fold cross-validation, the entire dataset is automatically split into 10 folds. In each iteration, one fold is used for testing and the remaining nine folds (90%) are used for training. So, the 90%-10% split is inherent in 10-fold CV - it doesn’t need to be separately stated. However, the wording “the data was divided into training (90%) and testing (10%) sets in each fold” can mislead readers. Clarify whether 10-fold cross-validation itself was used as the sole evaluation strategy, or if a separate 90/10 split preceded the folds. Author response: We appreciate the reviewer’s clarification. Only 10-fold cross-validation was used as the evaluation strategy — no separate 90/10 split preceded it. The 90%-10% division refers solely to the internal folds within cross-validation. Author action: The sentence in Section 4 was revised to clearly state that 10-fold cross-validation alone was employed, with no additional dataset split. Reviewer#3, Concern # 12: References Karna V, Karna V, Janamala V, Devana V, et al.: A Comprehensive Review on Heart Disease Risk Prediction using Machine Learning and Deep Learning Algorithms. Archives of Computational Methods in Engineering . 2025; 32 (3): 1763-1795 Author response: We thank the reviewer for pointing out this reference. The suggested citation by Karna et al. (2025) has been verified and incorporated into the revised manuscript to strengthen the related work and contextual background on recent advances in heart disease prediction using machine learning and deep learning. Author action: The reference has been added in Section 2. Competing Interests: The authors declare no competing interests related to the content, evaluation, or interpretation of this article or the peer review reports. Close Report a concern COMMENT ON THIS REPORT Version 1 VERSION 1 PUBLISHED 04 Jul 2025 Views 0 Cite How to cite this report: Poonia RC. Reviewer Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.183275.r411313 ) The direct URL for this report is: https://f1000research.com/articles/14-651/v1#referee-response-411313 NOTE: it is important to ensure the information in square brackets after the title is included in this citation. Close Copy Citation Details Reviewer Report 17 Sep 2025 Ramesh Chandra Poonia , CHRIST, Delhi, India; Department of Computer Science, Christ University (Ringgold ID: 585354), Bangalore, Karnataka, India Approved with Reservations VIEWS 0 https://doi.org/10.5256/f1000research.183275.r411313 Suggestions for Improvement: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Consider slightly restructuring for brevity, e.g., ... Continue reading READ ALL Suggestions for Improvement: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Consider slightly restructuring for brevity, e.g., “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease” or “Explainable Residual Attention BiLSTM with Transfer Learning for Accurate Ischemic Heart Disease Prognosis” Ensure that the paper includes a strong justification for each component mentioned in the title (e.g., why BiLSTM over standard LSTM, why transfer learning is suitable for the dataset, and how fairness is ensured). Is the work clearly and accurately presented and does it cite the current literature? Yes Is the study design appropriate and is the work technically sound? Yes Are sufficient details of methods and analysis provided to allow replication by others? Yes If applicable, is the statistical analysis and its interpretation appropriate? Yes Are all the source data underlying the results available to ensure full reproducibility? Yes Are the conclusions drawn adequately supported by the results? Yes Competing Interests: No competing interests were disclosed. Reviewer Expertise: Computational Intelligence, Cyber Physical Systems, Machine Learning and Artificial Intelligence I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above. Close READ LESS CITE CITE HOW TO CITE THIS REPORT Poonia RC. Reviewer Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.183275.r411313 ) The direct URL for this report is: https://f1000research.com/articles/14-651/v1#referee-response-411313 NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article. COPY CITATION DETAILS Report a concern Author Response 24 Sep 2025 VIJAYA ARJUNAN RANGANATHAN , Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India 24 Sep 2025 Author Response Reviewer#2, Concern # 1: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Author response: ... Continue reading Reviewer#2, Concern # 1: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Author response: We thank the reviewer for this observation. In our study, fairness is not only a conceptual point but is explicitly addressed through a demographic reweighting strategy and quantitative fairness evaluation. Specifically, we applied fairness-aware loss functions during training and reported subgroup-level performance (ΔF1 ≤ 0.6, error rate gap ≤ 0.4) across gender and age categories. These results demonstrate that the model achieves equitable performance across demographic groups, thereby justifying the inclusion of the term “Fair” in the title. Author action: We have clarified this more explicitly in the abstract, introduction, and results sections to highlight the fairness framework and metrics applied in the study. For example, we now state in the abstract that fairness evaluation revealed minimal disparity across demographic subgroups, and we emphasize in the methods/results that fairness-aware optimization was implemented and quantitatively validated. Reviewer#2, Concern # 2: Consider slightly restructuring for brevity, e.g., “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease” or “Explainable Residual Attention BiLSTM with Transfer Learning for Accurate Ischemic Heart Disease Prognosis” Author response: We thank the reviewer for this helpful suggestion and agree that a more concise title improves readability. Author action: The title has been revised to: “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease.” Reviewer#2, Concern # 3: Ensure that the paper includes a strong justification for each component mentioned in the title (e.g., why BiLSTM over standard LSTM, why transfer learning is suitable for the dataset, and how fairness is ensured). Author response: We thank the reviewer for this constructive suggestion. We agree that the rationale for each component of the proposed framework should be clearly articulated. Our revised manuscript now emphasizes: Why BiLSTM over standard LSTM: BiLSTM captures both forward and backward temporal dependencies, which is critical in modelling clinical progression patterns where both prior and subsequent states provide diagnostic cues. This leads to richer feature representations compared to standard LSTM. Why transfer learning is suitable: The UCI Heart Disease dataset is relatively small and limited in diversity. Transfer learning from pre-trained cardiovascular models improves generalisation, accelerates convergence, and reduces overfitting on small datasets. How fairness is ensured: A demographic reweighting strategy was integrated into the loss function, ensuring balanced performance across subgroups (age and gender). We quantitatively validated fairness with subgroup-specific F1-scores and error rates (ΔF1 ≤ 0.6, error rate gap ≤ 0.4). Author action: We revised the Introduction (Section 1) to include clearer motivation for BiLSTM, transfer learning, and fairness. Additionally, we expanded the Methods (Sections 3.3.1 and 3.4) to justify these components explicitly and highlighted the fairness evaluation more clearly in the Results (Section 4.4). Reviewer#2, Concern # 1: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Author response: We thank the reviewer for this observation. In our study, fairness is not only a conceptual point but is explicitly addressed through a demographic reweighting strategy and quantitative fairness evaluation. Specifically, we applied fairness-aware loss functions during training and reported subgroup-level performance (ΔF1 ≤ 0.6, error rate gap ≤ 0.4) across gender and age categories. These results demonstrate that the model achieves equitable performance across demographic groups, thereby justifying the inclusion of the term “Fair” in the title. Author action: We have clarified this more explicitly in the abstract, introduction, and results sections to highlight the fairness framework and metrics applied in the study. For example, we now state in the abstract that fairness evaluation revealed minimal disparity across demographic subgroups, and we emphasize in the methods/results that fairness-aware optimization was implemented and quantitatively validated. Reviewer#2, Concern # 2: Consider slightly restructuring for brevity, e.g., “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease” or “Explainable Residual Attention BiLSTM with Transfer Learning for Accurate Ischemic Heart Disease Prognosis” Author response: We thank the reviewer for this helpful suggestion and agree that a more concise title improves readability. Author action: The title has been revised to: “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease.” Reviewer#2, Concern # 3: Ensure that the paper includes a strong justification for each component mentioned in the title (e.g., why BiLSTM over standard LSTM, why transfer learning is suitable for the dataset, and how fairness is ensured). Author response: We thank the reviewer for this constructive suggestion. We agree that the rationale for each component of the proposed framework should be clearly articulated. Our revised manuscript now emphasizes: Why BiLSTM over standard LSTM: BiLSTM captures both forward and backward temporal dependencies, which is critical in modelling clinical progression patterns where both prior and subsequent states provide diagnostic cues. This leads to richer feature representations compared to standard LSTM. Why transfer learning is suitable: The UCI Heart Disease dataset is relatively small and limited in diversity. Transfer learning from pre-trained cardiovascular models improves generalisation, accelerates convergence, and reduces overfitting on small datasets. How fairness is ensured: A demographic reweighting strategy was integrated into the loss function, ensuring balanced performance across subgroups (age and gender). We quantitatively validated fairness with subgroup-specific F1-scores and error rates (ΔF1 ≤ 0.6, error rate gap ≤ 0.4). Author action: We revised the Introduction (Section 1) to include clearer motivation for BiLSTM, transfer learning, and fairness. Additionally, we expanded the Methods (Sections 3.3.1 and 3.4) to justify these components explicitly and highlighted the fairness evaluation more clearly in the Results (Section 4.4). Competing Interests: The authors declare no competing interests. Close Report a concern Respond or Comment COMMENTS ON THIS REPORT Author Response 24 Sep 2025 VIJAYA ARJUNAN RANGANATHAN , Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India 24 Sep 2025 Author Response Reviewer#2, Concern # 1: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Author response: ... Continue reading Reviewer#2, Concern # 1: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Author response: We thank the reviewer for this observation. In our study, fairness is not only a conceptual point but is explicitly addressed through a demographic reweighting strategy and quantitative fairness evaluation. Specifically, we applied fairness-aware loss functions during training and reported subgroup-level performance (ΔF1 ≤ 0.6, error rate gap ≤ 0.4) across gender and age categories. These results demonstrate that the model achieves equitable performance across demographic groups, thereby justifying the inclusion of the term “Fair” in the title. Author action: We have clarified this more explicitly in the abstract, introduction, and results sections to highlight the fairness framework and metrics applied in the study. For example, we now state in the abstract that fairness evaluation revealed minimal disparity across demographic subgroups, and we emphasize in the methods/results that fairness-aware optimization was implemented and quantitatively validated. Reviewer#2, Concern # 2: Consider slightly restructuring for brevity, e.g., “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease” or “Explainable Residual Attention BiLSTM with Transfer Learning for Accurate Ischemic Heart Disease Prognosis” Author response: We thank the reviewer for this helpful suggestion and agree that a more concise title improves readability. Author action: The title has been revised to: “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease.” Reviewer#2, Concern # 3: Ensure that the paper includes a strong justification for each component mentioned in the title (e.g., why BiLSTM over standard LSTM, why transfer learning is suitable for the dataset, and how fairness is ensured). Author response: We thank the reviewer for this constructive suggestion. We agree that the rationale for each component of the proposed framework should be clearly articulated. Our revised manuscript now emphasizes: Why BiLSTM over standard LSTM: BiLSTM captures both forward and backward temporal dependencies, which is critical in modelling clinical progression patterns where both prior and subsequent states provide diagnostic cues. This leads to richer feature representations compared to standard LSTM. Why transfer learning is suitable: The UCI Heart Disease dataset is relatively small and limited in diversity. Transfer learning from pre-trained cardiovascular models improves generalisation, accelerates convergence, and reduces overfitting on small datasets. How fairness is ensured: A demographic reweighting strategy was integrated into the loss function, ensuring balanced performance across subgroups (age and gender). We quantitatively validated fairness with subgroup-specific F1-scores and error rates (ΔF1 ≤ 0.6, error rate gap ≤ 0.4). Author action: We revised the Introduction (Section 1) to include clearer motivation for BiLSTM, transfer learning, and fairness. Additionally, we expanded the Methods (Sections 3.3.1 and 3.4) to justify these components explicitly and highlighted the fairness evaluation more clearly in the Results (Section 4.4). Reviewer#2, Concern # 1: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Author response: We thank the reviewer for this observation. In our study, fairness is not only a conceptual point but is explicitly addressed through a demographic reweighting strategy and quantitative fairness evaluation. Specifically, we applied fairness-aware loss functions during training and reported subgroup-level performance (ΔF1 ≤ 0.6, error rate gap ≤ 0.4) across gender and age categories. These results demonstrate that the model achieves equitable performance across demographic groups, thereby justifying the inclusion of the term “Fair” in the title. Author action: We have clarified this more explicitly in the abstract, introduction, and results sections to highlight the fairness framework and metrics applied in the study. For example, we now state in the abstract that fairness evaluation revealed minimal disparity across demographic subgroups, and we emphasize in the methods/results that fairness-aware optimization was implemented and quantitatively validated. Reviewer#2, Concern # 2: Consider slightly restructuring for brevity, e.g., “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease” or “Explainable Residual Attention BiLSTM with Transfer Learning for Accurate Ischemic Heart Disease Prognosis” Author response: We thank the reviewer for this helpful suggestion and agree that a more concise title improves readability. Author action: The title has been revised to: “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease.” Reviewer#2, Concern # 3: Ensure that the paper includes a strong justification for each component mentioned in the title (e.g., why BiLSTM over standard LSTM, why transfer learning is suitable for the dataset, and how fairness is ensured). Author response: We thank the reviewer for this constructive suggestion. We agree that the rationale for each component of the proposed framework should be clearly articulated. Our revised manuscript now emphasizes: Why BiLSTM over standard LSTM: BiLSTM captures both forward and backward temporal dependencies, which is critical in modelling clinical progression patterns where both prior and subsequent states provide diagnostic cues. This leads to richer feature representations compared to standard LSTM. Why transfer learning is suitable: The UCI Heart Disease dataset is relatively small and limited in diversity. Transfer learning from pre-trained cardiovascular models improves generalisation, accelerates convergence, and reduces overfitting on small datasets. How fairness is ensured: A demographic reweighting strategy was integrated into the loss function, ensuring balanced performance across subgroups (age and gender). We quantitatively validated fairness with subgroup-specific F1-scores and error rates (ΔF1 ≤ 0.6, error rate gap ≤ 0.4). Author action: We revised the Introduction (Section 1) to include clearer motivation for BiLSTM, transfer learning, and fairness. Additionally, we expanded the Methods (Sections 3.3.1 and 3.4) to justify these components explicitly and highlighted the fairness evaluation more clearly in the Results (Section 4.4). Competing Interests: The authors declare no competing interests. Close Report a concern COMMENT ON THIS REPORT Views 0 Cite How to cite this report: Joshi N and Joshi KK. Reviewer Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.183275.r411315 ) The direct URL for this report is: https://f1000research.com/articles/14-651/v1#referee-response-411315 NOTE: it is important to ensure the information in square brackets after the title is included in this citation. Close Copy Citation Details Reviewer Report 16 Sep 2025 Neelam Joshi , Computer Engineering, Fr. Conceicao Rodrigues Institute of Technology, Navi Mumbai, Maharashtra, India Krishna Kumar Joshi , Rajiv Gandhi Proudyogiki Vishwavidyalaya, MP, India Approved VIEWS 0 https://doi.org/10.5256/f1000research.183275.r411315 In this paper, the authors propose an X-TLRABiLSTM- based approach for predicting Ischemic Heart Disease (IHD) that strikes a balance between accuracy, interpretability, and fairness. Using the UCI Heart Disease dataset, the model combines three key elements: transfer learning from pre-trained BiLSTM models, ... Continue reading READ ALL In this paper, the authors propose an X-TLRABiLSTM- based approach for predicting Ischemic Heart Disease (IHD) that strikes a balance between accuracy, interpretability, and fairness. Using the UCI Heart Disease dataset, the model combines three key elements: transfer learning from pre-trained BiLSTM models, a residual attention mechanism to capture essential temporal patterns, and SHAP-based explanations to highlight critical risk factors. To mitigate demographic bias, the authors introduce a reweighting strategy that ensures equitable performance across age, gender, and ethnic groups. Data preprocessing involved fuzzy imputation, normalization, and categorical encoding, while hyperparameters were tuned through grid search. Evaluations using 10-fold cross-validation achieved ~98.2% accuracy, 98.1% F1-score, and 99.1% AUC, surpassing traditional machine learning and recent deep learning baselines. SHAP results revealed chest pain type, ST depression, oldpeak, thalassemia, and maximum heart rate as dominant predictors. The findings demonstrate that X-TLRABiLSTM is a reliable and transparent tool for clinical decision support in cardiovascular disease prognosis. The paper fulfills all the required criteria, including technical soundness and content quality. It is also up to the mark and can be published here. Is the work clearly and accurately presented and does it cite the current literature? Yes Is the study design appropriate and is the work technically sound? Yes Are sufficient details of methods and analysis provided to allow replication by others? Yes If applicable, is the statistical analysis and its interpretation appropriate? Yes Are all the source data underlying the results available to ensure full reproducibility? No source data required Are the conclusions drawn adequately supported by the results? Yes Competing Interests: No competing interests were disclosed. Reviewer Expertise: Machine Learning, Deep Learning, Computer Vision, AI We confirm that we have read this submission and believe that we have an appropriate level of expertise to confirm that it is of an acceptable scientific standard. Close READ LESS CITE CITE HOW TO CITE THIS REPORT Joshi N and Joshi KK. Reviewer Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.183275.r411315 ) The direct URL for this report is: https://f1000research.com/articles/14-651/v1#referee-response-411315 NOTE: it is important to ensure the information in square brackets after the title is included in all citations of this article. COPY CITATION DETAILS Report a concern Author Response 22 Sep 2025 VIJAYA ARJUNAN RANGANATHAN , Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India 22 Sep 2025 Author Response We sincerely thank the reviewer for taking the time to evaluate our manuscript and approving the work. We are grateful for the approval and encouragement, which supports the value of ... Continue reading We sincerely thank the reviewer for taking the time to evaluate our manuscript and approving the work. We are grateful for the approval and encouragement, which supports the value of our work. We sincerely thank the reviewer for taking the time to evaluate our manuscript and approving the work. We are grateful for the approval and encouragement, which supports the value of our work. Competing Interests: The author(s) declare that they have no competing interests. Close Report a concern Respond or Comment COMMENTS ON THIS REPORT Author Response 22 Sep 2025 VIJAYA ARJUNAN RANGANATHAN , Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India 22 Sep 2025 Author Response We sincerely thank the reviewer for taking the time to evaluate our manuscript and approving the work. We are grateful for the approval and encouragement, which supports the value of ... Continue reading We sincerely thank the reviewer for taking the time to evaluate our manuscript and approving the work. We are grateful for the approval and encouragement, which supports the value of our work. We sincerely thank the reviewer for taking the time to evaluate our manuscript and approving the work. We are grateful for the approval and encouragement, which supports the value of our work. Competing Interests: The author(s) declare that they have no competing interests. Close Report a concern COMMENT ON THIS REPORT Comments on this article Comments (0) Version 3 VERSION 3 PUBLISHED 04 Jul 2025 ADD YOUR COMMENT Comment keyboard_arrow_left keyboard_arrow_right Open Peer Review Reviewer Status info_outline Alongside their report, reviewers assign a status to the article: Approved The paper is scientifically sound in its current form and only minor, if any, improvements are suggested Approved with reservations A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit. Not approved Fundamental flaws in the paper seriously undermine the findings and conclusions Reviewer Reports Invited Reviewers 1 2 3 Version 3 (revision) 19 Nov 25 read Version 2 (revision) 24 Sep 25 read Version 1 04 Jul 25 read read Neelam Joshi , Fr. Conceicao Rodrigues Institute of Technology, Navi Mumbai, India Krishna Kumar Joshi , Rajiv Gandhi Proudyogiki Vishwavidyalaya, MP, India Ramesh Chandra Poonia , CHRIST, Delhi, India; Christ University (Ringgold ID: 585354), Bangalore, India Karna Vishnu Vardhana Reddy , Aditya University, Surampalem, USA Comments on this article All Comments (0) Add a comment Sign up for content alerts Sign Up You are now signed up to receive this alert Browse by related subjects keyboard_arrow_left Back to all reports Reviewer Report 0 Views copyright © 2025 Poonia R. This is an open access peer review report distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. 26 Nov 2025 | for Version 3 Ramesh Chandra Poonia , CHRIST, Delhi, India; Department of Computer Science, Christ University (Ringgold ID: 585354), Bangalore, Karnataka, India 0 Views copyright © 2025 Poonia R. This is an open access peer review report distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. format_quote Cite this report speaker_notes Responses (0) Approved info_outline Alongside their report, reviewers assign a status to the article: Approved The paper is scientifically sound in its current form and only minor, if any, improvements are suggested Approved with reservations A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit. Not approved Fundamental flaws in the paper seriously undermine the findings and conclusions The author has revised the manuscript as per the comments, and it is acceptable for indexing. Competing Interests No competing interests were disclosed. Reviewer Expertise Cyber Physication Systems and Artifical Intelligence I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard. reply Respond to this report Responses (0) Poonia RC. Peer Review Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.191512.r434284) NOTE: it is important to ensure the information in square brackets after the title is included in this citation. The direct URL for this report is: https://f1000research.com/articles/14-651/v3#referee-response-434284 keyboard_arrow_left Back to all reports Reviewer Report 0 Views copyright © 2025 Reddy K. This is an open access peer review report distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. 08 Nov 2025 | for Version 2 Karna Vishnu Vardhana Reddy , Aditya University, Surampalem, Andhra Pradesh, USA 0 Views copyright © 2025 Reddy K. This is an open access peer review report distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. format_quote Cite this report speaker_notes Responses (1) Approved With Reservations info_outline Alongside their report, reviewers assign a status to the article: Approved The paper is scientifically sound in its current form and only minor, if any, improvements are suggested Approved with reservations A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit. Not approved Fundamental flaws in the paper seriously undermine the findings and conclusions Please provide the number of samples having missing values from ‘thal’ and ‘ca’ attributes. Why the mean or mode imputation is risky? Please discuss in what way it is risky in detail. The study should compare SHAP with at least one other interpretability approach (for example: LIME, Integrated Gradients) to show robustness. How is it overcome using fuzzy-based imputation strategy? Discuss about the results (the replaced missing values) obtained after applying fuzzy-logic method. What exactly the fairness evaluation in this work, discuss clearly. Why it was performed only on age, gender features? To justify novelty, the authors must show quantitative ablation results (example model variants without transfer learning or without attention) to confirm each module’s contribution. Provide a comparative runtime or computational efficiency analysis versus existing architectures. Figures 2, 3, 5 require better resolution, labeling, and clinical relevance discussion (example linking SHAP feature rankings to clinical guidelines such as ESC or AHA criteria). Explain how “fairness gap” (ΔF1) was computed across folds. Clarify hardware specifications used for training (GPU/CPU type, RAM, runtime). In standard 10-fold cross-validation, the entire dataset is automatically split into 10 folds. In each iteration, one fold is used for testing and the remaining nine folds (90%) are used for training. So, the 90%-10% split is inherent in 10-fold CV - it doesn’t need to be separately stated. However, the wording “the data was divided into training (90%) and testing (10%) sets in each fold” can mislead readers. Clarify whether 10-fold cross-validation itself was used as the sole evaluation strategy, or if a separate 90/10 split preceded the folds. Is the work clearly and accurately presented and does it cite the current literature? Yes Is the study design appropriate and is the work technically sound? Yes Are sufficient details of methods and analysis provided to allow replication by others? Yes If applicable, is the statistical analysis and its interpretation appropriate? I cannot comment. A qualified statistician is required. Are all the source data underlying the results available to ensure full reproducibility? No source data required Are the conclusions drawn adequately supported by the results? Yes References 1. Karna V, Karna V, Janamala V, Devana V, et al.: A Comprehensive Review on Heart Disease Risk Prediction using Machine Learning and Deep Learning Algorithms. Archives of Computational Methods in Engineering . 2025; 32 (3): 1763-1795 Publisher Full Text Competing Interests No competing interests were disclosed. Reviewer Expertise Biomedical applications, machine learning, deep learning, Artificial Intelligence I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above. reply Respond to this report Responses (1) Author Response 25 Nov 2025 VIJAYA ARJUNAN RANGANATHAN, Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India An Explainable Transfer Learning based Residual Attention BiLSTM Model for Fair and Accurate Prognosis of Ischemic Heart Disease Responses to peer review reports Reviewer#3, Concern # 1: Please provide the number of samples having missing values from ‘thal’ and ‘ca’ attributes. Author response: We thank the reviewer for this helpful observation. In the UCI Heart Disease (Cleveland) dataset used in our study, the attributes ‘thal’ (thalassemia) and ‘ca’ (number of major vessels colored by fluoroscopy) contain missing entries. Specifically, ‘thal’ has 2 missing samples, and ‘ca’ has 4 missing samples. Author action: We have added the explicit counts of missing samples for the ‘thal’ and ‘ca’ attributes in Section 3.2.1 in the revised manuscript for clarity. Reviewer#3, Concern # 2: Why the mean or mode imputation is risky? Please discuss in what way it is risky in detail. Author response: We appreciate the reviewer’s insightful question. Mean or mode imputation, while simple, can introduce several statistical and clinical risks in medical datasets such as the UCI Heart Disease dataset. Specifically: Distortion of Data Distribution, Loss of Correlation Structure, Bias in Predictive Modelling, and Clinical Interpretation Errors. Author action: We have expanded the explanation in Section 3.2.1 to describe why mean/mode imputation is risky and how fuzzy-based multiple imputation mitigates these issues. Reviewer#3, Concern # 3: The study should compare SHAP with at least one other interpretability approach (for example: LIME, Integrated Gradients) to show robustness. Author response: We thank the reviewer for this valuable suggestion. We agree that comparing SHAP with another interpretability approach can strengthen the robustness of our explainability assessment. Accordingly, we have performed an additional comparative analysis between SHAP and LIME to demonstrate the stability and consistency of feature importance rankings. Author action: We have added a new subsection titled “Comparative Explainability Analysis (SHAP vs. LIME)” under Section 4.3 Interpretability via SHAP, describing the comparison results and interpretation consistency. Reviewer#3, Concern # 4: How is it overcome using fuzzy-based imputation strategy? Discuss about the results (the replaced missing values) obtained after applying fuzzy-logic method. Author response: We thank the reviewer for the valuable comment. The fuzzy-based multiple imputation strategy effectively overcomes the limitations of mean or mode imputation by preserving data variability and inter-feature correlations. Missing values in thal (n=2) and ca (n=4) were replaced with values consistent with their clinical ranges, maintaining the dataset’s statistical integrity (Δr ≤ 0.02). Author action: We have elaborated Section 3.2.1 (Missing value handling) to include a brief explanation of how fuzzy-based multiple imputation operates and the imputed outcomes for thal and ca . Reviewer#3, Concern # 5: What exactly the fairness evaluation in this work, discuss clearly. Why it was performed only on age, gender features? Author response: We appreciate the reviewer’s insightful query. Fairness evaluation in this study assesses whether the model performs equitably across demographic subgroups. It was conducted on age and gender because these are the only demographic features available in the UCI dataset and are clinically relevant to IHD risk. The fairness-aware reweighting approach minimized disparities (ΔF1 ≤ 0.6; error rate gap ≤ 0.4), confirming unbiased model behavior. Author action: We have revised Section 4.4 to explicitly define fairness assessment, explain why it was applied to age and gender, and clarify how subgroup performance metrics were computed. Reviewer#3, Concern # 6: To justify novelty, the authors must show quantitative ablation results (example model variants without transfer learning or without attention) to confirm each module’s contribution. Author response: We thank the reviewer for this valuable suggestion. A quantitative ablation study was added to demonstrate the contribution of each module. Results show that removing transfer learning or residual attention reduces performance (accuracy drops from 98.2% to 95.6% and 96.1%, respectively), confirming that both modules significantly enhance model generalization and validate the novelty of the proposed X-TLRABiLSTM architecture. Author action: We have added a new subsection titled “4.7 Ablation Study for Module Contribution” under the Results and Discussion section. Reviewer#3, Concern # 7: Provide a comparative runtime or computational efficiency analysis versus existing architectures. Author response: We appreciate the reviewer’s insightful suggestion. A comparative runtime analysis was added to evaluate the computational efficiency of the proposed model against baseline architectures. Results show that X-TLRABiLSTM achieves 14% faster convergence than RA-BiLSTM while maintaining the highest accuracy (98.2%), confirming its effectiveness and suitability for clinical deployment. Author action: We have added a new subsection titled “4.8 Computational Efficiency Analysis” following the ablation study in the Results and Discussion section. Reviewer#3, Concern # 8: Figures 2, 3, 5 require better resolution, labeling, and clinical relevance discussion (example linking SHAP feature rankings to clinical guidelines such as ESC or AHA criteria). Author response: We thank the reviewer for this valuable suggestion. Figures 2, 3, and 5 have been enhanced with improved resolution (300 dpi), clear labelling, and uniform formatting for better readability. Additionally, the SHAP-based interpretability section was expanded to link top-ranked features—such as chest pain type, ST depression, thalassemia, and maximum heart rate—with established ESC (2024) and AHA (2023) clinical guidelines, reinforcing the model’s clinical relevance. Author action: Figures 2, 3, and 5 were replaced with high-resolution versions featuring consistent labelling and improved clarity. A new paragraph was added at the end of Section 4.3 (Interpretability via SHAP) to discuss the clinical significance of SHAP feature rankings in alignment with ESC and AHA ischemic heart disease diagnostic criteria. Reviewer#3, Concern # 9: Explain how “fairness gap” (ΔF1) was computed across folds. Author response: We thank the reviewer for this important query. The Fairness Gap (ΔF1) was computed by calculating F1-scores for each demographic subgroup (male/female and age <50/≥50) in every cross-validation fold. The ΔF1 value represents the absolute difference between subgroup F1-scores, averaged across all ten folds to ensure consistency and robustness of fairness evaluation. Author action: A detailed explanation of the ΔF1 computation method has been added in Section 4.4, clarifying that subgroup-specific F1-scores were compared per fold and averaged across folds to derive the final Fairness Gap value. Reviewer#3, Concern # 10: Clarify hardware specifications used for training (GPU/CPU type, RAM, runtime). Author response: We appreciate the reviewer’s suggestion. Hardware details have been added for clarity and reproducibility. Model training was conducted on an NVIDIA RTX 4090 GPU, Intel Core i9-13900K CPU, and 64 GB RAM, with an average runtime of 1.17 seconds per epoch. Author action: Hardware specifications were included in Section 3.5 and cross-referenced in Section 4.8. Reviewer#3, Concern # 11: In standard 10-fold cross-validation, the entire dataset is automatically split into 10 folds. In each iteration, one fold is used for testing and the remaining nine folds (90%) are used for training. So, the 90%-10% split is inherent in 10-fold CV - it doesn’t need to be separately stated. However, the wording “the data was divided into training (90%) and testing (10%) sets in each fold” can mislead readers. Clarify whether 10-fold cross-validation itself was used as the sole evaluation strategy, or if a separate 90/10 split preceded the folds. Author response: We appreciate the reviewer’s clarification. Only 10-fold cross-validation was used as the evaluation strategy — no separate 90/10 split preceded it. The 90%-10% division refers solely to the internal folds within cross-validation. Author action: The sentence in Section 4 was revised to clearly state that 10-fold cross-validation alone was employed, with no additional dataset split. Reviewer#3, Concern # 12: References Karna V, Karna V, Janamala V, Devana V, et al.: A Comprehensive Review on Heart Disease Risk Prediction using Machine Learning and Deep Learning Algorithms. Archives of Computational Methods in Engineering . 2025; 32 (3): 1763-1795 Author response: We thank the reviewer for pointing out this reference. The suggested citation by Karna et al. (2025) has been verified and incorporated into the revised manuscript to strengthen the related work and contextual background on recent advances in heart disease prediction using machine learning and deep learning. Author action: The reference has been added in Section 2. View more View less Competing Interests The authors declare no competing interests related to the content, evaluation, or interpretation of this article or the peer review reports. reply Respond Report a concern Reddy KVV. Peer Review Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.188562.r424480) NOTE: it is important to ensure the information in square brackets after the title is included in this citation. The direct URL for this report is: https://f1000research.com/articles/14-651/v2#referee-response-424480 keyboard_arrow_left Back to all reports Reviewer Report 0 Views copyright © 2025 Poonia R. This is an open access peer review report distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. 17 Sep 2025 | for Version 1 Ramesh Chandra Poonia , CHRIST, Delhi, India; Department of Computer Science, Christ University (Ringgold ID: 585354), Bangalore, Karnataka, India 0 Views copyright © 2025 Poonia R. This is an open access peer review report distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. format_quote Cite this report speaker_notes Responses (1) Approved With Reservations info_outline Alongside their report, reviewers assign a status to the article: Approved The paper is scientifically sound in its current form and only minor, if any, improvements are suggested Approved with reservations A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit. Not approved Fundamental flaws in the paper seriously undermine the findings and conclusions Suggestions for Improvement: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Consider slightly restructuring for brevity, e.g., “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease” or “Explainable Residual Attention BiLSTM with Transfer Learning for Accurate Ischemic Heart Disease Prognosis” Ensure that the paper includes a strong justification for each component mentioned in the title (e.g., why BiLSTM over standard LSTM, why transfer learning is suitable for the dataset, and how fairness is ensured). Is the work clearly and accurately presented and does it cite the current literature? Yes Is the study design appropriate and is the work technically sound? Yes Are sufficient details of methods and analysis provided to allow replication by others? Yes If applicable, is the statistical analysis and its interpretation appropriate? Yes Are all the source data underlying the results available to ensure full reproducibility? Yes Are the conclusions drawn adequately supported by the results? Yes Competing Interests No competing interests were disclosed. Reviewer Expertise Computational Intelligence, Cyber Physical Systems, Machine Learning and Artificial Intelligence I confirm that I have read this submission and believe that I have an appropriate level of expertise to confirm that it is of an acceptable scientific standard, however I have significant reservations, as outlined above. reply Respond to this report Responses (1) Author Response 24 Sep 2025 VIJAYA ARJUNAN RANGANATHAN, Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India Reviewer#2, Concern # 1: The phrase “Fair and Accurate Prognosis” could be shortened to just “Accurate Prognosis” unless fairness is explicitly addressed with a defined framework or metrics. Author response: We thank the reviewer for this observation. In our study, fairness is not only a conceptual point but is explicitly addressed through a demographic reweighting strategy and quantitative fairness evaluation. Specifically, we applied fairness-aware loss functions during training and reported subgroup-level performance (ΔF1 ≤ 0.6, error rate gap ≤ 0.4) across gender and age categories. These results demonstrate that the model achieves equitable performance across demographic groups, thereby justifying the inclusion of the term “Fair” in the title. Author action: We have clarified this more explicitly in the abstract, introduction, and results sections to highlight the fairness framework and metrics applied in the study. For example, we now state in the abstract that fairness evaluation revealed minimal disparity across demographic subgroups, and we emphasize in the methods/results that fairness-aware optimization was implemented and quantitatively validated. Reviewer#2, Concern # 2: Consider slightly restructuring for brevity, e.g., “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease” or “Explainable Residual Attention BiLSTM with Transfer Learning for Accurate Ischemic Heart Disease Prognosis” Author response: We thank the reviewer for this helpful suggestion and agree that a more concise title improves readability. Author action: The title has been revised to: “Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease.” Reviewer#2, Concern # 3: Ensure that the paper includes a strong justification for each component mentioned in the title (e.g., why BiLSTM over standard LSTM, why transfer learning is suitable for the dataset, and how fairness is ensured). Author response: We thank the reviewer for this constructive suggestion. We agree that the rationale for each component of the proposed framework should be clearly articulated. Our revised manuscript now emphasizes: Why BiLSTM over standard LSTM: BiLSTM captures both forward and backward temporal dependencies, which is critical in modelling clinical progression patterns where both prior and subsequent states provide diagnostic cues. This leads to richer feature representations compared to standard LSTM. Why transfer learning is suitable: The UCI Heart Disease dataset is relatively small and limited in diversity. Transfer learning from pre-trained cardiovascular models improves generalisation, accelerates convergence, and reduces overfitting on small datasets. How fairness is ensured: A demographic reweighting strategy was integrated into the loss function, ensuring balanced performance across subgroups (age and gender). We quantitatively validated fairness with subgroup-specific F1-scores and error rates (ΔF1 ≤ 0.6, error rate gap ≤ 0.4). Author action: We revised the Introduction (Section 1) to include clearer motivation for BiLSTM, transfer learning, and fairness. Additionally, we expanded the Methods (Sections 3.3.1 and 3.4) to justify these components explicitly and highlighted the fairness evaluation more clearly in the Results (Section 4.4). View more View less Competing Interests The authors declare no competing interests. reply Respond Report a concern Poonia RC. Peer Review Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.183275.r411313) NOTE: it is important to ensure the information in square brackets after the title is included in this citation. The direct URL for this report is: https://f1000research.com/articles/14-651/v1#referee-response-411313 keyboard_arrow_left Back to all reports Reviewer Report 0 Views copyright © 2025 Joshi K et al. This is an open access peer review report distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The author(s) is/are employees of the US Government and therefore domestic copyright protection in USA does not apply to this work. The work may be protected under the copyright laws of other jurisdictions when used in those jurisdictions. 16 Sep 2025 | for Version 1 Neelam Joshi , Computer Engineering, Fr. Conceicao Rodrigues Institute of Technology, Navi Mumbai, Maharashtra, India Krishna Kumar Joshi , Rajiv Gandhi Proudyogiki Vishwavidyalaya, MP, India 0 Views copyright © 2025 Joshi K et al. This is an open access peer review report distributed under the terms of the Creative Commons Attribution License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited. The author(s) is/are employees of the US Government and therefore domestic copyright protection in USA does not apply to this work. The work may be protected under the copyright laws of other jurisdictions when used in those jurisdictions. format_quote Cite this report speaker_notes Responses (1) Approved info_outline Alongside their report, reviewers assign a status to the article: Approved The paper is scientifically sound in its current form and only minor, if any, improvements are suggested Approved with reservations A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit. Not approved Fundamental flaws in the paper seriously undermine the findings and conclusions In this paper, the authors propose an X-TLRABiLSTM- based approach for predicting Ischemic Heart Disease (IHD) that strikes a balance between accuracy, interpretability, and fairness. Using the UCI Heart Disease dataset, the model combines three key elements: transfer learning from pre-trained BiLSTM models, a residual attention mechanism to capture essential temporal patterns, and SHAP-based explanations to highlight critical risk factors. To mitigate demographic bias, the authors introduce a reweighting strategy that ensures equitable performance across age, gender, and ethnic groups. Data preprocessing involved fuzzy imputation, normalization, and categorical encoding, while hyperparameters were tuned through grid search. Evaluations using 10-fold cross-validation achieved ~98.2% accuracy, 98.1% F1-score, and 99.1% AUC, surpassing traditional machine learning and recent deep learning baselines. SHAP results revealed chest pain type, ST depression, oldpeak, thalassemia, and maximum heart rate as dominant predictors. The findings demonstrate that X-TLRABiLSTM is a reliable and transparent tool for clinical decision support in cardiovascular disease prognosis. The paper fulfills all the required criteria, including technical soundness and content quality. It is also up to the mark and can be published here. Is the work clearly and accurately presented and does it cite the current literature? Yes Is the study design appropriate and is the work technically sound? Yes Are sufficient details of methods and analysis provided to allow replication by others? Yes If applicable, is the statistical analysis and its interpretation appropriate? Yes Are all the source data underlying the results available to ensure full reproducibility? No source data required Are the conclusions drawn adequately supported by the results? Yes Competing Interests No competing interests were disclosed. Reviewer Expertise Machine Learning, Deep Learning, Computer Vision, AI We confirm that we have read this submission and believe that we have an appropriate level of expertise to confirm that it is of an acceptable scientific standard. reply Respond to this report Responses (1) Author Response 22 Sep 2025 VIJAYA ARJUNAN RANGANATHAN, Manipal Institute of Technology, Manipal Academy of Higher Education, Manipal, India We sincerely thank the reviewer for taking the time to evaluate our manuscript and approving the work. We are grateful for the approval and encouragement, which supports the value of our work. View more View less Competing Interests The author(s) declare that they have no competing interests. reply Respond Report a concern Joshi N and Joshi KK. Peer Review Report For: Explainable Transfer Learning with Residual Attention BiLSTM for Prognosis of Ischemic Heart Disease. [version 3; peer review: 2 approved, 1 approved with reservations] . F1000Research 2025, 14 :651 ( https://doi.org/10.5256/f1000research.183275.r411315) NOTE: it is important to ensure the information in square brackets after the title is included in this citation. The direct URL for this report is: https://f1000research.com/articles/14-651/v1#referee-response-411315 Alongside their report, reviewers assign a status to the article: Approved - the paper is scientifically sound in its current form and only minor, if any, improvements are suggested Approved with reservations - A number of small changes, sometimes more significant revisions are required to address specific details and improve the papers academic merit. Not approved - fundamental flaws in the paper seriously undermine the findings and conclusions Adjust parameters to alter display View on desktop for interactive features Includes Interactive Elements View on desktop for interactive features Competing Interests Policy Provide sufficient details of any financial or non-financial competing interests to enable users to assess whether your comments might lead a reasonable person to question your impartiality. Consider the following examples, but note that this is not an exhaustive list: Examples of 'Non-Financial Competing Interests' Within the past 4 years, you have held joint grants, published or collaborated with any of the authors of the selected paper. You have a close personal relationship (e.g. parent, spouse, sibling, or domestic partner) with any of the authors. You are a close professional associate of any of the authors (e.g. scientific mentor, recent student). You work at the same institute as any of the authors. You hope/expect to benefit (e.g. favour or employment) as a result of your submission. You are an Editor for the journal in which the article is published. Examples of 'Financial Competing Interests' You expect to receive, or in the past 4 years have received, any of the following from any commercial organisation that may gain financially from your submission: a salary, fees, funding, reimbursements. You expect to receive, or in the past 4 years have received, shared grant support or other funding with any of the authors. You hold, or are currently applying for, any patents or significant stocks/shares relating to the subject matter of the paper you are commenting on. Stay Updated Sign up for content alerts and receive a weekly or monthly email with all newly published articles Register with F1000Research Already registered? Sign in Not now, thanks close PLEASE NOTE If you are an AUTHOR of this article, please check that you signed in with the account associated with this article otherwise we cannot automatically identify your role as an author and your comment will be labelled as a “User Comment”. If you are a REVIEWER of this article, please check that you have signed in with the account associated with this article and then go to your account to submit your report, please do not post your review here. If you do not have access to your original account, please contact us . All commenters must hold a formal affiliation as per our Policies . The information that you give us will be displayed next to your comment. User comments must be in English, comprehensible and relevant to the article under discussion. We reserve the right to remove any comments that we consider to be inappropriate, offensive or otherwise in breach of the User Comment Terms and Conditions . Commenters must not use a comment for personal attacks. When criticisms of the article are based on unpublished data, the data should be made available. I accept the User Comment Terms and Conditions Please confirm that you accept the User Comment Terms and Conditions. Affiliation ✕ refresh Please enter your institution. Note: To add your institution or organisation, start typing the name and then select the correct name from the list. Where applicable, the name will appear in both the original language and in English. Do not paste in the name. If the name does not appear in the drop-down list, we will display the information you have entered. ✕ refresh Country/Region * USA UK Canada China France Germany Afghanistan Aland Islands Albania Algeria American Samoa Andorra Angola Anguilla Antarctica Antigua and Barbuda Argentina Armenia Aruba Australia Austria Azerbaijan Bahamas Bahrain Bangladesh Barbados Belarus Belgium Belize Benin Bermuda Bhutan Bolivia Bosnia and Herzegovina Botswana Bouvet Island Brazil British Indian Ocean Territory British Virgin Islands Brunei Bulgaria Burkina Faso Burundi Cambodia Cameroon Canada Cape Verde Cayman Islands Central African Republic Chad Chile China Christmas Island Cocos (Keeling) Islands Colombia Comoros Congo Cook Islands Costa Rica Cote d'Ivoire Croatia Cuba Cyprus Czech Republic Democratic Republic of the Congo Denmark Djibouti Dominica Dominican Republic Ecuador Egypt El Salvador Equatorial Guinea Eritrea Estonia Ethiopia Falkland Islands Faroe Islands Federated States of Micronesia Fiji Finland France French Guiana French Polynesia French Southern Territories Gabon Georgia Germany Ghana Gibraltar Greece Greenland Grenada Guadeloupe Guam Guatemala Guernsey Guinea Guinea-Bissau Guyana Haiti Heard Island and Mcdonald Islands Holy See (Vatican City State) Honduras Hong Kong Hungary Iceland India Indonesia Iran Iraq Ireland Israel Italy Jamaica Japan Jersey Jordan Kazakhstan Kenya Kiribati Kosovo (Serbia and Montenegro) Kuwait Kyrgyzstan Lao People's Democratic Republic Latvia Lebanon Lesotho Liberia Libya Liechtenstein Lithuania Luxembourg Macao Madagascar Malawi Malaysia Maldives Mali Malta Marshall Islands Martinique Mauritania Mauritius Mayotte Mexico Minor Outlying Islands of the United States Moldova Monaco Mongolia Montenegro Montserrat Morocco Mozambique Myanmar Namibia Nauru Nepal Netherlands Antilles New Caledonia New Zealand Nicaragua Niger Nigeria Niue Norfolk Island North Korea North Macedonia Northern Mariana Islands Norway Oman Pakistan Palau Palestinian Territory Panama Papua New Guinea Paraguay Peru Philippines Pitcairn Poland Portugal Puerto Rico Qatar Reunion Romania Russian Federation Rwanda Saint Helena Saint Kitts and Nevis Saint Lucia Saint Pierre and Miquelon Saint Vincent and the Grenadines Samoa San Marino Sao Tome and Principe Saudi Arabia Senegal Serbia Seychelles Sierra Leone Singapore Slovakia Slovenia Solomon Islands Somalia South Africa South Georgia and the South Sandwich Is South Korea South Sudan Spain Sri Lanka Sudan Suriname Svalbard and Jan Mayen Swaziland Sweden Switzerland Syria Taiwan Tajikistan Tanzania Thailand The Gambia The Netherlands Timor-Leste Togo Tokelau Tonga Trinidad and Tobago Tunisia Turkey Turkmenistan Turks and Caicos Islands Tuvalu UK USA Uganda Ukraine United Arab Emirates United States Virgin Islands Uruguay Uzbekistan Vanuatu Venezuela Vietnam Wallis and Futuna West Bank and Gaza Strip Western Sahara Yemen Zambia Zimbabwe Please select your country/region. You must enter a comment. Competing Interests Please disclose any competing interests that might be construed to influence your judgment of the article's or peer review report's validity or importance. Competing Interests Policy Provide sufficient details of any financial or non-financial competing interests to enable users to assess whether your comments might lead a reasonable person to question your impartiality. Consider the following examples, but note that this is not an exhaustive list: Examples of 'Non-Financial Competing Interests' Within the past 4 years, you have held joint grants, published or collaborated with any of the authors of the selected paper. You have a close personal relationship (e.g. parent, spouse, sibling, or domestic partner) with any of the authors. You are a close professional associate of any of the authors (e.g. scientific mentor, recent student). You work at the same institute as any of the authors. You hope/expect to benefit (e.g. favour or employment) as a result of your submission. You are an Editor for the journal in which the article is published. Examples of 'Financial Competing Interests' You expect to receive, or in the past 4 years have received, any of the following from any commercial organisation that may gain financially from your submission: a salary, fees, funding, reimbursements. You expect to receive, or in the past 4 years have received, shared grant support or other funding with any of the authors. You hold, or are currently applying for, any patents or significant stocks/shares relating to the subject matter of the paper you are commenting on. Please state your competing interests The comment has been saved. An error has occurred. Please try again. Cancel Post var lTitle = "Explainable Transfer Learning with Residual...".replace("'", ''); var linkedInUrl = "http://www.linkedin.com/shareArticle?url=https://f1000research.com/articles/14-651/v3" + "&title=" + encodeURIComponent(lTitle) + "&summary=" + encodeURIComponent('Read the article by '); var deliciousUrl = "https://del.icio.us/post?url=https://f1000research.com/articles/14-651/v3&title=" + encodeURIComponent(lTitle); var redditUrl = "http://reddit.com/submit?url=https://f1000research.com/articles/14-651/v3" + "&title=" + encodeURIComponent(lTitle); linkedInUrl += encodeURIComponent('D C et al.'); var offsetTop = /chrome/i.test( navigator.userAgent ) ? 4 : -10; var addthis_config = { ui_offset_top: offsetTop, services_compact : "facebook,twitter,www.linkedin.com,www.mendeley.com,reddit.com", services_expanded : "facebook,twitter,www.linkedin.com,www.mendeley.com,reddit.com", services_custom : [ { name: "LinkedIn", url: linkedInUrl, icon:"/img/icon/at_linkedin.svg" }, { name: "Mendeley", url: "http://www.mendeley.com/import/?url=https://f1000research.com/articles/14-651/v3/mendeley", icon:"/img/icon/at_mendeley.svg" }, { name: "Reddit", url: redditUrl, icon:"/img/icon/at_reddit.svg" }, ] }; var addthis_share = { url: "https://f1000research.com/articles/14-651", templates : { twitter : "Explainable Transfer Learning with Residual Attention BiLSTM.... D C et al., published by " + "@F1000Research" + ", https://f1000research.com/articles/14-651/v3" } }; if (typeof(addthis) != "undefined"){ addthis.addEventListener('addthis.ready', checkCount); addthis.addEventListener('addthis.menu.share', checkCount); } $(".f1r-shares-twitter").attr("href", "https://twitter.com/intent/tweet?text=" + addthis_share.templates.twitter); $(".f1r-shares-facebook").attr("href", "https://www.facebook.com/sharer/sharer.php?u=" + addthis_share.url); $(".f1r-shares-linkedin").attr("href", addthis_config.services_custom[0].url); $(".f1r-shares-reddit").attr("href", addthis_config.services_custom[2].url); $(".f1r-shares-mendelay").attr("href", addthis_config.services_custom[1].url); function checkCount(){ setTimeout(function(){ $(".addthis_button_expanded").each(function(){ var count = $(this).text(); if (count !== "" && count != "0") $(this).removeClass("is-hidden"); else $(this).addClass("is-hidden"); }); }, 1000); } close How to cite this report {{reportCitation}} Cancel Copy Citation Details $(function(){R.ui.buttonDropdowns('.dropdown-for-downloads');}); $(function(){R.ui.toolbarDropdowns('.toolbar-dropdown-for-downloads');}); $.get("/articles/acj/166307/191512") new F1000.Clipboard(); new F1000.ThesaurusTermsDisplay("articles", "article", "191512"); $(document).ready(function() { $( "#frame1" ).on('load', function() { var mydiv = $(this).contents().find("div"); var h = mydiv.height(); console.log(h) }); var tooltipLivingFigure = jQuery(".interactive-living-figure-label .icon-more-info"), titleLivingFigure = tooltipLivingFigure.attr("title"); tooltipLivingFigure.simpletip({ fixed: true, position: ["-115", "30"], baseClass: 'small-tooltip', content:titleLivingFigure + " " }); tooltipLivingFigure.removeAttr("title"); $("body").on("click", ".cite-living-figure", function(e) { e.preventDefault(); var ref = $(this).attr("data-ref"); $(this).closest(".living-figure-list-container").find("#" + ref).fadeIn(200); }); $("body").on("click", ".close-cite-living-figure", function(e) { e.preventDefault(); $(this).closest(".popup-window-wrapper").fadeOut(200); }); $(document).on("mouseup", function(e) { var metricsContainer = $(".article-metrics-popover-wrapper"); if (!metricsContainer.is(e.target) && metricsContainer.has(e.target).length === 0) { $(".article-metrics-close-button").click(); } }); var articleId = $('#articleId').val(); if($("#main-article-count-box").attachArticleMetrics) { $("#main-article-count-box").attachArticleMetrics(articleId, { articleMetricsView: true }); } }); var figshareWidget = $(".new_figshare_widget"); if (figshareWidget.length > 0) { window.figshare.load("f1000", function(Widget) { // Select a tag/tags defined in your page. In this tag we will place the widget. _.map(figshareWidget, function(el){ var widget = new Widget({ articleId: $(el).attr("figshare_articleId") //height:300 // this is the height of the viewer part. [Default: 550] }); widget.initialize(); // initialize the widget widget.mount(el); // mount it in a tag that's on your page // this will save the widget on the global scope for later use from // your JS scripts. This line is optional. //window.widget = widget; }); }); } close Error Close Add Reset F1000.MICROSERVICES.AFFILIATION = ''; $(document).ready(function () { $('.js-affiliations-form').each((index, form) => { new AffiliationForm({ formId: form.id, institutionErrorSelector: '.comment-enter-institution', departmentErrorSelector: '.comment-enter-department', placeSelector: '.js-add-comment-place', stateSelector: '.js-add-comment-state', zipCodeSelector: '.js-add-comment-zipcode', countrySelector: '.js-add-comment-country', countryErrorSelector: '.comment-enter-country', }); }); }); $(document).ready(function () { var reportIds = { "406278": 0, "402439": 0, "406276": 0, "406277": 0, "406274": 0, "406275": 0, "406272": 0, "406273": 0, "402446": 0, "402447": 0, "402444": 0, "402445": 0, "402442": 0, "402443": 0, "402440": 0, "402441": 0, "402448": 0, "424478": 0, "424479": 0, "424486": 0, "424487": 0, "424484": 0, "424485": 0, "424482": 0, "424483": 0, "424480": 14, "424481": 0, "411311": 0, "411318": 0, "411319": 0, "408503": 0, "411316": 0, "411317": 0, "411314": 0, "411315": 23, "411312": 0, "411313": 17, "408510": 0, "408511": 0, "417215": 0, "408508": 0, "408506": 0, "408507": 0, "411320": 0, "408504": 0, "408505": 0, "426310": 0, "426311": 0, "426308": 0, "426309": 0, "426307": 0, "408512": 0, "417216": 0, "408513": 0, "426316": 0, "426314": 0, "426315": 0, "426312": 0, "426313": 0, "397910": 0, "397911": 0, "397908": 0, "397909": 0, "397916": 0, "397917": 0, "397914": 0, "397915": 0, "397912": 0, "397913": 0, "421358": 0, "421359": 0, "434284": 6, "421357": 0, "434282": 0, "434283": 0, "421366": 0, "421364": 0, "421365": 0, "421362": 0, "421363": 0, "421360": 0, "421361": 0, }; $(".referee-response-container,.js-referee-report").each(function(index, el) { var reportId = $(el).attr("data-reportid"), reportCount = reportIds[reportId] || 0; $(el).find(".comments-count-container,.js-referee-report-views").html(reportCount); }); var uuidInput = $("#article_uuid"), oldUUId = uuidInput.val(), newUUId = "9754e8e3-3cca-49fb-b78c-fb3bd1e286be"; uuidInput.val(newUUId); $("a[href*='article_uuid=']").each(function(index, el) { var newHref = $(el).attr("href").replace(oldUUId, newUUId); $(el).attr("href", newHref); }); }); An innovative open access publishing platform offering rapid publication and open peer review, whilst supporting data deposition and sharing. Browse Gateways Collections How it Works Contact For Developers Cookie Notice Privacy Notice RSS Submit Your Research Follow us © 2012-2026 F1000 Research Ltd. ISSN 2046-1402 | Legal | Partner of Research4Life • CrossRef • ORCID • FAIRSharing R.templateTests.simpleTemplate = R.template(' $text $text $text $text $text '); R.templateTests.runTests(); var F1000platform = new F1000.Platform({ name: "f1000research", displayName: "F1000Research", hostName: "f1000research.com", id: "1", editorialEmail: "[email protected]", infoEmail: "[email protected]", usePmcStats: true }); $(function(){R.ui.dropdowns('.dropdown-for-authors, .dropdown-for-about, .dropdown-for-myresearch');}); // $(function(){R.ui.dropdowns('.dropdown-for-referees');}); $(document).ready(function () { if ($(".cookie-warning").is(":visible")) { $(".sticky").css("margin-bottom", "35px"); $(".devices").addClass("devices-and-cookie-warning"); } $(".cookie-warning .close-button").click(function (e) { $(".devices").removeClass("devices-and-cookie-warning"); $(".sticky").css("margin-bottom", "0"); }); $("#tweeter-feed .tweet-message").each(function (i, message) { var self = $(message); self.html(linkify(self.html())); }); $(".partner").on("mouseenter mouseleave", function() { $(this).find(".gray-scale, .colour").toggleClass("is-hidden"); }); }); Sign In Remember me Forgotten your password? Sign In Cancel Email or password not correct. Please try again Please wait... $(function(){ // Note: All the setup needs to run against a name attribute and *not* the id due the clonish // nature of facebox... $("a[id=googleSignInButton]").click(function(event){ event.preventDefault(); $("input[id=oAuthSystem]").val("GOOGLE"); $("form[id=oAuthForm]").submit(); }); $("a[id=facebookSignInButton]").click(function(event){ event.preventDefault(); $("input[id=oAuthSystem]").val("FACEBOOK"); $("form[id=oAuthForm]").submit(); }); $("a[id=orcidSignInButton]").click(function(event){ event.preventDefault(); $("input[id=oAuthSystem]").val("ORCID"); $("form[id=oAuthForm]").submit(); }); }); If you've forgotten your password, please enter your email address below and we'll send you instructions on how to reset your password. The email address should be the one you originally registered with F1000. Email address not valid, please try again You registered with F1000 via Google, so we cannot reset your password. To sign in, please click here . If you still need help with your Google account password, please click here . You registered with F1000 via Facebook, so we cannot reset your password. To sign in, please click here . If you still need help with your Facebook account password, please click here . Code not correct, please try again Reset password Cancel Email us for further assistance. Server error, please try again. If your email address is registered with us, we will email you instructions to reset your password. If you think you should have received this email but it has not arrived, please check your spam filters and/or contact for further assistance. Please wait... Register $(document).ready(function () { signIn.createSignInAsRow($("#sign-in-form-gfb-popup")); $(".target-field").each(function () { var uris = $(this).val().split("/"); if (uris.pop() === "login") { $(this).val(uris.toString().replace(",","/")); } }); });

Text is read by the "Ask this paper" AI Q&A widget below. Extraction quality varies by source — PMC NXML preserves structure cleanly, OA-HTML may include some navigation residue, and OA-PDF can have broken hyphenation. The publisher copy (via DOI) is the canonical version.

My notes (saved in your browser only)

Ask this paper AI returns verbatim quotes from the full text · source: preprint-html

Answers must be backed by verbatim quotes from this paper's full text. Hallucinated quotes are dropped automatically; if no verbatim passage answers the question, we say so. How this works

Citation neighborhood (no data yet)

We don't have any in-corpus citations linked to this paper yet. This is a recent paper (2025) — citers typically take a year or two to land, and the OpenAlex reference graph may still be filling in.

Source provenance

europepmc
last seen: 2026-05-20T01:45:00.602351+00:00