I AE S In t er na t io na l J o urna l o f   Art if icia l In t ellig ence   ( I J - AI )   Vo l.  1 4 ,   No .   6 ,   Dec em b er   2 0 2 5 ,   p p .   4 5 2 0 ~ 4 5 3 2   I SS N:  2 2 5 2 - 8 9 3 8 ,   DOI : 1 0 . 1 1 5 9 1 /ijai.v 14 .i 6 . p p 4 5 2 0 - 4 5 3 2          4520       J o ur na l ho m ep a g e h ttp : //ij a i . ia esco r e. co m   Cla ss ificatio n alg o rithm wi th  a rti fi cia l int ellig enc e f o r t he   dia g no stic proces s o o bstruc tive sl eep apnea       J ehil   Vent ura - T ec co ,   J esú s   F a j a rdo - Av a lo s ,   M icha el  Ca ba nil la s - Ca rbo nell   S c h o o l   o f   E n g i n e e r i n g ,   U n i v e r si d a d   P r i v a d a   d e l   N o r t e ,   Li m a ,   P e r ú       Art icle  I nfo     AB S T RAC T   A r ticle  his to r y:   R ec eiv ed   Au g   2 9 ,   2 0 2 4   R ev is ed   Oct  7 ,   2 0 2 5   Acc ep ted   Oct  1 8 ,   2 0 2 5       Ob stru c ti v e   sle e p   a p n e a   (OSA)  i a   d ise a se   th a a ffe c ts  m il li o n o p e o p le   wo rld wi d e ,   a n d   a   larg e   p ro p o rti o n   o th e m   re m a in   u n d ia g n o se d   d u e   to   th e   h ig h   c o st  o p o l y so m n o g ra p h y   ( P S G tes ts.  F o th is  re a so n ,   it   is   c ru c ial  to   d e v e lo p   a ffo r d a b le  d iag n o stic   t o o ls  to   fa c il it a te  e a rly   d e tec ti o n   o t h is   c o n d i ti o n .   Th is  stu d y   a ims   to   a n a ly z e   h o a n   a rti ficia in telli g e n c e   (AI) - b a se d   c las sifica ti o n   a l g o ri th m   i m p a c ts  th e   d ia g n o stic  p r o c e ss   o OSA  in   Li m a ,   P e ru .   Th e   a lg o rit h m   wa d e v e lo p e d   fo l lo wi n g   th e   Ka n b a n   m e th o d o l o g y ,   wh ich   g u a ra n tee d   a n   e fficie n a n d   tran sp a re n t   fo ll o w - up  d u ri n g   t h e   d e v e lo p m e n c y c le,  wh ich   is  k e y   i n   th e   m e d ica c o n tex wh e re   so ftwa re   q u a li t y   a n d   trac e a b il it y   a re   fu n d a m e n tal.   d e c isio n   tree   (DT)  wa s   u se d   fo d iag n o sis  a n d   c las sifica ti o n ,   e m p lo y in g   a   train in g   d a tas e t   p ro v id e d   b y   t h e   Na ti o n a S lee p   Re se a rc h   Re so u rc e   ( N S RR),   fro m   wh ich   si x   re lev a n t   a tt rib u tes   we re   se lec ted   fo a n a ly sis.  Th e   re se a rc h   re su lt in d ic a ted   th a t,   a lt h o u g h   th e   imp r o v e m e n i n   c li n ica d iag n o stic  a c c u ra c y   wa m in ima a 1 0 . 8 1 % ,   p o siti v e   re su lt we re   o b t a in e d   in   o th e a sp e c ts:  d iag n o stic   ti m e   wa s   sig n ifi c a n t ly   re d u c e d   b y   2 8 . 1 7 % ,   a n d   th e   n u m b e o tes ts  re q u ired   d e c re a se d   b y   2 4 . 0 7 % .   K ey w o r d s :   Alg o r ith m   C las s if icatio n   Diag n o s is   Ma ch in lear n in g   Ob s tr u ctiv s leep   ap n ea   T h is i a n   o p e n   a c c e ss   a rticle   u n d e r th e   CC B Y - SA   li c e n se .     C o r r e s p o nd ing   A uth o r :   Mic h ae l Cab an illas - C ar b o n ell   Sch o o l o f   E n g in ee r in g ,   U n iv er s id ad   Priv ad d el  No r te   L im a,   Per ú   E m ail:  m ca b an illas @ ieee . o r g       1.   I NT RO D UCT I O N   Sleep   is   p r im o r d ial  an d   ess en tial  ac tiv ity   in   wh ich   we  in v est  ap p r o x im ately   o n e - th ir d   o f   o u r   liv es  [ 1 ] .   No wad a y s ,   th q u ality   a n d   d u r atio n   o f   s leep   a r s ig n if i ca n tly   af f ec ted   b y   p e o p le' s   lif esty les,  wh ich   ca n   h av n eg ativ r ep er cu s s io n s   o n   lo n g - ter m   h ea lth ,   g i v in g   r is to   wh at  ar k n o wn   as  s leep   d is o r d er s   ( SDs )   [ 2 ] SDs   ar a   co m m o n   p ath o lo g y   am o n g   p eo p le,   wh ich   d e p en d in g   o n   th eir   co n d itio n   ca n   b is o lated   o r   ass o ciate d   with   o th er   d is o r d er s   [ 3 ] .   Sin ce   1 9 7 9 ,   th in ter n at io n al  class if icatio n   o f   s leep   d i s o r d er s   ( I C SD)   h as  b ee n   in   u s e,   wh ich   in   its   f i r s v er s io n   class if ied   SDs   in to   f o u r   g r o u p s d y s s o m n ias,  p ar a s o m n ias,  d is o r d er s   ass o ciate d   with   o th er   d is ea s es ,   an d   u n q u alif iab le   SDs   [ 4 ] ,   [ 5 ] .   T h an k s   t o   th is ,   m o r t h an   8 0   SDs   h av e   b ee n   r ec o g n ized   an d   class if ied   [ 6 ] .   T h ese  d is o r d er s   n eg ativ el y   af f ec m illi o n s   o f   p eo p le  wo r ld w id e,   ca u s in g   lo s s   o f   life ,   an d   ac ci d en ts ,   am o n g   o th er s   [ 7 ] ,   [ 8 ] .   Am o n g   th e   m o s s ev er SDs ,   is   o b s tr u ctiv s leep   ap n ea   ( OSA ) wh ich   af f ec ts   4 o f   th wo r ld ' s   p o p u latio n   [ 9 ] .   OSA  ep is o d es  o cc u r   wh en   th air way   s u d d en ly   co llap s es  d u r in g   s leep ,   cu ttin g   o f f   o x y g en atio n   to   t h b o d y   [ 1 0 ] .   T h is   co n d itio n   ca n   last   m o r t h an   1 0   s ec o n d s   an d   o cc u r s   with   c o n cu r r en ce   o f   5   tim es  p er   h o u r   o f   s leep .   I t   af f ec ts   m o r e   m en   th an   wo m en   b etwe en   4 0   a n d     5 0   y ea r s   o f   ag [ 1 1 ] .   OSA  is   u s u ally   d iv id ed   i n to   th r ee   lev e ls   o f   s ev er ity m ild ,   wh en   th in cid en ce   is   g r ea ter   th an   5   b u less   th an   1 5   ev en t s   p er   h o u r m o d er ate,   b etwe en   1 5   a n d   3 0   ev e n ts   p er   h o u r ;   an d   s ev er e,   g r ea te r   th an   3 0   ev en ts   p er   h o u r   [ 1 2 ] .   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J Ar tif   I n tell     I SS N:   2252 - 8 9 3 8       C la s s i fica tio n   a lg o r ith w ith   a r tifi cia l in tellig en ce   fo r   th d ia g n o s tic    ( Je h il V e n tu r a - Te cc o )   4521   I n   th Un ited   States ,   it  af f ec ts   2 2 o f   m en   a n d   1 7 o f   wo m en ,   with   r ates  ex ce ed in g   f iv ep is o d es  p er   h o u r   [ 1 3 ] ,   [ 1 4 ] .   Similar   f i g u r es  ar r e p o r ted   in   Sp ain   a n d   Ho n g   Ko n g ,   wh ile  s ig n if i ca n in cr ea s es  h av e   b ee n   r ep o r ted   in   J ap an ,   r ea c h in g   3 7 in   m en   an d   5 0 in   wo m en   [ 1 5 ] [ 1 8 ] .   I n   L atin   Am er ica,   p r ev alen ce   v ar ies  b y   r eg io n ,   with   s tu d ies   h ig h lig h tin g   cities  s u ch   as  Mo n tev id eo   an d   San tiag o   d C h ile.   Ho wev er ,   in   Per u ,   th lack   o f   ac cu r ate  d at h in d er s   clea r   ass e s s m en o f   th p r o b lem   [ 1 9 ] .   r ev ie o f   m ed ical  r ec o r d s   s u g g ests   th at  2 9 . 2 o f   p atien ts   p r esen with   m ild   OSA  an d   2 6 . 7 with   s ev er OSA  [ 2 0 ] .   T h ese  f in d in g s   r ef lect  p o ten tially   g r o win g   p u b lic  h ea lth   ch allen g an d   u n d er s co r th im p o r tan ce   o f   o p tim izin g   d iag n o s tic  m eth o d s .   Giv en   th p au city   o f   d ata  in   L atin   Am er ica,   esp ec i ally   in   Per u ,   it is   cr u cial  to   ex p lo r n ew  s tr ateg ies  to   im p r o v t h d etec tio n   a n d   m an ag em en o f   OSA.   I n   th i s   co n tex t,  ar tific ial  in tellig en ce   ( AI ) ,   p ar ticu la r ly   m ac h in lear n i n g   ( ML ) ,   h as  d em o n s tr ated   its   p o ten tial  t o   an aly ze   co m p le x   d ata  p atter n s   an d   im p r o v e   d iag n o s tic  ac cu r ac y   [ 2 1 ] [ 2 3 ] ML   alg o r ith m s   ca n   p r o ce s s   s leep   d ata  an d   clin ical  s y m p t o m s   m o r e   q u ic k ly   an d   ac c u r ately ,   f ac ilit atin g   ea r ly   d etec tio n   an d   tim ely   in ter v en tio n   [ 2 4 ] .   I n   a d d itio n ,   th e   in teg r atio n   o f   AI   in to   s leep   m o n ito r in g   d ev ices  allo ws  f o r   o p tim ized   d ata  c o llectio n   an d   co n tin u o u s   ass es s m en ts ,   wh ich   co u l d   tr an s f o r m   th e   clin ical  ap p r o ac h   to   OSA,   esp ec ially   in   r eso u r ce - lim ited   r eg io n s   [ 2 5 ] [ 2 7 ] .   T h r elatio n s h ip   b etwe en   AI   an d   th e   d iag n o s is   o f   OSA  r e p r esen ts   p r o m is in g   ar ea   th at  in teg r ates  ad v an ce d   tech n o lo g y   in te n d i n g   to   im p r o v e   h ea lth   o u tco m es.  Dee p en in g   th is   in te r ac tio n   an d   f o s ter in g   co n tin u ed   r esear ch   in   th is   ar e m ay   lead   t o   in n o v ativ d ev elo p m en ts   th at  tr an s f o r m   h o w   SD   ar d iag n o s ed   an d   tr ea ted .   I n   th is   co n tex t,   th p r esen s tu d y   aim s   to   e v a lu ate  h o an   AI - b ased   class if icatio n   alg o r ith m   in f lu en ce s   th d ia g n o s tic  p r o c ess   o f   OSA   in   L im a,   Per u .       2.   L I T E R AT U RE   R E VI E W   T h is   s e cti o n   p r ese n ts   s o m e   w o r k   r ela te d   t o   th t o p ic   o f   s t u d y .   Alm az ay d eh   et   a l.   [ 2 8 ]   d ev el o p e d   a   s u p p o r v e ct o r   m ac h i n e   ( SV M) - b ase d   al g o r i th m   th at  u s es   ele ct r o ca r d i o g r am   ( E C G )   d at t o   class i f y   p a tie n ts   wit h   a n d   wi th o u OSA,   a ch ie v in g   a n   ac cu r ac y   o f   9 6 . 5 % .   H o wev er ,   th is   a p p r o ac h   f o c u s es  o n l y   o n   th an al y s is   o f   E C G   s i g n als ,   w h ic h   l im i ts   i ts   ap p l ica b i lit y   i n   m o r e   co m p l ex   cli n ic al   s c e n a r i o s   t h at   r e q u i r e   t h e   in te g r ati o n   o f   m u lti p l s o u r c es  o f   p h y s i o l o g ic al  d a ta .   I n   c o n tr ast ,   t h p r ese n s t u d y   p r o p o s es  t h in c o r p o r ati o n   o f   p h y s i o l o g i ca l   a n d   cl in ica l d ata ,   all o wi n g   f o r   g r e ate r   r o b u s t n e s s   i n   OSA   d ete cti o n .   A cc o r d in g   to   L u o   et   a l .   [ 2 9 ] f i v e   M L   m o d els   a n d   t wo   d ia g n o s tic   s c h em es  w e r e   u s ed   t o   d ev el o p   a   l o w - c o s t   s y s te m   t h at   d et ec ts   OS in   r ea l   tim e   u s i n g   s n o r i n g   r ec o r d in g s   an d   p o ly s o m n o g r a p h y   ( PS G )   d at a,   wit h   9 7 %   ac cu r a c y .   D es p ite   its   ef f ec t iv en ess ,   it  d o es  n o t   a d d r ess   t h e   i n t eg r ati o n   o f   v a r i o u s   p h y s i o l o g i ca l   s o u r ce s .   Sim ila r l y ,   H ai d a r   et   a l .   [ 3 0 ]   e m p lo y e d   co n v o l u tio n al  n eu r al  n etwo r k s   with   r esp ir ato r y   d ata,   ac h iev in g   an   ac cu r ac y   o f   8 3 . 5 %,   alth o u g h   with o u t   co n s id er in g   o th er   p h y s io lo g ical  an d   clin ical  v ar ia b les.  Al - Ab ed   et  a l.  [ 3 1 ]   p r o p o s es  an   alg o r ith m   b ased   o n   tex tu r al  f ea tu r es  ex tr ac ted   f r o m   n o r m alize d   g r ay - lev el  c o n cu r r en ce   m atr ices   ( NGL C M)   o b tain ed   b y   s h o r t - tim d is cr ete  Fo u r ier   tr an s f o r m   ( STDFT )   f o r   OSA  d etec tio n .   Alth o u g h   th is   ap p r o ac h   o f f e r s   p r o m is in g   r esu lts ,   with   an   ac cu r ac y   o f   9 0 . 1 6 %,  i r elies  o n   co m p lex   m ath em ati ca tr an s f o r m atio n s   th at  co u l d   m ak it  d if f icu lt  to   im p lem en in   clin ical  p r ac tice .   Acc o r d in g   to   Kr is tian s en   et   a l.  [ 3 2 ] ,   2 9   p atien ts   with   s u s p ec ted   OSA  wer e   in v esti g ated   u s in g   lo w - co s t   s tr ain   g au g r esp ir ato r y   b elt   to   r ec o r d   v ar io u s   b r ea th in g   p ar am eter s .   I n   th e   s tu d y ,   v ar io u s   ML - b ased   d ia g n o s tic  to o ls   wer em p lo y e d ,   y i eld in g   an   ac c u r ac y   o f   7 6 . 0 9 % a n d   s en s itiv ity   o f   7 8 . 3 3 %.  Ho wev e r ,   th lo wer   ac cu r ac y   an d   e x clu s iv f o cu s   o n   r esp ir ato r y   d ata  ar s ig n if ican lim itatio n s .   On   th o th er   h a n d ,   B o u s co u let  et   a l.  [ 3 3 ]   was  ca r r ied   o u t   a   co m p ar is o n   o f   t h d iag n o s tic  ac cu r ac y   o f   p o r ta b le   m o n ito r s ,   e v alu atin g   th e   d esatu r atio n   in d ex   o f   th e   r esp ir ato r y   in d e x .   I n   th is   s tu d y ,   a   to tal  o f   3 8   p atien ts   wer e   ev alu ated ,   ac h iev in g   d iag n o s tic  co n f id en ce   o f   9 5 %.   Alth o u g h   th r esu lts   ar r ele v an t,   th s tu d y   d o es  n o t   ex p lo r e   th u s o f   a d v an ce d   ML   alg o r ith m s ,   lim itatio n   a d d r ess ed   in   t h is   wo r k   b y   co m b in in g   ML   tech n i q u es   with   o th er   v ar ia b les.  Fin ally ,   Po lat  et  a l.  [ 3 4 ]   i n v esti g ated   PS d ev ices  u s in g   ML   al g o r ith m s ,   ac h iev in g   9 7 . 1 ac c u r ac y   in   8 3   p atien t s .   Alth o u g h   r o b u s t,   th is   ap p r o ac h   f o cu s es  o n   a   lim ited   n u m b er   o f   v ar iab les.   Similar ly ,   Kan g   et   a l.  [ 3 5 ]   e m p lo y ed   s n o r in g   s o u n d s   in   2 4   p atien ts ,   ac h ie v in g   an   ac c u r ac y   o f   9 0 . 6 5 f o r   ap n ea   p r ed ictio n .   Ho wev er ,   its   u s o f   a   s in g le  ac o u s tic   s ig n al  lim it s   it s   ap p licab ili ty .   Ou r   s tu d y ,   b y   co n tem p latin g   p h y s io lo g ical  an d   clin ical  v ar iab les,  p r esen ts   d if f er en ap p r o ac h   th a n   o th er   s tu d ies,  s in ce   m o s p r ev i o u s   r esear ch   ten d s   to   f o c u s   o n   th e   an aly s is   o f   s i n g le  d ata   s o u r ce   o r   is o lated   s i g n als,  s u ch   as  E C G,   r esp ir ato r y   s ig n als,  o r   s n o r in g   s o u n d s .   I n s tead ,   b y   in teg r atin g   b o th   p h y s io lo g ical  v a r iab les  ( s u ch   as  b r ea th in g   p atter n s ,   h ea r r ate,   o r   o x y g en atio n   lev els)  an d   clin ical  d ata  ( m ed ical  h is to r y ,   r ep o r ted   s y m p to m s ,   an d   p atien t   d em o g r a p h ics),   th is   ap p r o ac h   allo ws f o r   m o r co m p lete  an d   ac cu r ate  v iew  o f   th p atien t' s   co n d itio n .       3.   M E T H O D   Fo r   th d ev elo p m en o f   t h cl ass if icatio n   alg o r ith m   with   AI ,   th k an b a n   m eth o d o l o g y   wa s   ch o s en .   T h is   m eth o d o lo g y   is   to o o f   th l ea n   m eth o d o lo g y   th at  is   wid ely   u s ed   in   s o f twar d ev el o p m en [ 3 6 ] .   I is   v is u al  s y s tem   to   m an ag e   th d ev elo p m e n o f   p r o ject;   it  u s es  b o ar d   d iv id e d   in to   co l u m n s   th at  r e p r esen d if f er en s tag es  o f   th e   d ev elo p m en p r o ce s s   [ 3 7 ] .   Nex t,  we  a n aly ze   th ac tiv ities   th at  we  w ill  h av to   d ev elo p   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 2 5 2 - 8 9 3 8   I n t J Ar tif   I n tell Vo l.  1 4 ,   No .   6 ,   Dec em b er   2 0 2 5 4 5 2 0 - 4 5 3 2   4522   f o r   th e   cr ea tio n   o f   th e   alg o r ith m .   T h ac tiv ities   wer d iv id ed   in to   th r ee   s tag es:  p r o b le m   d ef in itio n ,   p r o b lem   an aly s is ,   an d   alg o r ith m   d esig n   with   th eir   r esp ec tiv task s ,   as d etailed   in   T ab le  1 .       T ab le  1 .   T o - d o   lis t   P h a se     P e n d i n g   t a sk s   D e scri p t i o n   P r i o r i t y   P r o b l e d e f i n i t i o n   T1   D e f i n e   t h e   p r o b l e m   W e   d e f i n e d   t h e   p r o b l e o f   t h e   st u d y .   M e d i a   P r o b l e a n a l y s i s   T2   D e f i n e   i n p u t   d a t a   W e   d e f i n e   w h a t   d a t a   t h e   a l g o r i t h m   r e q u i r e s   t o   p r o v i d e   u s   w i t h   t h e   e x p e c t e d   r e s u l t s.   H i g h   T3   D e f i n e   t h e   o u t p u t   d a t a   W e   d e f i n e   h o w   t h e   a l g o r i t h m   w i l l   e x p r e ss  t h e   r e s u l t   a f t e r   so r t i n g   t h e   i n p u t   d a t a .   H i g h   T4   D e f i n e   f o r m u l a a n d   met h o d s   W e   d e f i n e   t h e   f o r mu l a a n d   m e t h o d s   r e q u i r e d   f o r   a l g o r i t h m   d e v e l o p me n t .   M e d i a   A l g o r i t h m   d e si g n   T5   D e si g n   t h e   p se u d o c o d e   W i t h   t h e   i n f o r mat i o n   g a t h e r e d   p r e v i o u s l y ,   w e   d e si g n e d   t h e   p se u d o c o d e   o f   t h e   a l g o r i t h m.   D o w n l o a d   T6   D e si g n   t h e   f l o w c h a r t   A s i n   t h e   p r e c e d i n g   t a s k ,   t h e   f l o w   c h a r t   i d e si g n e d   D o w n l o a d   T7   I mp l e me n t   t h e   c o d e   W e   w r o t e   t h e   c o d e   w i t h   t h e   P y t h o n   p r o g r a mm i n g   l a n g u a g e .   H i g h   T8   R e v i e w   a n d   o p t i mi z e   t h e   c o d e   W e   c o r r e c t   a n d   o p t i mi z e   t h e   p a r t s   o f   t h e   c o d e   t h a t   ma y   c a u s e   e r r o r s wh e n   e x e c u t i n g   t h e   c o d e .   M e d i a       3 . 1 .     K a nb a n bo a rd  elem ent s   3. 1 . 1 .   To - do   lis t   Fo r   th e   co r r ec im p lem e n tatio n   o f   th e   class if icatio n   alg o r ith m   b ased   o n   AI ,   th e   k an b an   m eth o d o lo g y   h as  b ee n   u s ed ,   wh ich   allo ws  v is u al  an d   s tr u ctu r ed   m an a g em en o f   th e   task s   to   b e   d ev elo p ed .   W ith in   th is   m eth o d o l o g y ,   o n o f   th e   k e y   elem en ts   is   th “T o - d o   lis t”,   wh ich   g r o u p s   an d   o r g an izes  t h ess en tial  ac tiv ities   ac co r d in g   to   th d if f er e n s tag es  o f   th alg o r ith m   d ev el o p m en t.  T h ese   task s   in clu d e   d e f in in g   t h p r o b lem ,   id en tify in g   an d   an aly zin g   th in p u an d   o u tp u d ata,   s elec tin g   ap p r o p r iate  f o r m u las  an d   m eth o d s ,   as  well  as   d esig n in g   th p s eu d o c o d e,   an d   im p lem en tin g   th co d in   Py th o n .   T h o r g an izatio n   o f   th ese  task s   in   a   lis f ac ilit ates  p lan n in g   a n d   p r o g r ess   tr ac k in g ,   allo win g   to   p r io r itize  th o s ac tiv ities   th at  ar e   m o s cr itical  an d   en s u r in g   an   o r d er ly   a n d   ef f icien t p r o g r ess io n   in   th d ev elo p m en t o f   th e   p r o ject.     3. 1 . 2 B o a rd   As  p ar o f   th e   k an b an   m eth o d o lo g y ,   it  is   n ec ess ar y   to   u s b o ar d   d iv id e d   i n to   c o lu m n s   t o   v is u alize   th p r o g r ess   in   th e   d ev el o p m e n o f   th alg o r ith m .   T o   ca r r y   o u th is   task ,   we  u s ed   th e   d ig i tal  p latf o r m   T r ello ,   in   wh ich   we  c o n f ig u r ed   b o ar d   co n s is tin g   o f   th e   f o llo wi n g   co l u m n s task   lis t,  in   p r o g r ess ,   an d   d o n e,   as  illu s tr ated   in   Fig u r 1 .   I n   ad d i tio n ,   to   f ac ilit ate  th u s o f   th ac tiv ity   tab le  an d   th p r o g r e s s   o f   th p r o ject,   we  estab lis h ed   th p o licies o r   wo r k   r u les as sh o wn   in   T a b le  2 .           Fig u r 1 .   Kan b an   m et h o d o lo g y   b o ar d   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J Ar tif   I n tell     I SS N:   2252 - 8 9 3 8       C la s s i fica tio n   a lg o r ith w ith   a r tifi cia l in tellig en ce   fo r   th d ia g n o s tic    ( Je h il V e n tu r a - Te cc o )   4523   3 . 1 . 3 .   Rules   f o t he  us o f   t h bo a rd   T o   en s u r e f f icien p r o ject  m an ag em en t,  s p ec if ic   r u les  wer estab lis h ed   f o r   th e   u s o f   t h Kan b an   b o ar d .   T h ese  r u les aim   to   o p tim ize  th wo r k f lo w ,   av o id   ex c ess iv ac cu m u latio n   o f   task s   in   s in g le  s tag e,   an d   m ain tain   s tr u ctu r ed   ex ec u ti o n   o f   th p r o ject.   Am o n g   th m ain   r u les  estab li s h ed   is   t h lim itatio n   o f   th e   n u m b er   o f   task s   th at  ca n   b d ev elo p e d   s im u ltan eo u s ly ,   en s u r in g   th at   n o   b o ttlen ec k s   ar g en er ate d   in   th e   p r o ce s s .   L ik ewise,   it   was  d ete r m in ed   th at  th e   task s   in   p r o g r ess   m u s b elo n g   to   th e   s am d ev elo p m en t   p h ase,   av o id in g   th s im u ltan eo u s   ex e cu tio n   o f   ac tiv ities   f r o m   d if f er en s tag es,  wh ich   co u ld   g en e r ate  in co n s is ten cies   an d   d elay s .   T h ese  r u les  ar e   i n ten d ed   to   im p r o v p r o d u ctiv ity ,   m ain tain   clea r   f o cu s   i n   ea ch   p h ase,   an d   g u ar an tee  a n   o r g an ized   d ev elo p m en t a lig n e d   with   th p r in cip les o f   th k an b an   m et h o d o lo g y .       T ab le  2 .   Kan b an   b o ar d   u s ag p o licies/ r u les     U sag e   p o l i c i e s   P1   To   a v o i d   t h e   b o t t l e n e c k ,   o n l y   2   t a s k c a n   b e   p e r f o r me d   si mu l t a n e o u s l y   P2   Th e   t a sk s   t o   b e   p e r f o r me d   m u s t   b e l o n g   t o   t h e   s a me   p h a s e   P3   Ta sk s   t h a t   b e l o n g   t o   d i f f e r e n t   p h a s e may   n o t   b e   d e v e l o p e d       3 . 2 .     E x ec utio n o f   t he  t a s k s   3 . 2 . 1 .   T 1 - def ine  t he  pro blem   Fo r   th is   r esear ch   wo r k ,   we  p r o p o s ed   th d ev elo p m e n o f   class if ica tio n   alg o r ith m   with   AI   to   d iag n o s OSA.   W ith   th an aly s is   o f   liter atu r r elate d   to   th i s   d is ea s e,   we  k n o th at  f o r   th d iag n o s is   o f   OSA,   th f o llo win g   d ata  ar e   co n te m p lated ,   th E p wo r th   s leep in ess   s ca le,   wh ich   g iv es  u s   d iag n o s is   o f   clin ical  s u s p icio n ,   p h y s ical  ex am in ati o n ,   an d   h is to r y   o f   p r e - e x is tin g   d is ea s es.  I n   ad d itio n ,   th s leep   ap n ea /h y p o p n ea   in d ex   is   o b tain ed   b y   d i v id in g   th n u m b er   o f   ap n ea   ev e n ts   b y   th h o u r s   o f   s leep   ( in   m in u tes)  an d   m u ltip ly in g   b y   6 0 ,   b u f o r   an   ap n ea   ev en to   b co n s id er ed   as  s u ch ,   th air way   co llap s m u s b g r ea ter   th an   1 0   s ec o n d s .   [ 3 8 ] .   T o   k n o th n u m b er   o f   ap n ea   ev en ts   s u f f er in g   d u r i n g   th e   n ig h t,  PS s tu d ies  ar p er f o r m ed ,   wh ich   m ea s u r r esp ir atio n ,   a n d   h ea r t   r ate,   am o n g   o th e r s .     3 . 2 . 2 .   T 2 /T 3 /T 4 - def ini ng   in p ut  da t a / def ini ng   t he  o utput   da t a /def in t he  f o r m ula s   a nd   m et ho ds   C o n tin u in g   with   wh at  was  ad d r ess ed   in   th p r ev io u s   task ,   we  id en tifie d   th f o llo wi n g   g en er al  in f o r m atio n   in p u d ata  s u ch   as   th a g a n d   s ex   o f   th e   p atien t ,   in   ad d itio n ,   to   m ed ical   h is to r y   in f o r m atio n   s u ch   as  th p r esen ce   o f   s n o r in g ,   l ev el  o f   d ay tim s leep in ess ,   h o u r s   o f   s leep ,   d iag n o s is   o f   ar ter ial  h y p er ten s io n ,   b o d y   m ass   in d ex   ( B MI )   a n d   t h E p wo r t h   in d e x .   T h e   alg o r it h m   m u s b a b le  to   d eter m in wh eth er   th p atien t   s u f f er s   f r o m   OSA  o r   n o t.  T h is   in f o r m atio n   ca n   b p r ese n ted   in   two   way s in   b in ar y   f o r m ,   wh er it  is   r ep r esen ted   b y   ' 1 '   if   th p atien h as  OSA  an d   ' 0 '   if   h e/sh d o es  n o t,  o r   in   tex tu al  f o r m .   Fu r th er m o r e ,   co n s id er in g   th at  t h alg o r it h m   will  b im p lem en ted   in   P y th o n   v er s io n   3 ,   it  was  ess e n tial  to   ex am in th e   m eth o d s   o f f er e d   b y   th la n g u ag e.   I t   was  d ec id e d   t o   u s th e   d ec is io n   tr ee   ( DT )   class if icatio n   m o d el   as  th e   AI   co m p o n en t o   d iag n o s e   OSA,   alo n g   with   o th er   ap p r o ac h es,  s u ch   as  len ( ) ,   f it() ,   p r ed ict( ) ,   ac cu r ac y _ s co r e( ) ,   an d   co n f u s io n _ m atr ix ( ) .     3 . 2 . 3 .   T 5 /T 6 - des ig nin g   t he  ps eudo co de/ d esig n t he  f lo wcha rt   W ith   th in f o r m atio n   g ath er e d   in   th p r ev io u s   task s ,   p s eu d o co d h as  b ee n   d esig n ed   th at  co v er s   th r ea d in g   o f   t h p atien t' s   d ata  a n d   th eir   s leep   h a b its .   C o m p lem en ted   with   th e   cr ea tio n   o f   t h tr ain in g   an d   test   s ets,  to   p r ep r o ce s s   th d ata  a n d   p r ep a r th em   f o r   th tr ain in g   o f   t h m o d el.   On ce   th is   s tag is   co m p leted ,   we   p r o ce ed   with   th e   cr ea tio n   an d   tr ain in g   o f   th e   m o d el,   f o llo wed   b y   th e   p r e d ictio n   p h ase.   T h f lo wch a r o f   th e   alg o r ith m   was  also   d esig n ed   co n s id er in g   th p s eu d o co d d ev elo p e d   in   th p r ev io u s   task .   T h d iag r am   is   s h o wn   in   Fig u r 2 .   So m p ar t s   o f   th f lo wch ar u s f u n ctio n s   u n iq u to   th Py th o n   p r o g r am m in g   lan g u ag e   th at  ar im p o s s ib le  to   illu s tr ate  in   th g r a p h ic.     3 . 2 . 4 .   T 7 /T 8 - im plem ent ing   t he  co de/ r ev iew  a nd   o ptim ize  t he  co de   B ased   o n   th wo r k   d o n in   t ask s   5   an d   6 ,   we  d ev elo p e d   th co d e.   First,  we  im p o r th lib r ar ies   tr ain _ test _ s p lit  to   s p lit  th d ataset  f o r   tr ain in g   an d   test in g ,   f o llo wed   b y   Dec is io n T r ee C lass if ier   to   class if y   th e   d ata,   an d   f in ally   th lib r ar ies  ac cu r ac y _ s co r a n d   c o n f u s io n _ m atr ix   to   ev al u ate  th e   class if icatio n   ac cu r ac y .     As in p u t d ata,   th er ar two   b lo ck s ,   th p atien t' s   d ata   an d   h is   s leep   d ata.   I n   th p atien t's   d at a,   th p atien t' s   ag e,   g en d er ,   an d   th e   E p w o r th   s leep in ess   s ca le  ar r e q u ested ,   in   th e   s leep   d ata,   th e   d u r atio n   o f   s leep   a n d   th e   f r eq u e n cy   o f   ap n ea s   p er   n ig h t.  Su b s eq u en tly ,   we  cr ea te  tw o   lis ts   o r   tu p les  f o r   tr ain in g   an d   test in g ,   ea ch   o f   th ese  tu p les  s to r es  3   r elev an p atien d ata,   s u ch   as  p at ien d ata,   s leep   d ata,   an d   d iag n o s is .   Fo r   d ata   p r ep r o ce s s in g ,   we  m u s s ep ar ate  th in f o r m atio n   c o n tai n ed   in   th e   tu p le  ' tr ain in g _ s et'   in to   two   lis t s ,     o n co n tain i n g   th f ir s two   d ata  ( p atien an d   d r ea m   d ata )   an d   th last   o n e   th d iag n o s is .   W cr ea te  th e   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 2 5 2 - 8 9 3 8   I n t J Ar tif   I n tell Vo l.  1 4 ,   No .   6 ,   Dec em b er   2 0 2 5 4 5 2 0 - 4 5 3 2   4524   v ar iab le  ' m o d el'   wh ich   in s tan tiates  th DT   class   an d   with   th m eth o d   ' f it'   we  tr ain   th m o d el  with   th tr ain i n g   liS Ds  ' x '   an d   ' y ' .     m o d el= Dec is io n T r ee C lass if ie r ( )   m o d el. f it(x _ tr ain in g ,   y _ t r ain in g )     As  p r e - f in aliza tio n   p ar t,   we  u s th ' p r ed ict'   m eth o d   to   p r e d ict  th d ata,   with   th ' ac cu r ac y _ s co r e ( ) '   m eth o d   we  ca lcu late  th e   ac c u r ac y   o f   th p r ed ictio n   m ad e ,   an d   with   ' co n f u s io n _ m atr ix ( ) '   we  ca n   s ee   th e   p er f o r m an ce   o f   th m eth o d .   F in ally ,   th p r e d ictio n   is   m ad e,   if   th p r ed ictio n   o f   th e   m o d e is   eq u al  to   1   th e   p atien is   d iag n o s ed   with   OSA,   o th er wis e,   th co n d itio n   i s   d is ca r d ed .   Fin ally ,   to   o p tim ize  th d ata  en tr y   p r o ce s s   we  h a v ch a n g ed   th d ata  r ea d in g   to   t h r ea d _ c s v   m eth o d   p r o v id e d   b y   th e   Pan d as’  lib r ar y   f o r   r ea d in g   ' csv '   f iles .   T h is   is   th o n ly   ch a n g a p p lied   to   t h alg o r ith m .           Fig u r 2 .   Flo d ia g r am       3 . 3 .     Alg o rit hm   t r a ini ng   3 . 3 . 1 .   T ra ini ng   da t a   s et   Fo r   th tr ain in g   o f   th class if icatio n   alg o r ith m ,   ac ce s s   was  r eq u ested   to   th e   d atab ase  o f   th Natio n al   Sleep   R esear ch   R eso u r ce   ( N SR R ) ,   wh ich   h as  a   r ep o s ito r y   o f   d ata  o n   s leep ,   b ased   o n   q u esti o n n air es   a n d   tr ials .   Fo u r   d atab ases   wer ac ce s s ed ap n ea   p o s itiv p r ess u r lo n g - ter m   ef f icac y   s tu d y ,   ap n ea ,   b ar iatr ic   s u r g er y ,   a nd  co n tin u o u s   p o s itiv air way   p r ess u r e   ( C PAP )   s tu d y ,   Mr OS  s leep   s tu d y ,   an d   NC s leep   Data B an k .   Af ter   r ev iewin g   t h f o u r   d atab ases ,   th v a r iab l es  r elev an to   th is   p r o ject  we r s elec ted   an d   ar e   d escr ib ed   in   T a b le  3 .   T h f in al   v er s io n   o f   th tr ain i n g   d ata b a s was m ad in   E x ce l w ith   th e   f o r m at  ' . c s v' .     Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J Ar tif   I n tell     I SS N:   2252 - 8 9 3 8       C la s s i fica tio n   a lg o r ith w ith   a r tifi cia l in tellig en ce   fo r   th d ia g n o s tic    ( Je h il V e n tu r a - Te cc o )   4525   T ab le  3 .   T r ai n in g   d ata  s et   N a me   D a t a   t y p e   D e scri p t i o n   n sr r i d   i n t 6 4   P a t i e n t   r e g i st r a t i o n   ID   n sr r _ a g e   i n t 6 4   A g e   n sr r _ se x   i n t 6 4   S e x   n sr r _ b mi   f l o a t 6 4   B o d y   mas s i n d e x   n sr r _ a h i _ h p 3 u   f l o a t 6 4   A p n e a - h y p o p n e a   i n d e x   n sr r _ t t l d u r sp _ f 1   i n t 6 4   S l e e p i n g   h o u r s   e ss_ t o t a l   i n t 6 4   Ep w o r t h   i n d e x   sn o r i n g   i n t 6 4   S n o r i n g   a r t e r i a l _ h y p e r t e n si o n   i n t 6 4   A r t e r i a l   h y p e r t e n si o n   d a y t i me _ sl e e p i n e ss   i n t 6 4   D a y t i me   sl e e p i n e ss   d i a g n o si s   O r i g i n a l l y   o b j e c t ,   t h e n   mo d i f i e d   t o   i n t 6 4   D i a g n o si s   o f   O S A       3. 3 . 1 .   T ra ini ng   Du r in g   th e   tr ain in g   p h ase  o f   th m o d el,   two   d if f er e n d ata  s ets  wer in co r p o r ated .   On was  co m p o s ed   u s in g   d ata  f r o m   t h NSR R ,   wh ile  th o th er   was  cr ea ted   with   in f o r m atio n   co ll ec ted   f r o m   s leep   clin ic  in   L im a,   Per u ,   d u r in g   t h f ir s q u ar ter   o f   2 0 2 3 ,   in v o l v in g   3 9   p atien ts .   Af ter   co m p letin g   th alg o r ith m   tr ain in g   p r o ce s s ,   th m o d el  g en er ates  DT .   I n   th is   tr ee ,   th m ain   v ar iab le  g u id in g   t h d iv is io n s   is   th e   E p wo r th   test   s co r e.   I f   th is   s co r is   less   th an   9 . 5 ,   th e   tr ee   b r a n ch es  to   th r ig h t.  I n   ca s th r esu lt  is   eq u al  to   o r   g r ea ter   th an   9 . 5 ,   th b i f u r ca t io n   o cc u r s   to   th lef t,  c o n s id er in g   ag as  th m ain   v a r iab le  in   th is   ca s e,   a s   illu s tr ated   in   Fig u r 3 .   Su b s eq u en tly ,   test   d ata  ar lo ad ed   to   p r ed ict  an d   class if y   th co n d itio n   o f   p atien ts ,   wh er 1   is   d iag n o s ed   with   OSA  an d   0   is   n o s u f f e r in g   f r o m   it.  I n   a d d itio n ,   t h ac cu r a cy   o f   th m o d el  is   ca lcu lated ,   an d   th c o n f u s io n   m atr ix   is   p r in ted .   Acc o r d in g   t o   T ab le  4 ,   we  ca n   s ee   th at  in   p r ed ictin g   n e g ativ e   OSA  ca s es  th alg o r ith m   h as  an   ac cu r a cy   o f   8 5 . 7 1 an d   r e ca ll  o f   4 6 . 1 5 %,  in   p r e d ictin g   p o s itiv OSA  ca s es,   th alg o r ith m   h as  an   ac cu r ac y   o f   7 8 . 1 2 an d   r ec all  o f   9 6 . 1 5 %.  W ith   th ese  r esu lts ,   th alg o r ith m   h as  an   ac cu r ac y   o f   7 9 . 4 9 %.  I n   Fig u r 4 ,   we  ca n   ap p r ec iate  th e   cr o s s in g   o f   th d ata  to   b e   p r e d i cted   v er s u s   w h at  is   b ein g   p r e d icted ,   in   th g r ap h   t h v alu 0   is   eq u iv alen to   n o t   h av in g   OSA  an d   1   is   eq u iv al en to   h av in g   it.  I n   r o 0 ,   to tal  o f   1 3   ca s es  wit h o u OSA  s h o u ld   h av b ee n   p r ed icted ,   6   p r e d ictio n s   wer co r r ec an d   7   wer wr o n g   s in ce   th ey   wer p r ed ict ed   with   n eg ativ d iag n o s is   o f   OSA,   b u t th ey   wer p o s itiv ca s es.  Fro m   r o 1 ,   2 6   ca s es with   OSA  s h o u ld   h av b ee n   p r ed icted ,   2 5   ca s es we r p r ed icted   c o r r ec tly ,   an d   o n ca s was w r o n g .           Fig u r 3 .   D ec is io n   tr ee   g r ap h       T ab le  4 .   T r ai n in g   r esu lts     P r e c i s i o n   R e c a l l   F1 - sc o r e   S u p p o r t   0   0 . 8 5 7 1   0 . 4 6 1 5   0 . 6 0 0 0   13   1   0 . 7 8 1 2   0 . 9 6 1 5   0 . 8 6 2 1   26   a c c u r a c y       0 . 7 9 4 9   39   mac r o   a v g   0 . 8 1 9 2   0 . 7 1 1 5   0 . 7 3 1 0   39   w e i g h t e d   a v g   0 . 8 0 6 5   0 . 7 9 4 9   0 . 7 7 4 7   39   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 2 5 2 - 8 9 3 8   I n t J Ar tif   I n tell Vo l.  1 4 ,   No .   6 ,   Dec em b er   2 0 2 5 4 5 2 0 - 4 5 3 2   4526       Fig u r 4 .   C o n f u s io n   m atr i x       4.   RE SU L T S AN D I SCU SS I O N   4 . 1 .     Resul t s   T h is   s tu d y   aim ed   to   d eter m in h o an   AI   class if icatio n   alg o r ith m   in f lu en ce s   th d iag n o s tic  p r o ce s s   o f   OSA .   Acc o r d in g   to   t h th e o r y ,   th r ee   k ey   p er f o r m an ce   in d icato r s   ( KPI s )   wer d eter m in ed   th at  ar p r esen t   in   th d iag n o s tic  p r o ce s s .   Pre -   an d   p o s t - r esu lts   ar d etailed   in   in d icato r   1   ( KPI 1 )   to   k n o th d iag n o s tic   ac cu r ac y   o f   th clin ical  ev alu a tio n ,   in d icato r   2   ( KPI 2 )   to   m e asu r th d iag n o s tic  tim e,   an d   in d icato r   3   ( KPI 3 )   to   d eter m in th e   n u m b er   o f   test s   with   p o r tab le  m o n ito r s .     4 . 1 . 1.   I nd ica t o 1   ( K P I 1 )   I n   th is   s ec tio n ,   we  p er f o r m ed   d escr ip tiv an aly s is   o f   th i n d icato r   "d iag n o s tic  ac cu r ac y   o f   clin ical  ev alu atio n ".   T h c o n tr ast  was  m ad with   th co n f ir m atio n   o f   ca s es  o f   s u cc ess f u d iag n o s is   o f   OSA  wi th   th u s o f   clin ical  ass ess m en t,  as   s h o wn   in   T ab le  5 .   I n   t h p r etest,  m ea n   o f   0 . 7 4   was  o b tain ed   an d   f o r   th e   p o s ttes t,  it  was  0 . 8 2 .   I n   a d d itio n ,   in   Fig u r 5 ,   we  ca n   s ee   th at  in   th p r etest  th er is   p e r c en tag f r e q u en c y   o f   7 4 . 4 o f   s u cc ess f u d iag n o s es  with o u th u s o f   PS G,   an d   in   th p o s ttes 8 2 . 1 o f   s u cc ess f u d iag n o s es   with   th u s o f   th alg o r ith m .   At  th s am tim e,   d iag n o s tic  er r o r s   d ec r ea s ed   f r o m   2 5 . 6 in   th p r etest  to   1 7 . 9 in   th p o s ttes t.  T h ese  r esu lts   s h o an   in cr ea s o f   1 0 . 8 1 in   th d iag n o s tic  ac cu r ac y   o f   th clin ical   ev alu atio n .   R eg ar d in g   th h y p o th esis   test ,   Mc Nem ar 's   test   wa s   ap p lied   f o r   q u alitativ v ar iab les.    s ig n if ican ce   lev el   o f   0 . 5 0 8   was  o b tain ed ,   wh ich   is   g r ea ter   th an   t h s ig n if ican c lev el  o f   0 . 0 5 ,   th er ef o r e,   th n u ll  h y p o t h esis   ( H0 )   is   ac ce p ted ,   an d   t h alter n ati v h y p o t h esis   ( H1 )   is   r ejec ted .   T h er ef o r e,   a   class if icatio n   alg o r ith m   with   AI   d o es  n o s ig n if ican tly   in f l u en ce   th clin i ca ev alu atio n   o f   p atien ts   with   s u s p ec ted   OSA  in   L im a - Per u ,   as sh o wn   in   T ab le  6 .           Fig u r 5 .   B ar   ch a r t o f   p r a n d   p o s o f   KPI 1 : d ia g n o s is   ac cu r a cy   o f   clin ical  ev alu atio n   Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J Ar tif   I n tell     I SS N:   2252 - 8 9 3 8       C la s s i fica tio n   a lg o r ith w ith   a r tifi cia l in tellig en ce   fo r   th d ia g n o s tic    ( Je h il V e n tu r a - Te cc o )   4527   T ab le  5 .   I n d icato r   1   f r e q u en c y   d ata           P r e _ C o n f i r ma t i o n   P o st _ C o n f i r ma t i o n   N   V a l i d   39   39     Lo st   0   0   M e d i a     0 . 7 4   0 . 8 2   M e d i a n     1   1   F a sh i o n     1   1   S t a n d a r d   d e v i a t i o n     0 . 4 4 2   0 . 3 8 9   V a r i a n c e     0 . 1 9 6   0 . 1 5 1   M i n i m u m     0   0   M a x i m u m     1   1   S u m     29   32   P e r c e n t i l e s   25   0   1     50   1   1       75   1   1       T ab le  6 .   Sp ec if ic  h y p o th esis   test   1       P r e _ C o n f i r ma t i o n   a n d   P o st _ C o n f i r ma t i o n   N   39   Ex a c t   si g n i f i c a n c e   ( b i l a t e r a l )   . 5 0 8 b   a.  M c N e mar  t e s t   b .   B i n o mi a l   d i st r i b u t i o n   u s e d       4 . 1. 2 .   I nd ica t o 2   ( K P I 2 )   Acc o r d in g   to   th e   r esu lts   in   Fig u r 6 ,   th e   s ig n if ican ce   le v el  in   th e   p r etest  was  0 . 0 5 0   an d ,   i n   th e   p o s ttes t,  it wa s   0 . 0 2 1 ,   in   th is   ca s e,   o n o f   th v alu es d id   n o ex ce ed   0 . 0 5 ,   s o   we  ca n   af f ir m   th at  th d ata  d o   n o t   f o llo a   n o r m al  d is tr ib u tio n .   T h er e f o r e,   th e   W ilco x o n   te s is   u s ed   f o r   h y p o th esis   test in g .   As  s h o w n   in     T ab le  7 ,   af ter   ap p ly in g   f o r   th W ilco x o n   test ,   s ig n if ican ce   lev el  o f   0 . 0 0 1   was  o b tain ed ,   s o   th alter n ativ h y p o th esis   ( H1 )   is   ac ce p ted ,   an d   th n u ll  h y p o th esis   ( H0 )   is   r ejec ted .   T h er ef o r e,   class if icatio n   alg o r ith m   with   AI   s ig n if ican tly   in f lu en c es  th u s o f   PS in   p atien ts   with   s u s p ec ted   OSA  in   L im a - Per u .   I n   a d d itio n ,   Fig u r 7   d etails  th p r an d   p o s KP I 2 d iag n o s tic  tim e.   Ac co r d in g   to   th r esu lts ,   in   th p r etest,  m ea n   o f   1 2 . 8 5   was o b tain e d   an d   f o r   th p o s t - test ,   it wa s   9 . 2 3 .   W ith   th ese  r esu lts ,   2 8 . 1 7 % d ec r ea s in   d iag n o s tic  tim is   o b s er v ed .           Fig u r 6 .   No r m ality   p lo o f   in d icato r   2       T ab le  7 .   Sp ec if ic  h y p o th esis   co n tr ast 2       P o st _ T i me   a n d   P r e _ Ti m e   Z   - 4 . 4 0 4 b   S i g .   a s i n .   ( b i l a t e r a l )   < . 0 0 1   a .   W i l c o x o n   si g n e d - r a n k   t e s t   b .   I t   i s   b a se d   o n   p o s i t i v e   r a n g e s .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I SS N :   2 2 5 2 - 8 9 3 8   I n t J Ar tif   I n tell Vo l.  1 4 ,   No .   6 ,   Dec em b er   2 0 2 5 4 5 2 0 - 4 5 3 2   4528       Fig u r 7 .   B ar   ch a r t o f   p r a n d   p o s o f   KPI 2 : th d iag n o s tic  tim e       4 . 1. 3 I nd ica t o 3   ( K P I 3 )   Fo r   in d icato r   3 ,   wh ich   m ea s u r es  th n u m b er   o f   test s   wi t h   p o r tab le  m o n ito r s   f o r   th d iag n o s is   o f   OSA  in   p atien ts ,   th n o r m ality   test   was  p er f o r m ed   as  s h o wn   in   Fig u r 8 .   Acc o r d in g   t o   th r esu lts ,   in   th e   p r etest,  lev el  o f   0 . 0 5 8   was  o b tain ed   an d   in   th p o s ttes t,  it  was  0 . 1 0 5 ,   s in ce   b o th   v alu es  d id   n o e x ce ed   0 . 0 5 ,   we  ca n   af f ir m   th at  th e   d ata  d o   n o f o llo a   n o r m al  d is tr i b u tio n .   T h er ef o r e,   t h W ilco x o n   test   is   u s ed   f o r   h y p o th esis   test in g .   Acc o r d in g   to   T ab le  8 ,   u s in g   th W ilco x o n   test ,   s ig n if ican ce   lev el  o f   0 . 0 0 1   was  o b tain e d ,   th er ef o r e,   th e   alter n ativ h y p o th esis   ( H1 )   is   ac ce p ted ,   an d   th n u ll  h y p o th esis   ( H0 )   is   r e jecte d .   T h er e f o r e,   a   class if icatio n   alg o r ith m   with   AI   s ig n if ican tly   in f lu e n ce s   th u s o f   p o r ta b le  m o n ito r s   in   p atien ts   with   s u s p ec ted   OSA  in   L im a - Per u .   Fo r   KPI 3 ,   wh ich   m ea s u r es  th n u m b er   o f   test s   r eq u ested   f o r   th e   d iag n o s is   o f   OSA,   m ea n   p r etest  o f   8 . 6 4   was  ac h iev ed   an d   f o r   th p o s t - test ,   it  wa s   6 . 5 6 .   T h ese  r esu lts   s h o d ec r ea s o f   2 4 . 0 7 % in   th n u m b er   o f   test s   r eq u ested   with   p o r tab le  m o n ito r s ,   as sh o wn   in   Fig u r 9 .           Fig u r 8 .   No r m ality   p lo o f   in d icato r   3       T ab le  8 .   Sp ec if ic   h y p o th esis   test   3       P o st _ Q u a n t i t y   a n d   P r e _ Q u a n t i t y   Z   - 5 . 8 8 9 b   S i g .   a s i n .   ( b i l a t e r a l )   < . 0 0 1   a .   W i l c o x o n   si g n e d - r a n k   t e s t   b .   I t   i s   b a se d   o n   p o s i t i v e   r a n g e s .     Evaluation Warning : The document was created with Spire.PDF for Python.
I n t J Ar tif   I n tell     I SS N:   2252 - 8 9 3 8       C la s s i fica tio n   a lg o r ith w ith   a r tifi cia l in tellig en ce   fo r   th d ia g n o s tic    ( Je h il V e n tu r a - Te cc o )   4529       Fig u r 9 .   B ar   ch a r t o f   p r a n d   p o s o f   KPI   3 n u m b e r   o f   test s   with   p o r tab le  m o n ito r s       4 . 2 .   Dis cus s io n   T h r esu lts   o b tain ed   in   th is   s tu d y   r ev ea m o d er ate   im p r o v em en o f   1 0 . 8 1 in   clin ical  d iag n o s tic   ac cu r ac y ,   wh ich   co n tr asts   wi th   p r ev io u s   s tu d ies,  s u ch   as  th at  o f   [ 3 4 ] ,   wh e r an   in cr e ase  in   ac cu r ac y   o f   1 7 . 5 6 %   was  r ep o r ted   wh en   u s in g   ML   m o d els  i n   a   d atas et  co m p o s ed   o f   8 3   p atien ts   with   m ea n   a g o f     4 7   y ea r s .   T h is   d is cr ep an c y   co u ld   b d u to   s ev e r al  f ac to r s ,   i n clu d in g   d if f er e n ce s   in   th d atasets   u s ed ,   s u ch   as   s am p le  s ize,   p atien d iv er s ity ,   an d   ca s s ev er ity .   I is   p o s s ib le  th at  clin ical  d ata  f r o m   p atien ts   with   m o r e   h eter o g en e o u s   ch a r ac ter is tics   o r   with   d if f er en t   d is tr ib u t io n   o f   d is ea s s ev er ity   wer e   u s ed   in   o u r   s tu d y ,   wh ich   co u l d   ex p lain   a   less   p r o n o u n ce d   im p r o v e m en t.  Als o ,   th m eth o d   a p p lied   f o r   alg o r ith m   d ev el o p m en t   in   th is   s tu d y   m ay   h av in f l u en ce d   th r esu lts .   W h ile  s tu d ies  s u ch   as  [ 3 2 ]   o b s er v ed   r e d u ctio n s   in   d iag n o s tic  tim b etwe en   3 8 . 1 6 an d   5 1 . 8 1 % ,   h er r ed u ctio n   o f   2 8 . 1 7 %   was  ac h iev ed .   I is   im p o r ta n to   n o te  th at  th alg o r ith m s   u s ed   i n   [ 3 2 ]   wer e   b ased   o n   d if f er e n ML   a p p r o a ch es,  s o m o f   wh ich   m a y   h a v b ee n   m o r r o b u s t   o r   in teg r ate d   m o r h is to r ical  d ata,   p o s s ib ly   f ac ilit atin g   a   g r ea ter   r ed u ctio n   in   d iag n o s tic  tim e.   I n   c o n tr ast,  in   o u r   s tu d y ,   th alg o r ith m ic  a p p r o ac h   was  m o r co n s er v ativ an d   f o cu s ed   o n   im p r o v in g   d iag n o s tic  ac cu r ac y   with o u s ig n if ican tly   in cr ea s i n g   c o m p u tatio n al  c o m p lex ity .   I n   ad d itio n ,   wh en   an aly zin g   th u s o f   p o r ta b le   m o n ito r s ,   t h is   s tu d y   r ep o r ted   a   2 4 . 0 7 r e d u ctio n   in   th n u m b er   o f   test s   r eq u ir ed ,   wh ich   p a r tly   co in ci d es  with   th f in d in g s   o f   [ 3 3 ] ,   wh e r 9 5 ef f ec tiv en ess   was  o b s er v ed   in   th u s o f   th ese  d ev i ce s   co m p ar ed   with   tr ad itio n al  PS G.   Ho wev er ,   p o s s ib le  ex p lan atio n   f o r   th d if f er en ce s   lies   in   th f ac th at  s t u d ies  s u ch   as  [ 3 3 ]   u s ed   m o r ad v a n ce d   m o n ito r in g   eq u ip m e n o r   ap p lied   m o r r ig o r o u s   ev alu atio n   cr iter ia.   T h er ef o r e ,   it  is   s u g g ested   th at  th r esu lts   o f   t h is   s tu d y   co u ld   b im p r o v ed   b y   in teg r atin g   m o r ac cu r ate  d ev ices  an d   ap p ly in g   h y b r id   ap p r o ac h es  th at  c o m b in b o th   al g o r ith m ic  a n aly s is   an d   clin ical  ex p er ien ce .   Fin ally ,   alth o u g h   n o   s tu d ies  wer id en tifie d   th at  ex p licitly   ad d r ess ed   th r elatio n s h ip   b etwe en   r e d u ce d   d iag n o s tic  tim an d   th u s o f   p o r tab le  m o n ito r s ,   r esear c h   s u ch   as  th at  o f   [ 3 2 ]   s u g g ests   th at  th in teg r atio n   o f   m o r s o p h is ticated   d ata   co llectio n   m eth o d s   an d   m o r e   ad v an ce d   m o d els  co u l d   g e n er ate  an   e v en   g r ea ter   r ed u cti o n   in   th tim a n d   n u m b er   o f   test s   r eq u ir ed .   T h is   r ein f o r ce s   th im p o r tan ce   o f   ex p l o r in g   m o r a d v an ce d   ML   m eth o d s   an d   co n s id er in g   m o r d iv er s d ata b ases   to   ac h iev b etter   r esu lts   in   f u tu r e   s tu d ies.       5.   CO NCLU SI O N   T h p r esen s tu d y   h as  d e m o n s tr ated   th at  th im p lem e n tatio n   o f   a   class if icatio n   alg o r ith m   with   AI   ca n   in f lu en ce   th d iag n o s tic  p r o ce s s   o f   OSA  in   L im a,   Per u .   Up o n   r e v iew  o f   th e   r esu lts ,   it  was  o b s er v ed   th at   th alg o r ith m   h a d   lim ited   im p ac o n   th ac cu r ac y   o f   cli n ical  d iag n o s is ,   with   an   im p r o v em en o f   1 0 . 8 1 %.  Ho wev er ,   s ig n if ican r e d u cti o n   in   th tim r eq u ir e d   f o r   d ia g n o s is   was  ac h iev ed ,   with   d ec r ea s o f   2 8 . 1 7 %.  T h is   f ac in d icate s   p o s itiv im p ac o f   th alg o r ith m   i n   th is   asp ec t.  L ik ewise,   an   im p r o v e m en in   th e   ef f icien cy   o f   r eq u esti n g   test s   with   p o r tab le   m o n ito r s   was  o b s er v ed ,   with   d ec r ea s o f   2 4 . 0 7 in   th n u m b e r   o f   r e q u ests   m ad e.   Ho wev e r ,   th an aly s is   o f   th e   co n f u s io n   m atr ix   r ev ea led   d i f f icu lties   o f   th e   alg o r ith m   in   r u lin g   o u f alse  p o s itiv es  in   th d iag n o s is   o f   OSA,   wh ic h ,   c o u p led   with   th lim itatio n s   o f   th tr ain in g   d ataset,   co n s tr u cted   f r o m   m u ltip le  d atab ases ,   in d icate s   th n ee d   to   ex p lo r o th e r   ML   tech n iq u es   an d   im p r o v d ata   q u ality   to   o p tim ize  m o d el  p er f o r m an ce .   T o   d ev elo p   f u tu r s tu d ies,  it  wo u ld   b ess en tial  to   co n d u ct  ad d itio n al  r esear ch   th at  f o cu s es  o n   e x p a n d in g   a n d   d iv er s if y in g   th d a tasets   u s ed   to   tr ain   th alg o r i th m ,   en s u r in g   th at  th ey   ar r ep r esen tativ o f   th p o p u latio n   an d   clin ical  c o n d itio n s   s p ec if ic  to   th r eg i o n .   I n   a d d itio n ,   th e   Evaluation Warning : The document was created with Spire.PDF for Python.