I n d on e s i a n  Jo u r n al  of   E l e c t r i c al  E n g i n e e r i n g a n d  C om p u t e r  S c i e n c e   V ol .   3 9 , N o.   2 ,  A ug us t   2025 , pp.  1 411 ~ 1 420   I S S N :  2502 - 4752, D O I :  10.11591/ i j e e c s . v 3 9 .i 2 . pp 1 411 - 1 420           1411     Jou r n al  h om e page :  ht t p: / / i j e e c s .i ae s c or e .c om   H a n d l i n g  m i ss i n g  val u e s a n d  c l u st e r i n g  i n d u st r i a l  l i q u i d   w ast e   u si n g K - m e d o i d s       R at i h  H af s ar a h  M ah ar r an i 1 ,  P r i h  D i an t o n o A b d a’ u 2 ,  G an j ar  N d ar u  I k h t i agu n g 3 , N u r   Wah y u  R ah a d i 2 ,  Z a e n u r r oh m an 4   1 C ybe r s e c ur i t y  E ng i n e e r i ng ,   D e pa r t m e nt   of   C o m put e r   a n d  B us i n e s s ,   C i l a c a p  S t a t e   P ol yt e c hn i c ,   C i l a c a p,   I n d o n e s i a   2 I nf or m a t i c s   E ng i n e e r i ng,   D e pa r t m e n t   o f   C om p ut e r   a nd  B us i n e s s ,   C i l a c a p  S t a t e   P ol yt e c hni c ,   C i l a c a p,   I n do n e s i a   3 S h a r i a   F i n a n c i a l   I n s t i t ut i o n   A c c ount i ng,   D e pa r t m e n t   of   C o m put e r   a n d  B us i n e s s ,   C i l a c a p  S t a t e   P ol yt e c hn i c ,   C i l a c a p,   I n do n e s i a   4 E l e c t r i c a l   E ngi n e e r i ng,   D e pa r t m e n t   of   E l e c t r i c a l   E ng i n e e r i ng   a n d  M e c h a t r o ni c s ,   C i l a c a p  S t a t e   P ol yt e c hni c ,   C i l a c a p,   I n do n e s i a       A r t i c l e  I n f o     A B S T R A C T     A r t i c l e  h i s t o r y :   R e c e i v e d  D e c   24 ,  2024   R e v i s e d  M a r   30 ,  2025   A c c e pt e d  J ul   2 ,  2025       T h e   tex ti l e   i n d u s tr y   i s   a   s i g n i f i c a n t  c o n tr i b u to r   to   e n v i r o n m e n tal   p o l l u ti o n   d u e   to   i ts   wa s tew a ter ,   wh ich   c o n tai n s   h a z a r d o u s   s u b s ta n c e s   s u c h   a s   d y e s ,   h e a v y   m e tal s ,   a n d   c h e m i c a l s   th a t  c a n   s e v e r e l y   h a r m   a q u a ti c   e c o s y s tem s .   E f f e c t i v e   m a n a g e m e n t  o f   th i s   wa s tew a ter   i s   c r u c i a l   to   m i ti g a te  i ts   e n v i r o n m e n tal   i m p a c t.   T h i s   s tu d y   f o c u s e s   o n   c l a s s i f y i n g   i n d u s tr i a l  li q u i d   wa s te  d a ta  u s i n g   th e   K - m e d o i d s   c l u s ter i n g   m e th o d ,   c h o s e n   f o r   i ts   r o b u s t n e s s   to   n o i s e   a n d   o u tl i e r s   c o m p a r e d   to   K - m e a n s .   T o   a d d r e s s   c h a ll e n g e s   i n   wa s tew a ter   d a ta  p r o c e s s i n g ,   s u c h   a s   m i s s i n g   v a l u e s   a n d   v a r y i n g   d a ta  s c a l e s ,   two   a p p r o a c h e s   a r e   c o m p a r e d :   r e p l a c i n g   m i s s i n g   v a l u e s   w i th   z e r o   a n d     K - n e a r e s t  n e i g h b o r s   ( KN N)   i m p u tati o n ,   a l o n g s i d e   Z - s c o r e   n o r m a l iza t i o n   f o r   d a ta  u n i f o r m i ty .   T h e   c l u s ter i n g   q u a li ty   i s   e v a l u a ted   u s i n g   th e   Da v i e s - B o u l d i n   i n d e x   ( DB I )   f o r   c l u s ter   v a r i a t i o n s   o f   k = 2 ,   3 ,   4 ,   a n d   5 .   T h e   r e s u l ts   s h o w  th a t  t h e   b e s t  c l u s ter i n g   q u a l i ty   i s   a c h i e v e d   a t  k = 2 ,   w i th   th e   s m a l l e s t   DB I   v a l u e s   o b tai n e d   u s i n g   KN N  i m p u tati o n   ( 0 . 1 3 9 )   a n d   z e r o   r e p l a c e m e n t  ( 0 . 1 4 9 ) .   T h e   s u p e r i o r   p e r f o r m a n c e   o f   KN N  i m p u tati o n   h i g h li g h ts   i ts   e f f e c t i v e n e s s   i n   h a n d l i n g   m i s s i n g   d a ta.   T h e s e   f i n d i n g s   p r o v i d e   v a l u a b l e   i n s ig h ts   i n to   th e   c h a r a c ter i s t i c s   o f   tex t il e   i n d u s tr y   wa s tew a ter   p o l l u t i o n ,   o f f e r i n g   a   r o b u s t  f r a m e wo r k   f o r   e f f e c t iv e   wa s tew a te r   m a n a g e m e n t.   T h e   s tu d y   c o n c l u d e s   wi th   p r a c t i c a l   r e c o m m e n d a ti o n s   f o r   p o l icy m a k e r s   a n d   i n d u s tr y   s tak e h o l d e r s   to   a d o p t  a d v a n c e d   d a ta - d r i v e n   a p p r o a c h e s   f o r   s u s tai n a b l e   wa s tew a ter   tr e a tm e n t  s tr a teg i e s .   K e y w or d s :   I ndus t r i a l  l i qui d w a s t e   K - m e doi d   K N N  i m put a t i on   R e pl a c e   m i s s i ng   v a l ue s   Z - s c or e  nor m a l i z a t i on   T h i s   i s   a n   o p e n   a c c e s s   a r ti c l e   u n d e r   th e   C C   B Y - SA   l i c e n s e .     C or r e s pon di n g A u t h or :   R a t i h H a f s a r a h M a h a r r a ni   C y be r s e c ur i t y  E ng i ne e r i ng , D e pa r t m e nt  of  C om put e r  a nd B us i ne s s ,  C i l a c a p S t a t e  P o l y t e c h ni c   C i l a c a p, C e nt r a l  J a v a ,  I ndone s i a   E m a i l :  r a t i h.ha f s a r a h@ pnc .a c .i d       1.   I N T R O D U C T I O N     E f f l ue nt ,  pa r t i c ul a r l y   f r o m   t he   t e xt i l e   i ndus t r y ,  r e pr e s e nt s   a   c r i t i c a l   e n v i r on m e nt a l   i s s ue   w i t h   s i g ni f i c a nt   g l oba l   i m pl i c a t i ons .  T h e   t e xt i l e   i ndus t r y   pr oduc e s   w a s t e w a t e r   c ont a i ni ng   ha z a r dous   s ubs t a nc e s   s uc h  a s   s y nt he t i c   dy e s ,  he a v y   m e t a l s ,  a nd  ot he r   c he m i c a l s ,  w hi c h  c a n  s e v e r e l y   pol l ut e   a qu a t i c   e c os y s t e m s   i f   not   m a n a g e d  pr ope r l y   [ 1] .  T hi s   t y p e   of   w a s t e   not   onl y   t hr e a t e ns   a qua t i c   bi odi v e r s i t y   but   a l s o  pos e s   r i s ks   t o   hum a n  he a l t h,  pr i m a r i l y  t hr oug h  t he   c ont a m i na t i on  o f   dr i nki ng  w a t e r   a nd  t he   f ood  c ha i n  [ 2] .   A c c or di n g   t o  a   U ni t e d  N a t i ons   r e por t ,  m or e   t ha n  80%   of   i ndus t r i a l   w a s t e w a t e r   i s   di s c ha r g e d  i nt o  r i v e r s   a nd  oc e a ns   w i t hout   a de qua t e   t r e a t m e nt ,  l e a di ng   t o  e n v i r on m e nt a l   pol l ut i on  a nd  c ont r i b ut i ng   t o  a ppr oxi m a t e l y   50%   of   g l oba l   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I S S N :   2502 - 4752   I ndone s i a n J  E l e c  E n g  &  C om p S c i ,  V ol .  3 9 , N o.  2 ,   A ug us t   20 25 :   1 411 - 1 420   1412   c hi l d  de a t hs   due   t o  w a t e r - r e l a t e d  di s e a s e s   [ 3] .  C ons e que nt l y ,   e f f e c t i v e   e f f l ue nt   m a na g e m e nt   ha s   be c o m e   a   pr i or i t y  t o s a f e g u a r d bot h t he  e n v i r on m e nt  a nd publ i c  he a l t h.   T o  a ddr e s s   t hi s   i s s ue ,  v a r i ous   a ppr oa c he s   ha v e   be e n  e m pl o y e d,  pa r t i c ul a r l y   t hr oug h  t he   a ppl i c a t i on  of   da t a   a na l y s i s   t e c hni que s   s uc h  a s   da t a   m i ni ng   a nd  m a c hi ne   l e a r ni ng .  T he s e   t e c h ni que s   e na bl e   t he   i de nt i f i c a t i on  of   pa t t e r ns   a nd  c ha r a c t e r i s t i c s   i n  e f f l ue nt   da t a ,   w hi c h  c a n  be   us e d  t o  opt i m i z e   w a s t e w a t e r   t r e a t m e nt   a nd  di s pos a l   pr oc e s s e s .  M e t hods   s uc h  a s   c l us t e r i ng   a nd  c l a s s i f i c a t i on  ha v e   p r o v e n  e f f e c t i v e   i n   c a t e g or i z i ng   a nd  pr e di c t i ng   w a s t e   t y pe s   ba s e d  on  pa r a m e t e r s   l i ke   pH ,  B O D   ( bi oc he m i c a l   oxy g e n  de m a nd ) ,   C O D   ( c he m i c a l   oxyge n  de m a nd ) ,  a nd  h e a v y  m e t a l   c onc e nt r a t i ons   [ 4] .  T o  a ddr e s s   t hi s   i s s ue ,  v a r i ous   a ppr oa c he s   ha v e   be e n  e m pl oye d,  pa r t i c ul a r l y   t hr oug h  t he   a ppl i c a t i on  of   da t a   a na l y s i s   t e c hn i que s   s uc h   a s   da t a   m i ni n g   a nd  m a c hi ne   l e a r ni n g .  T h e s e   t e c hni que s   e na bl e   t he   i de nt i f i c a t i on   of   pa t t e r ns   a nd   c ha r a c t e r i s t i c s   i n  e f f l ue nt   da t a ,  w hi c h  c a n  be   us e d  t o  opt i m i z e   w a s t e w a t e r   t r e a t m e nt   a nd  di s pos a l   pr oc e s s e s .  M e t hods   s uc h  a s   c l us t e r i ng   a nd  c l a s s i f i c a t i on  ha v e   pr o v e n  e f f e c t i v e   i n  c a t e g or i z i n g   a nd  pr e di c t i ng  w a s t e   t y pe s   ba s e d  o n   pa r a m e t e r s   l i ke   pH ,  B O D ,  C O D ,  a nd  he a v y   m e t a l   c onc e nt r a t i ons   [ 5] .  H ow e v e r ,  a   s i g ni f i c a nt   c ha l l e ng e   i n   m a na g i n g   t e xt i l e   i ndus t r y   e f f l ue nt   l i e s   i n  t he   i nc o m pl e t e ne s s   of   da t a   a nd  t he   hi g h  v a r i a bi l i t y   of   e f f l ue nt   pa r a m e t e r s .  E f f l ue nt   da t a s e t s   of t e n  c ont a i n  m i s s i ng   v a l ue s   a nd  e xhi bi t   v a r y i ng   s c a l e s ,  w hi c h  c a n  c om pr o m i s e   t he   a c c ur a c y  of  a na l y t i c a l  r e s ul t s   [ 6] .    T hi s   s t udy   pr opos e s   t he   us e   of   t he   K - m e doi ds   a l g or i t h m   f or   c l us t e r i n g   w a s t e w a t e r   da t a .   P r i or   t o  c l us t e r i ng ,  t w o  m e t hods   f or   ha ndl i ng   m i s s i ng   da t a   w i l l   be   c om p a r e d:   K - ne a r e s t   ne i g h bor   ( K N N )   i m put a t i on   a nd  t he   r e pl a c e m e nt   of   m i s s i ng   v a l ue s   w i t h  z e r o.  A ddi t i ona l l y ,  da t a   nor m a l i z a t i on  us i ng   t he   Z - S c or e   m e t hod   w i l l   be   a ppl i e d  t o  e ns ur e   uni f or m i t y   i n  t he   s c a l e   of   v a r i a bl e s   [ 7] .  S e v e r a l   pr e v i ous   s t udi e s   ha v e   de v e l ope d   m e t hodol og i e s   f or   w a s t e w a t e r   d a t a   a na l y s i s .  F or   i n s t a nc e ,  r a ndo m   f or e s t   w a s   e m pl o y e d  t o  pr e di c t   s ur f a c e   w a t e r   qua l i t y   i n  I ndi a ,  de m ons t r a t i ng   s upe r i or   p e r f or m a nc e   c o m p a r e d  t o  m e t hods   s uc h  a s   a r t i f i c i a l   ne ur a l   ne t w or k  ( A N N )   a nd  s uppor t   v e c t or   m a c hi ne   ( S V M )   [ 8] .  F ur t he r m or e ,  g r a di e nt   boos t i ng ,  pa r t i c ul a r l y  C a t B oos t ,  w a s   i de nt i f i e d  a s   t he   opt i m a l   m ode l   f or   r e g r e s s i on  a na l y s i s   a nd  c l a s s i f i c a t i on  of   w a s t e w a t e r   da t a ,   a c hi e v i n g   a   pe r f e c t   r e c e i v e r   ope r a t i ng   c ha r a c t e r i s t i c -   a r e a   unde r   t he   c ur v e   ( R O C - A U C )   s c or e   of   1.0  [ 9] .  I n   t he   c on t e xt   of   c l us t e r i ng ,  A G N E S   ( a gg l o m e r a t i v e   ne s t i ng )   e xhi bi t e d  t he   hi g he s t   pe r f or m a nc e   w i t h  a   pur i t y  s c or e   of   0.955,  w hi l e   D B S C A N   pr o v e d  e f f e c t i v e   i n  ha ndl i ng   noi s y   da t a   [ 10] .  H o w e v e r ,  t h e s e   s t udi e s   di d  not   s pe c i f i c a l l y   a ddr e s s   t he   c ha l l e ng e s   of   m i s s i ng   da t a   ha ndl i ng   a nd  da t a   nor m a l i z a t i on  i n  t he   c on t e xt   of   c l us t e r i ng  t e xt i l e  i ndus t r y  e f f l ue nt . O t he r  r e l e v a nt  s t udi e s  ha v e  e xpl or e d i m put a t i on m e t hods  f or  w a t e r  qua l i t y  da t a .  F or   e xa m pl e ,  a   c o m pa r a t i v e   s t udy   e v a l ua t e d  v a r i ous   i m put a t i on  t e c hni que s ,  i nc l ud i n g   i n v e r s e   di s t a nc e   w e i g ht i n g  ( I D W ) ,  r a ndo m  f or e s t   r e gr e s s or   ( R F R ) , a nd K - ne a r e s t  ne i g hbor s  r e g r e s s or   ( K N N R ) , a nd f ound t ha t   o v e r   76%   of   i m put a t i on  r e s ul t s   w e r e   de e m e d   " s a t i s f a c t or y , "   w i t h  I D W   y i e l di ng   t he   b e s t   out c om e s   [ 11] .  S i m i l a r l y ,  a not he r   i n v e s t i g a t i on  e xa m i n e d  t he   e f f e c t i v e ne s s   of   i m put a t i on  t e c hni qu e s   i n  w a t e r   di s t r i but i on  s y s t e m s ,  c onc l udi ng   t ha t   t he   s uc c e s s   of   t he s e   t e c hni que s   he a v i l y   de pe nds   on  t he   s pe c i f i c   c a s e ,  t he   c hos e n  m e t hod,  t he   c hos e n  m e t hod,  a nd  t he   pa r a m e t e r s   of   t he   da t a s e t   [ 12] .   A ddi t i ona l l y ,  a   c o m pr e he ns i v e   r e v i e w   hi g hl i g ht e d  v a r i ou s   a ppr oa c he s   t o  ha ndl i ng   m i s s i ng   da t a   i n  e n v i r on m e nt a l   s t udi e s ,  e m pha s i z i ng   t he   i m por t a n c e  of  s e l e c t i n g  a ppr opr i a t e   m e t hods  t o pr e s e r v e  da t a  i nt e gr i t y   [ 13] .    T he   pr i m a r y   c ont r i but i on  of   t hi s   s t udy   i s   t o  c o m pa r e   t he   e f f e c t i v e ne s s   of   K N N   i m put a t i on  a nd  t he   r e pl a c e m e nt   of   m i s s i ng   v a l ue s   w i t h  z e r o  i n  t he   c ont e xt   of   c l us t e r i ng   w a s t e w a t e r   da t a .  T h e   r e s e a r c h  e m pl oy s   t he  K - m e doi ds  a l g o r i t h m  t o c l us t e r  e f f l ue nt  da t a  b a s e d on ke y  pa r a m e t e r s  s uc h a s  t e m p e r a t ur e , p H ,  B O D , a nd   c onduc t i v i t y .  T he   qua l i t y   of   t he   c l us t e r i ng   r e s ul t s   i s   t he n  e v a l ua t e d  us i ng   t he   D B I .  T he   obj e c t i v e s   of   t hi s   s t udy   a r e   t hr e e f ol d:   ( i )   t o  i de nt i f y  t he   m os t   e f f e c t i v e   m e t hod  f or   h a ndl i ng   m i s s i ng  da t a ,  ( ii )   t o  de v e l op  a n   a c c ur a t e   c l us t e r i n g   m ode l ,  a nd  ( iii )   t o  pr ov i de   a c t i ona bl e   r e c o m m e nda t i ons   f or   m or e   e f f i c i e nt   e f f l ue nt   m a na g e m e nt .  T he  pot e nt i a l  be ne f i t s  of  t hi s  r e s e a r c h i nc l ude   e nha nc i ng t he  e f f i c i e nc y  of   w a s t e w a t e r  t r e a t m e nt   pr oc e s s e s  i n i ndus t r i a l  s e t t i ng s , r e duc i ng  t he  e n v i r on m e nt a l  i m p a c t  of   pol l ut i on, a nd e s t a bl i s hi ng  a  f ounda t i on   f or  t he  de v e l op m e nt  of  a d v a nc e d  m e t hods  f or  e f f l ue nt  da t a  a na l y s i s .       2.   M E T H O D     T hi s   r e s e a r c h  ut i l i z e s   da t a   obt a i ne d  f r o m   K a gg l e   i n  C S V   f or m a t   a nd  pr oc e s s e s   i t   us i ng  m a c hi n e   l e a r ni ng   m e t hods .  T he   da t a s e t   c ons i s t s   of   2 0  a t t r i but e   c ol um ns   a nd  620  r ow s ,  a l t houg h  not   a l l   a t t r i bu t e s   a r e   us e d  i n  t he   da t a   pr oc e s s i ng .  O nl y   t hos e   a t t r i but e s   r e l a t e d  t o  t e xt i l e   i ndus t r y   w a s t e w a t e r   da t a   a r e   p r oc e s s e d   f ur t he r .  A s   s how n  i n  F i g ur e   1,  t hi s   s t a ge   of   t he   pr oc e s s   i s   r e f e r r e d  t o  a s   da t a   p r e p r oc e s s i ng .  A t   t hi s   s t a g e ,   i r r e l e v a nt   or   unne c e s s a r y   da t a   w i l l   be   r e m o v e d,  w hi l e   r e l e v a nt   da t a   w i l l   be   s e l e c t e d  f o r   us e   i n  t he   ne xt   s t e ps .   T he   w a t e r   qua l i t y  c a us a l   i nf e r e nc e   da t a s e t   i s   a   c o m pr e h e ns i v e   c ol l e c t i on  of   da t a   de s i g n e d   t o  e xpl or e   c a us a l   r e l a t i o ns hi ps   be t w e e n  v a r i ous   w a t e r   qua l i t y   pa r a m e t e r s   a nd  t he   f a c t or s   i nf l ue nc i ng   t he m .  T hi s   da t a s e t   t y pi c a l l y i nc l ude s  de t a i l e d i nf or m a t i on on w a t e r  pol l ut i on l e v e l s ,  e n v i r on m e nt a l  c ondi t i ons , a nd t he  e f f e c t s  of   hum a n  a c t i v i t i e s ,  s uc h  a s   i ndus t r i a l   di s c ha r g e   a n d  a g r i c ul t ur a l   r unof f ,  on  w a t e r   qua l i t y .  I t   s e r v e s   a s   a   c r i t i c a l   r e s our c e   f or   unde r s t a ndi ng   how   t he s e   v a r i a bl e s   i m pa c t   t he   he a l t h  a nd  s us t a i na bi l i t y   of   a qua t i c   e c os y s t e m s .   Evaluation Warning : The document was created with Spire.PDF for Python.
I ndone s i a n J  E l e c  E n g  &  C om p S c i     I S S N :   2502 - 4752         H andl i ng m i s s i ng v al ue s  an d  c l us t e r i ng i n d u s t r i al  l i qui d  w as t e   …  ( R at i h H af s ar ah M ahar r ani )   1413   H o w e v e r ,  t he   da t a s e t   m a y   c ont a i n  noi s e ,  e r r or s ,  i nc ons i s t e nc i e s ,  e xc e pt i ons ,  or   m i s s i ng   v a l ue s .  T he s e   i s s ue s   c a n  i nt r oduc e   c onf us i on  a nd i na c c ur a c i e s   dur i ng   t he   pa t t e r n  i de nt i f i c a t i on  pr oc e s s   i n   da t a  m i ni n g .  T o  a ddr e s s   m i s s i ng   v a l u e s , i m put a t i on m e t hods  w e r e  i m pl e m e nt e d.  I m put a t i on i s  one  of  t he   m e t hods  e m pl o y e d t o ha ndl e   m i s s i ng   v a l u e s  i n t he  da t a  by  pr o v i di n g  a n a c c ur a t e  e s t i m a t e  of  t hos e   v a l ue s   [ 14] ,  [ 15] .           F i g ur e  1. R e s e a r c h  s t a g e s       2.1.  H a n d l i n g  m i s s i n g d at a w i t h  K N N   i m p u t at i on   I n  t hi s   s t udy ,  K N N   i m put a t i on  w a s   e m pl o y e d  t o  ha ndl e   m i s s i ng   v a l ue s   due   t o  i t s   a bi l i t y   t o   pr oduc e   a c c ur a t e   e s t i m a t e s   by   l e v e r a g i ng   i nf or m a t i on  f r o m   t he   ne a r e s t   ne i g hbor s   i n  t he   f e a t ur e   s pa c e   [ 14] .  T hi s   t e c hni que   f i l l s   m i s s i ng   v a l ue s   by   c a l c ul a t i ng   t he   a v e r a ge   ( or   m od e )   of   t he   k  ne a r e s t   ne i g hb or s   w i t h  c o m pl e t e   v a l ue s ,  t he r e b y   m a i nt a i ni ng   t he   i nt e g r i t y   of   t he   da t a s e t   a nd  i m pr o v i n g   t he   pe r f or m a nc e   of   a na l y t i c a l   m ode l s   [ 16] .  T he   pr o c e s s   i n v ol v e s   t hr e e   s t e ps :   ( i )   c a l c ul a t i ng  t he   E uc l i de a n   di s t a nc e   be t w e e n   da t a   poi nt s   w i t h   m i s s i ng   v a l ue s   a nd  t he   r e s t   of   t he   da t a s e t ,  ( ii )   s e l e c t i ng   t he   K N N   w i t h  c om pl e t e   v a l ue s   ba s e d  on  t he   c a l c ul a t e d  di s t a nc e ,  a nd  ( iii )   i m put i ng   t he   m i s s i ng   v a l ue s   us i ng   t he   a v e r a ge   ( or   m ode )   of   t he   s e l e c t e d   ne i g hbor s .  T he  e f f e c t i v e ne s s  of   K N N   I m put a t i on w a s   e v a l ua t e d us i ng   r oot   m e a n s qua r e  e r r or   ( R M S E ) , w hi c h   m e a s ur e s   t he   a c c ur a c y   of   t he   i m put e d  v a l ue s   a nd  f a c i l i t a t e s   c om p a r i s ons   be t w e e n  m e t hods   [ 17] ,  [ 18] .  R M S E   s e r v e s  a s  a  c r i t i c a l   m e t r i c  f or  a s s e s s i ng  t he  p e r f or m a nc e  of  i m put a t i on t e c hni que s  i n a ddr e s s i ng   m i s s i ng   v a l u e   pr obl e m s .     2.2.  H a n d l i n g  m i s s i n g d at a  ( r e p l ac i n g m i s s i n g val u e s  w i t h  z e r o )   T he   s e c ond  m e t hod  i n v ol v e s   r e pl a c i ng   m i s s i ng   v a l ue s   w i t h  z e r o,  w he r e   e a c h  m i s s i ng   v a l ue   i n  e a c h   a t t r i but e   i s   s u bs t i t ut e d  w i t h  z e r o  w i t hout   c ons i de r i ng   t he   unde r l y i ng   da t a   di s t r i but i on   pa t t e r n  [ 19] .   W hi l e   t hi s   a ppr oa c h  i s   s i m pl e r ,  i t   m a y   i nt r oduc e   bi a s   i f   t he   m i s s i ng   v a l ue s   a r e   not   r a ndo m l y   di s t r i but e d.  T hi s   m e t hod  i s   pa r t i c ul a r l y  us e f ul  i n s c e na r i os   w he r e   c o m put a t i ona l  e f f i c i e nc y  i s  pr i or i t i z e d o v e r  pr e c i s i on.     2.3.  D at a  n or m al i z at i on   D a t a   nor m a l i z a t i on  w a s   pe r f or m e d  t o  e ns ur e   uni f or m i t y   i n  t he   s c a l e   of   t he   da t a ,  a v oi d  bi a s   i n  di s t a nc e  c a l c ul a t i ons , a nd i m p r o v e  t he  a c c ur a c y  of  i m put a t i on r e s ul t s . T he  Z - s c or e  nor m a l i z a t i on  m e t hod  w a s   a ppl i e d,  t r a ns f or m i n g   t he   da t a   i nt o  a   nor m a l   di s t r i but i on   w i t h  a   m e a n  of   0  a nd  a   s t a nda r d  d e v i a t i on  of   1  [ 20] ,  [ 21] . T he   f or m ul a  f o r  Z - s c or e  nor m a l i z a t i on i s  a s  f ol l ow s :     Z  =   ( − ) σ   ( 1)     w he r e   Z   i s   t he   nor m a l i z e d  v a l ue ,  X   i s   t he   or i g i na l   v a l ue ,  μ  i s   t he   m e a n  of   t he   da t a s e t ,  a nd  σ   i s   t he   s t a nda r d   de v i a t i on of  t he  da t a s e t .   F or   K N N   I m put a t i on,  nor m a l i z a t i on  w a s   pe r f or m e d   be f or e   i m put a t i on  be c a us e   K N N   r e l i e s   he a v i l y  on di s t a nc e   m e t r i c s   ( e . g ., E uc l i de a n or  M a nha t t a n)  t o c a l c ul a t e  pr oxi m i t y  b e t w e e n da t a  poi nt s . I f  t he  s c a l e s  o f   t he   v a r i a bl e s   di f f e r   s i g ni f i c a nt l y ,  v a r i a bl e s   w i t h  l a r g e r   s c a l e s   m a y   do m i na t e   t he   di s t a nc e   c a l c ul a t i on,  l e a di ng   t o  bi a s e d  i m put a t i on  r e s ul t s .  I n  c ont r a s t ,  f or   t he   m e t hod  of   r e pl a c i ng   m i s s i n g   v a l ue s   w i t h  z e r o,  nor m a l i z a t i on   w a s  a ppl i e d   a f t e r   i m put a t i on t o e ns ur e  a l l  da t a  poi nt s  ( i nc l udi ng  i m put e d  v a l ue s )   w e r e  on t he  s a m e  s c a l e .   Evaluation Warning : The document was created with Spire.PDF for Python.
                      I S S N :   2502 - 4752   I ndone s i a n J  E l e c  E n g  &  C om p S c i ,  V ol .  3 9 , N o.  2 ,   A ug us t   20 25 :   1 411 - 1 420   1414   2.4.  C l u s t e r i n g  w i t h   K - m e d oi d s  al gor i t h m   T he   K - m e doi ds   a l g o r i t hm   w a s   s e l e c t e d  f or   c l us t e r i ng   t he   w a s t e w a t e r   da t a   due   t o  i t s   r obu s t ne s s   i n  ha ndl i ng  noi s e  a nd out l i e r s   [ 22] .   U nl i ke   K - m e a ns ,  w hi c h us e s  c e nt r oi ds , K - m e doi ds  s e l e c t s  a c t ua l  da t a  poi nt s   ( m e doi ds )   a s   c l us t e r   r e pr e s e nt a t i v e s .  A   m e doi d  i s   t he   da t a   poi nt   w i t hi n  a   c l us t e r   t ha t   ha s   t he   m i ni m u m   t ot a l   di s t a nc e   t o  a l l   ot he r   poi n t s   i n  t he   c l us t e r ,  m a ki n g   i t   m or e   r e pr e s e nt a t i v e   a nd  l e s s   s e ns i t i v e   t o  out l i e r s     [ 23] – [ 25] . T h e   K - m e doi ds   c l us t e r i ng   pr oc e s s   be g i ns   w i t h  t he   i ni t i a l i z a t i on   s t e p,  w he r e   K - m e doi ds   a r e   r a ndo m l y  s e l e c t e d  f r o m   t he   da t a s e t .  N e xt ,  i n  t he   a s s i g n m e nt   s t e p,  e a c h   d a t a   poi nt   i s   a s s i g ne d  t o  t he   ne a r e s t   m e doi d us i ng  E uc l i de a n di s t a nc e , w hi c h i s  c a l c ul a t e d a s :     ( , ) =   ‖ − ‖   = √ ∑ ( − ) 2   ; 1 , 2 , 3 , … . = 1   ( 2)     w he r e   x   a nd   y   r e pr e s e nt   da t a   poi nt s ,  a nd   n   i s   t he   num be r   of   di m e ns i ons .  A f t e r   a s s i g ni n g  a l l   da t a   poi nt s   t o   t he i r   ne a r e s t   m e doi ds ,  t he   upda t e   m e doi ds   s t e p  i s   pe r f or m e d  b y   s e l e c t i ng   a   ne w   m e doi d  w i t hi n  e a c h  c l us t e r   t ha t   m i ni m i z e s   t he   t ot a l   di s t a nc e   t o   a l l   ot he r   p oi nt s   i n   t he   c l us t e r .  F i na l l y ,  t he   a l g or i t hm   i t e r a t e s   be t w e e n  t he   a s s i g n m e nt   a nd  upda t e   s t e ps   unt i l   t h e   m e doi ds   no  l ong e r   c ha n g e   or   a   pr e de f i ne d  s t oppi ng   c r i t e r i on  i s   m e t .   T hi s   i t e r a t i v e   pr oc e s s   e ns ur e s   t ha t   t he   c l us t e r s   a r e   op t i m i z e d  a nd  r e pr e s e nt a t i v e   of   t he   unde r l y i ng   da t a   s t r uc t ur e .     2. 5 .  C l u s t e r   e val u at i on   u s i n g D avi e s - B ou l d i n  i n d e x   T he  qu a l i t y  of  t h e  c l us t e r i ng   r e s ul t s  w a s  e v a l ua t e d us i ng t he  D B I . D B I   m e a s ur e s  t he  e f f e c t i v e ne s s  o f   c l us t e r i ng   b y   c a l c ul a t i ng   t he   r a t i o  of   w i t hi n - c l us t e r   s c a t t e r   t o  be t w e e n - c l us t e r   s e pa r a t i on.  A   l o w e r   D B I   v a l u e   i ndi c a t e s   w e l l - s e pa r a t e d  a nd  c o m pa c t   c l us t e r s ,  w hi l e   a   hi g he r   v a l ue   s ugge s t s   ov e r l a ppi ng   or   poor l y   de f i ne d  c l us t e r s   [ 26] .  T he  c a l c ul a t i on of  t he  D B I   v a l ue  c a n be   e xpr e s s e d a s  f ol l ow s :     D B I =     ∑ ≠ 1 = 1 (  +  )   ( 3)     w he r e :   S i   i s  t he  s i z e  ( v a r i a nc e )  of  c l us t e r   i,   d ij   i s  t he  di s t a nc e   be t w e e n c l us t e r  c e nt e r s   I  a nd   j,   a nd  n   i s  t he   num b e r  of  c l us t e r s .       3.   R E S U L T S  A N D  D I S C U S S I O N     3.1.  D at a  p r e p r oc e s s i n g   T he   i ni t i a l   s t a g e   of   t hi s  s t udy   i nv ol v e d  pr e pr oc e s s i ng   t he   r a w   da t a   t o  e ns ur e  i t s   s ui t a b i l i t y   f or   f ur t he r   a na l y s i s .  T he   da t a s e t ,  obt a i ne d  f r o m   K a gg l e ,  c ons i s t s   of   620  da t a   po i nt s   w i t h  v a r i ous   a t t r i but e s   r e l e v a nt   t o   i ndus t r i a l   w a s t e w a t e r   qua l i t y .  A s   i l l us t r a t e d  i n  F i g ur e   2,  onl y   s pe c i f i c   a t t r i but e s   w e r e   s e l e c t e d  f or   a na l y s i s ,   i nc l udi ng   t e m pe r a t ur e ,  di s s ol v e d  ox yg e n   ( D O ) ,  p H ,   c onduc t i v i t y ,   a nd  B O D .  T he s e   pa r a m e t e r s   w e r e   c hos e n   due   t o  t he i r   s i g ni f i c a nt   i m pa c t   on  w a t e r   qua l i t y   a nd  e n v i r on m e nt a l   he a l t h.  F or   i ns t a nc e ,  t e m pe r a t ur e   i nf l ue nc e s   c he m i c a l   r e a c t i ons   i n  w a s t e w a t e r ,  w i t h  hi g he r   t e m p e r a t ur e s   i ndi c a t i ng   t he r m a l   pol l ut i on   [ 27] .   S i m i l a r l y ,  D O   l e v e l s   s e r v e   a s   a   c r i t i c a l   i ndi c a t or   of   or g a ni c   pol l ut i on,  w hi l e   pH   a nd  c onduc t i v i t y   pr o v i d e   i ns i g ht s   i nt o t he   s ui t a bi l i t y   of   w a t e r   f or   a qua t i c   l i f e   [ 28] .  B O D   l e v e l s ,  on  t he   ot he r   ha nd,  r e f l e c t   t he   e xt e nt   of   or g a ni c   pol l ut i on,  w i t h  hi g he r   v a l u e s   i ndi c a t i ng   s t r on g e r   pol l ut i on  due   t o  a c c e l e r a t e d  ba c t e r i a l   g r o w t h  a n d   oxyg e n de pl e t i on  [ 29] .           F i g ur e  2 .   W a t e r  qua l i t y   d a t a s e t   Evaluation Warning : The document was created with Spire.PDF for Python.
I ndone s i a n J  E l e c  E n g  &  C om p S c i     I S S N :   2502 - 4752         H andl i ng m i s s i ng v al ue s  an d  c l us t e r i ng i n d u s t r i al  l i qui d  w as t e   …  ( R at i h H af s ar ah M ahar r ani )   1415   3.2.   H a n d l i n g  m i s s i n g val u e s  a n d   d at a n or m al i z at i on   T he   d a t a s e t   c ont a i ne d  m i s s i ng   v a l ue s ,  a s   i l l us t r a t e d  i n  T a bl e   1,  w hi c h  c oul d  a f f e c t   t he   a c c ur a c y   a n d   r e l i a bi l i t y   of   t he   a na l y s i s .  T o  a ddr e s s   t hi s ,  t w o   m e t hods   w e r e   a ppl i e d:   ( i )   r e pl a c i ng  m i s s i ng   v a l ue s   w i t h  z e r o   a nd  ( ii )   K N N   i m put a t i on.  K N N   i m put a t i on  w a s   c hos e n  f or   i t s   a bi l i t y   t o  e s t i m a t e   m i s s i ng   va l ue s   ba s e d  on  t he   ne a r e s t   ne i g hbor s ,  pr e s e r v i n g   t he   r e l a t i ons hi ps   be t w e e n  v a r i a bl e s .   A ddi t i ona l l y ,  Z - s c or e   nor m a l i z a t i on  w a s   a ppl i e d t o  r e s c a l e   t he   da t a ,  e ns ur i ng   t ha t   a l l   a t t r i bu t e s  ha d  a   m e a n  of   0  a nd  a   s t a nda r d de v i a t i on of   1  ( T a bl e   2) .   T hi s   s t e p  w a s   c r uc i a l   t o  pr e v e nt   a t t r i but e s   w i t h  l a r g e r   s c a l e s   f r o m   do m i na t i n g   t he   a na l y s i s ,  e s pe c i a l l y   i n   di s t a nc e - ba s e d  m e t hods  l i ke  K N N .       T a bl e  1. D a t a s e t  w i t h  m i s s i ng   v a l ue   No   T e m pe r a t u r e   ( M i n)   T e m pe r a t u r e   ( M a x)   D i s s ol ve d  o x y g e n   ( M i n)   D i s s ol ve d  o x y g e n   ( M a x)   pH   ( M i n)   pH   ( M a x)   C on duc t i vi t y  ( M i n)   C on duc t i vi t y  ( M a x)   B O D   ( M i n)   B O D   ( M a x)   1   24   27   3 . 2   6 . 5   7   8   245   5160   1 . 6   3 . 2   2   26   29   3   6 . 8   6 . 9   7 . 8   599   1179   1 . 9   4 . 6   3   18   24   4 . 2   6   7 . 2   8 . 2   28000   56900   2 . 4   2 . 8   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   77   24   32   6   6 . 8   7 . 1   7 . 8   N a N   N a N   8   16   78   21   31   7   7 . 2   7 . 1   7 . 8   N a N   N a N   2   2 . 8   …   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   110   20   30   5 . 4   8 . 2   7 . 3   8 . 4   413   1038   1   2 . 5   111   22   35   2 . 6   7 . 7   7 . 1   8 . 5   440   1360   8   29   112   N a N   N a N   6 . 2   7 . 8   7 . 2   8   289   812   3 . 5   4 . 5   113   N a N   N a N   3 . 9   7 . 2   7 . 6   8 . 2   329   488   3 . 2   4 . 8   114   20 . 4   32   6 . 5   7 . 2   7   7 . 9   860   1360   4   9   115   N a N   N a N   6 . 3   8   7   7 . 8   280   785   3 . 4   4 . 6   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   617   22 . 0   32 . 0   8 . 8   9 . 8   7 . 0   7 . 6   311 . 0   422 . 0   2 . 7   7 . 3   618   7 . 0   16 . 0   7 . 1   8 . 1   6 . 9   7 . 6   13 . 0   29 . 0   1 . 0   1 . 1   619   9 . 0   24 . 0   7 . 2   8 . 2   6 . 9   7 . 6   20 . 0   36 . 0   1 . 0   1 . 8   620   8 . 0   18 . 0   7 . 1   8 . 5   6 . 9   7 . 9   16 . 0   73 . 0   1 . 0   1 . 6   616   22 . 0   31 . 0   5 . 2   9 . 7   7 . 2   8 . 5   252 . 0   826 . 0   1 . 8   4 . 1       T a bl e  2. N or m a l i z a t i on Z - s c or e   No   T e m pe r a t u r e   ( M i n)   T e m pe r a t u r e   ( M a x)   D i s s ol ve d  o x y g e n   ( M i n)   D i s s ol ve d  o x y g e n   ( M a x )   pH   ( M i n)   pH   ( M a x)   C on duc t i vi t y  ( M i n)   C on duc t i vi t y  ( M a x)   B O D   ( M i n)   B O D   ( M a x)   1   0 . 47   - 0 . 38   - 0 . 26   - 0 . 04   - 0 . 04   - 0 . 06   - 0 . 22   0 . 48   - 0 . 39   - 0 . 36   2   0 . 90   0 . 17   - 0 . 34   0 . 08   - 0 . 04   - 0 . 47   - 0 . 03   - 0 . 13   - 0 . 32   - 0 . 31   3   - 0 . 82   - 1 . 20   0 . 18   - 0 . 24   - 0 . 04   0 . 35   14 . 30   8 . 39   - 0 . 19   - 0 . 37   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   77   0 . 47   0 . 99   0 . 97   0 . 08   - 0 . 04   - 0 . 47   N a N   N a N   1 . 19   0 . 07   78   - 0 . 17   0 . 72   1 . 41   0 . 24   - 0 . 04   - 0 . 47   N a N   N a N   - 0 . 29   - 0 . 37   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   110   - 0 . 39   0 . 44   0 . 71   0 . 64   - 0 . 04   0 . 75   - 0 . 13   - 0 . 15   - 0 . 54   - 0 . 38   111   0 . 04   1 . 82   - 0 . 52   0 . 44   - 0 . 04   0 . 96   - 0 . 12   - 0 . 10   1 . 19   0 . 51   112   N a N   N a N   1 . 06   0 . 48   - 0 . 04   - 0 . 06   - 0 . 20   - 0 . 18   0 . 08   - 0 . 31   113   N a N   N a N   0 . 05   0 . 24   - 0 . 04   0 . 35   - 0 . 17   - 0 . 23   0 . 00   - 0 . 30   114   - 0 . 30   0 . 99   1 . 19   0 . 24   - 0 . 04   - 0 . 26   0 . 10   - 0 . 10   0 . 20   - 0 . 16   115   N a N   N a N   1 . 11   0 . 56   - 0 . 04   - 0 . 47   - 0 . 20   - 0 . 19   0 . 05   - 0 . 31   116   - 1 . 68   - 1 . 47   2 . 03   1 . 25   - 0 . 04   - 0 . 06   - 0 . 25   - 0 . 25   - 0 . 54   - 0 . 43   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   ...   617   0 . 04   - 3 . 39   1 . 46   0 . 60   - 0 . 04   - 0 . 87   - 0 . 34   - 0 . 30   - 0 . 54   - 0 . 43   618   - 3 . 12   - 1 . 20   1 . 50   0 . 64   - 0 . 04   - 0 . 87   - 0 . 34   - 0 . 30   - 0 . 54   - 0 . 40   619   - 2 . 74   - 2 . 84   1 . 46   0 . 76   - 0 . 04   - 0 . 26   - 0 . 34   - 0 . 30   - 0 . 54   - 0 . 41   620   - 2 . 96   0 . 99   2 . 20   1 . 29   - 0 . 04   - 0 . 87   - 0 . 18   - 0 . 24   - 0 . 12   - 0 . 22       N or m a l i z a t i on  i s   i m por t a nt ,  c ons i de r i ng   t ha t   T a bl e   1  c ont a i ns   da t a   w i t h  l a r g e r   v a l ue   s c a l e s .  I f   t he   da t a   i s   not   nor m a l i z e d  be f or e   t he   i m put a t i on  pr oc e s s ,  i t   c a n  ne g a t i v e l y   i m p a c t   t he   r e s ul t i ng   R M S E   v a l ue .   W i t hout   nor m a l i z a t i on,  t he   K N N   m ode l   t e nds   t o  g i v e   m or e   w e i g ht   t o  a t t r i but e s   w i t h  l a r g e r   s c a l e s ,  w hi c h  c a n   l e a d t o l e s s  a c c ur a t e  pr e di c t i ons  a nd i nc r e a s e d  e s t i m a t i on e r r or .   A f t e r  t ha t , t he   e xi s t i ng  da t a s e t  c ont i nue s  w i t h   pr oc e s s i ng   u s i ng   K N N   i m put a t i on.  M e a n w hi l e ,  i n  t he   pr oc e s s   of   r e pl a c i n g   m i s s i ng   v a l ue s   w i t h  z e r o ,   nor m a l i z a t i on i s  pe r f or m e d  a f t e r  f i l l i ng  i n t he   v a l ue  of  0.         Evaluation Warning : The document was created with Spire.PDF for Python.
                      I S S N :   2502 - 4752   I ndone s i a n J  E l e c  E n g  &  C om p S c i ,  V ol .  3 9 , N o.  2 ,   A ug us t   20 25 :   1 411 - 1 420   1416   3.3.   K N N   i m p u t at i o n , r oot  m e an  s q u ar e  e r r or   T he   pr e s e n c e   of   m i s s i ng   da t a   i s   a   s e r i ous   pr obl e m ,  a s   i t   c a n  a f f e c t   t he   a c c ur a c y   of   d a t a - ba s e d   a na l y s e s   a nd  de c i s i ons .  T he r e f or e ,  i t   i s   ur g e nt   t o  pe r f or m   m i s s i n g   v a l ue   i m put a t i on  us i ng   t he   K N N   m e t hod.   T hi s   m e t hod not  onl y  he l ps  f i l l  i n t he   m i s s i ng   v a l ue s  b a s e d on t he  c l os e s t  r e l e v a nt  d a t a  but   a l s o  m a i nt a i ns  t he   i nt e g r i t y  a nd r e l a t i ons hi ps  be t w e e n  v a r i a bl e s  i n t he  da t a s e t .   F i g ur e   3  s how s   t he   pe r f or m a nc e   of   t he   K N N   m ode l   m e a s ur e d  us i ng   R M S E .  T he   m ode l   w a s   t e s t e d   w i t h  v a r i ous   v a l ue s   of   K ,   na m e l y   1,  5,  10,  15,  a nd   20,  t o  de t e r m i n e   t he   opt i m a l   v a l ue   of   K   t ha t   pr o v i de s   t h e   l ow e s t   pr e di c t i on  e r r or   i n  T a bl e   3.  W he n  K = 1,  t he   R M S E   w a s   0.884,  i n di c a t i ng   a   hi g h  e r r or   r a t e   due   t o  t he   K N N   m ode l ' s   s e ns i t i v i t y   t o  noi s e   a t   l ow   K   v a l ue s .  I n c r e a s i ng   K   t o  5  r e duc e d  t he   R M S E   t o   0.613,  i m pr o v i n g  pr e di c t i on  a c c ur a c y .   A t   K = 10  a nd  K = 15,  t he   R M S E   s t a bi l i z e d  a t   0.618  a nd  0.607,  r e s pe c t i v e l y ,  w i t h  K = 15   y i e l di ng   t he   l ow e s t   R M S E   a nd   t hus   t he   m os t   a c c ur a t e   pr e di c t i ons .  H o w e v e r ,  i nc r e a s i ng  K   t o  20  s l i g ht l y  r a i s e d  t he   R M S E   t o  0. 621,  s how i ng   t ha t   t oo  m a ny   ne i g hbor s   c a n  r e duc e   m ode l   a c c ur a c y .   T he r e f or e ,  K = 15   w a s  s e l e c t e d a s  t he  opt i m a l   v a l ue   f or  t he  ne xt  s t a g e .           F i g ur e  3 .   W a t e r  qua l i t y   d a t a s e t       T a bl e  3. V a l ue  R M S E   V a l ue   K   R M S E   1   0 . 884   5   0 . 613   10   0 . 618   15   0 . 607   20   0 . 621       3. 4 .  C l u s t e r i n g   K - m e d oi d s   A f t e r   t he   nor m a l i z a t i on  s t a g e ,  K N N   i m put a t i on  a nd  i m put a t i on  t e s t i ng   w i t h  R M S E   a r e   p e r f or m e d.   T he   ne xt   s t e p  i s   c l us t e r i ng   e xpe r i m e nt s   us i ng   t he   K - m e doi ds   m e t hod,  s t a r t i ng   w i t h  t e s t i ng   v a r i ous   v a l ue s   o f   K   ( t he   nu m b e r   of   g r oups )   f or   t he   D B I   t o  de t e r m i ne   t he   opt i m a l   nu m be r   of   c l us t e r s   f or   gr oupi ng   i ndus t r i a l   w a s t e .  D B I   i s   us e d  a s   a n   e v a l ua t i on  m e t r i c   t o  de t e r m i ne   t he   qua l i t y   of   t he   r e s ul t i ng   c l us t e r i ng .  I n  g e ne r a l ,  t he   l ow e r   t he   D B I   v a l ue ,  t he   be t t e r   t he   qua l i t y  of   t he   f or m e d  c l us t e r s ,  a s   i t   i ndi c a t e s   t ha t   t he   c l us t e r s   a r e   s i g ni f i c a nt l y  di s t a nt  f r o m  e a c h ot he r  a nd t ha t  t he  da t a  w i t hi n e a c h c l us t e r  i s   m or e  uni f o r m .   F r om   t he   r e s ul t s   i n  T a bl e s   4( a )   a nd  4( b) ,  i t   c a n  be   s e e n  t ha t   da t a   pr oc e s s i ng   w i t h  i m put a t i on  r e duc e s   t he   r e s ul t i ng   D B I   i nde x  v a l ue .  T hi s   i ndi c a t e s   t ha t   t he   K N N   I m put a t i on  m e t hod  i s   s upe r i or  a nd  c a n  be   us e d  i n   c o m pa r i s on  t o  da t a   w i t hout   i m put a t i on.  I n  a   s t udy ,  i m put a t i on  m e t hods   s uc h  a s   K N N   ha v e   be e n  s how n  t o   pr o v i de   be t t e r   r e s ul t s   i n  t e r m s   of   da t a   r e pr e s e nt a t i on  c o m pa r e d  t o  r e pl a c i ng   m i s s i ng   v a l ue s   w i t h  f i xe d  num b e r s ,  s uc h  a s   z e r o,  w hi c h  of t e n   do  not   r e f l e c t   t he   t r ue   c ondi t i on  of   t he   da t a   [ 30] .   T he   a na l y s i s   r e s ul t s   ba s e d on t he  t a bl e  s how  a   c o m pa r i s on of   t he  D B I  on t he  t e s t  da t a  us i ng  t w o a ppr oa c he s :   K N N   i m put a t i on a nd  r e pl a c i ng   m i s s i ng   v a l ue s   w i t h  z e r o.  I n  t he   K N N   i m put a t i on  a ppr oa c h  ( T a bl e   4 ( a ) ) ,  t he   be s t   ( l ow e s t )   D B I   v a l ue   i s   obt a i ne d  a t   K = 2,  w i t h  a n  i nde x  of   0.139 ,  i ndi c a t i ng  be t t e r   c l us t e r i n g   qua l i t y  t ha n  ot he r   K   v a l ue s .   M e a nw hi l e ,  i n  t he   a ppr oa c h  of   r e pl a c i ng   m i s s i ng   v a l ue s   w i t h  z e r o  ( T a bl e   4 ( b ) ) ,  t he   be s t   D B I   v a l ue   i s   a l s o  f ound  a t   K = 2,  but   w i t h  a n  i nde x  of   0.149 .  O v e r a l l ,  t he   D B I   v a l ue   a t   e a c h  K   f or   t he   a ppr oa c h  w i t h  K N N   I m put a t i on  i s   l ow e r   t ha n  t ha t   w i t hout   i m put a t i on.  T hi s   i nd i c a t e s   t ha t   us i ng   K N N   I m put a t i on  i m pr o v e s   c l us t e r i ng  qua l i t y ,  m a ki n g  i t   m or e  opt i m a l  t ha n  w i t hout  t he  i m put a t i on pr oc e s s .   A f t e r   de t e r m i ni n g   t he   v a l ue   of   k= 2   f r o m   t he   K N N   i m put a t i on  r e s ul t s ,  t he   c l us t e r i ng   r e s ul t s   of   t he   da t a s e t   us i ng   t he   K - m e doi ds   a l g or i t h m   c a n  be   obt a i ne d  s uc h  a s   F i g ur e   4.  B a s e d  on  T a bl e   5 ,  t he   r e s ul t s  of   t he   nor m a l i z a t i on or  s t a nda r di z a t i on of  t he  or i g i na l  D O  da t a  i ndi c a t e  t ha t  hi g h e r  D O   v a l u e s  i n w a t e r  r e f l e c t  be t t e r   w a t e r   qua l i t y ,   a s   m or e   oxyg e n   i s   a v a i l a bl e   f or   l i v i n g   or ga ni s m s .  T he r e f or e ,   C l us t e r _0,  w hi c h  ha s   a   hi g he r   Evaluation Warning : The document was created with Spire.PDF for Python.
I ndone s i a n J  E l e c  E n g  &  C om p S c i     I S S N :   2502 - 4752         H andl i ng m i s s i ng v al ue s  an d  c l us t e r i ng i n d u s t r i al  l i qui d  w as t e   …  ( R at i h H af s ar ah M ahar r ani )   1417   m a xi m u m   D O   r a n g e   c o m p a r e d  t o   C l us t e r _1,  c a n  be   i ndi c a t e d  a s   a   c l us t e r   w i t h  be t t e r   w a t e r   qua l i t y.   M e a nw hi l e ,   C l us t e r _1,  w hi c h   ha s   a   l ow e r   m a xi m u m   D O   v a l ue ,  l i ke l y   i ndi c a t e s   l ow e r   w a t e r   q ua l i t y   or   hi g he r   l e v e l s   of   or g a ni c   pol l ut i on,  a s   di s s ol v e d  ox yg e n  t e nds   t o  de pl e t e   dur i ng   t he   de c o m p os i t i on  of   or g a ni c   m a t e r i a l s .       T a b le   4. D B I   t e s t i ng   w i t h  ( a )   K N N   i m put a t i on   a nd ( b)   r e pl a c e   m i s s i ng   v a l ue   w i t h z e r o   ( a )   V a l ue   K   D B I   i n de x   2   0 . 139   3   0 . 192   4   0 . 161   5   0 . 156     ( b)   V a l ue   K   D B I   i n de x   2   0 . 149   3   0 . 192   4   0 . 172   5   0 . 220             F i g ur e  4 .   E xa m pl e  of   c l us t e r i ng   r e s ul t s  f or  t he   D O  a t t r i but e       T a bl e   5 .  K - m e doi d  c l us t e r i ng  r e s ul t s   C l us t e r   m ode l   A t t r i but e   n a m e   c l us t e r _0   c l us t e r _1   C l us t e r   0:   553  i t e m s   C l us t e r   1:   67  i t e m s   T ot a l   n u m be r   of   i t e m s :   620   T e m pe r a t u r e   ( M i n)   0 . 042   - 2 . 964   T e m pe r a t u r e   ( M a x)   0 . 993   - 2 . 843   D i s s ol ve d  O x y g e n   ( M i n )   2 . 202   1 . 456   D i s s ol ve d  O x y g e n   ( M a x)   1 . 286   0 . 763   pH   ( M i n)   - 0 . 040   - 0 . 041   pH   ( M a x )   - 0 . 872   - 0 . 263   C on duc t i vi t y  ( M i n )   - 0 . 184   - 0 . 338   C on duc t i vi t y  ( M a x )   - 0 . 244   - 0 . 297   B O D   ( M i n )   - 0 . 120   - 0 . 541   B O D   ( M a x )   - 0 . 219   - 0 . 410       B a s e d  on  t he   e xi s t i ng   r e s ul t s ,   C l us t e r _0   s how s   be t t e r   w a t e r   qua l i t y   de s pi t e   ha v i ng   a   hi g he r   t e m pe r a t ur e ,  w i t h  hi g he r   D O   l e v e l s   a nd  l o w e r   B O D .  I n  c ont r a s t ,   C l us t e r _1   s how s   poor e r   w a t e r   qua l i t y ,  w i t h   l ow   D O   a nd  hi g h  B O D ,  i ndi c a t i ng   g r e a t e r   or g a ni c   pol l ut i on.  T hi s   di f f e r e nc e   s ugg e s t s   t ha t   C l us t e r _1   i s   l i ke l y  m o r e  pol l ut e d c o m pa r e d t o   C l us t e r _0.     3.5.    I m p l i c at i on s  an d   f u t u r e  w or k   T he   r e s ul t s   of   t hi s   s t udy   ha v e   s e v e r a l   i m por t a nt   i m pl i c a t i ons .  F i r s t ,  t he   us e   of   K N N   I m put a t i on  a nd   Z - s c or e   nor m a l i z a t i on   s i g ni f i c a nt l y   i m pr o v e d  t he   a c c u r a c y   a nd  r e l i a bi l i t y   of   t he   c l us t e r i ng   a na l y s i s .  S e c ond,  t he   K - M e doi ds   a l g o r i t h m   pr o v e d  e f f e c t i v e   i n  ha ndl i ng   noi s y   da t a   a nd   i de nt i f y i ng  c l us t e r s   w i t h  di s t i nc t   w a t e r   qua l i t y   c ha r a c t e r i s t i c s .  T he s e   f i ndi ng s   c a n  i nf or m   de c i s i on - m a ki n g   i n  i ndus t r i a l   w a s t e w a t e r   m a na g e m e nt ,   pa r t i c ul a r l y  i n i de nt i f y i ng  pol l ut i on s our c e s  a nd i m pl e m e nt i ng  t a r ge t e d  m i t i g a t i on s t r a t e g i e s .   H o w e v e r ,  t hi s   s t udy   ha s   l i m i t a t i ons .  T he   da t a s e t ,  w hi l e   c o m pr e he ns i v e ,  i s   l i m i t e d  t o  s pe c i f i c   g e o g r a phi c   r e g i ons   a nd  m a y   not   f ul l y   r e pr e s e nt   g l oba l   w a s t e w a t e r   c ondi t i ons .  F u t ur e   r e s e a r c h  c oul d  e xpa nd   t he   da t a s e t   t o  i nc l ude   a ddi t i ona l   r e g i ons   a nd  e xpl or e   ot he r   c l us t e r i ng   a l g or i t h m s ,  s uc h   a s   D B S C A N   o r   hi e r a r c hi c a l   c l us t e r i n g , t o f ur t he r   v a l i da t e  t he  f i ndi ng s . A ddi t i ona l l y , i nt e g r a t i ng  r e a l - t i m e   m oni t or i ng  s y s t e m s   c oul d e nha nc e  t he  pr a c t i c a l  a ppl i c a bi l i t y  of  t he  pr opos e d  m e t hods .       4.   C O N C L U S I O N   T hi s   s t udy   a ddr e s s e s   t he   c r i t i c a l   i s s ue   of   t e xt i l e   i ndu s t r y   w a s t e w a t e r   m a n a ge m e nt   by   c o m p a r i ng   t w o   m e t hods   f or   ha ndl i ng   m i s s i ng  da t a   r e pl a c i ng  m i s s i ng  v a l ue s   w i t h  z e r o  a nd  K N N   i m put a t i on   f ol l ow e d  b y  Evaluation Warning : The document was created with Spire.PDF for Python.
                      I S S N :   2502 - 4752   I ndone s i a n J  E l e c  E n g  &  C om p S c i ,  V ol .  3 9 , N o.  2 ,   A ug us t   20 25 :   1 411 - 1 420   1418   c l us t e r i ng   us i ng   t he   K - m e doi ds   a l g or i t h m .  T he   r e s e a r c h  de m ons t r a t e s   t ha t   K N N   i m put a t i on,  pa r t i c ul a r l y   a t   k= 15,  a c hi e v e s   t he   l ow e s t   R M S E   v a l ue   ( 0.607) ,  hi g hl i g ht i ng   i t s   e f f e c t i v e ne s s   i n  a c c ur a t e l y   e s t i m a t i n g  m i s s i ng  v a l ue s .  F ur t he r m or e ,  c l us t e r i ng   e xp e r i m e nt s   r e v e a l   t ha t   K N N   I m put a t i on  a t   K = 2  y i e l ds   t he   opt i m a l   D B I   v a l ue   of   0.139,  i ndi c a t i ng   w e ll - s e pa r a t e d  a nd  uni f or m   c l us t e r s .  T he s e   f i ndi ngs   unde r s c or e   t he   i m por t a n c e   of   s e l e c t i ng   a ppr opr i a t e   pa r a m e t e r s ,  s uc h  a s   t he   nu m be r   of   ne i g hbor s   ( k)   a n d  c l us t e r s   ( K ) ,  t o   e ns ur e   opt i m a l   c l us t e r i ng   qua l i t y .  B y   pr o v i di ng   a   c l e a r   s e pa r a t i on  be t w e e n  c l us t e r s   a n d   i ns i g ht s   i nt o  t he   c ha r a c t e r i s t i c s   of   t e xt i l e   i ndus t r y   w a s t e w a t e r ,  t hi s   s t udy   of f e r s   a   r obus t   f r a m e w or k  f or   i m pr o v i ng   w a s t e   m a na g e m e nt   s t r a t e g i e s   a nd  r e duc i n g   e n v i r on m e nt a l   i m pa c t .  F ut ur e   r e s e a r c h  c oul d  e xpl or e   t he   i nt e g r a t i on  of   r e a l - t i m e   m oni t or i ng   s y s t e m s   a nd  t he   a ppl i c a t i on  of   ot he r   c l us t e r i ng  a l g o r i t h m s ,  s uc h   a s   D B S C A N   or   hi e r a r c hi c a l   c l us t e r i ng , t o f ur t he r   v a l i da t e   a nd e nha nc e  t he s e  f i ndi ng s .  U l t i m a t e l y , t hi s  w or k  c ont r i but e s  t o t he   br oa de r  f i e l d of  e n v i r on m e nt a l  s c i e nc e  by  o f f e r i n g  pr a c t i c a l  s ol ut i o ns  f or  s u s t a i na bl e  i ndu s t r i a l  pr a c t i c e s .       A C K N O WL E D G E M E N T S     O ur   g r a t i t ude   g oe s   t o  t he   R e s e a r c h  a nd  C om m uni t y   S e r v i c e   C e nt e r   of   C i l a c a p  S t a t e   P ol y t e c hni c   i n   t he  2024 i nt e r na l   r e s e a r c h   f i na nc i ng  s c he m e  ( D I P A )  f or   a s s i s t i ng  i n t he  r e s e a r c h pr oc e s s .       F U N D I N G  I N F O R M A T I O N     T he   a ut hor s   de c l a r e   t ha t   t he   r e s e a r c h  pr e s e nt e d  i n  t hi s   a r t i c l e   w a s   f unde d  by   t he   D I P A   F und   of   P ol i t e kni k N e g e r i  C i l a c a p f or  t he  ye a r  2024, unde r  C ont r a c t  N o. 160/ P L 43/ A L .04/ 2024.       A U T H O R  C O N T R I B U T I O N S  S T A T E M E N T     T hi s   j our na l   us e s   t he   C ont r i but or   R ol e s   T a xono m y   ( C R e di T )   t o  r e c og ni z e   i ndi v i du a l   a ut hor   c ont r i but i ons ,  r e duc e  a ut hor s hi p di s pu t e s , a nd f a c i l i t a t e  c ol l a bor a t i on.      N am e  of  A u t h or   C   M   So   Va   Fo   I   R   D   O   E   Vi   Su   P   Fu   R a t i h H a f s a r a h  M a ha r r a ni                               P r i h  D i a nt ono A bda ’ u                               G a nj a r  N da r u  I kht i a g ung                               N ur  W a hy u R a ha di                               Z a e nur r oh m a n                                 C   :    C on c e pt ua l i z a t i o n   M   :    M e t h o dol o g y   So   :    So f t w a r e   Va   :    Va l i da t i o n   Fo   :    Fo r m a l   a n a l ys i s   I   :    I n ve s t i g a t i o n   R   :    R e s our c e s   D   :   D a t a   C ur a t i on   O   :   W r i t i ng   -   O r i g i n a l   D r a f t   E   :   W r i t i ng   -   R e v i e w   &   E di t i ng   Vi   :    Vi s ua l i z a t i o n   Su   :    Su pe r vi s i on   P   :    P r oj e c t   a dm i n i s t r a t i o n   Fu   :    Fu n di ng   a c qui s i t i o n         C O N F L I C T  O F  I N T E R E S T  S T A T E M E N T     A ut hor s  s t a t e  no  c onf l i c t  of  i nt e r e s t .       I N F O R M E D  C O N S E N T     W e  ha v e  obt a i ne d i nf or m e d  c ons e nt  f r o m  a l l  i ndi v i dua l s  i nc l ude d i n t h i s  s t u dy .       E T H I C A L  A P P R O V A L     T he   r e s e a r c h  r e l a t e d  t o  hum a n  us e   ha s   be e n  c o m pl i e d  w i t h  a l l   t he   r e l e v a nt   na t i ona l   r e g ul a t i ons   a nd  i ns t i t ut i ona l   po l i c i e s   i n  a c c or da nc e   w i t h  t he   t e ne t s   of   t he   H e l s i nki   D e c l a r a t i on  a nd  ha s   be e n  a ppr o v e d  by  t he   a ut hor s '  i ns t i t ut i ona l  r e v i e w  boa r d or  e qui v a l e nt  c o m m i t t e e .       D A T A  A V A I L A B I L I T Y     T he   d a t a   s uppor t i ng   t he   f i ndi ng s   of   t hi s   s t udy   w e r e   obt a i ne d  f r o m   K a gg l e .  R e s t r i c t i ons   a ppl y   t o  t he   a v a i l a bi l i t y   of   t he s e   da t a ,  w hi c h  w e r e   us e d  unde r   l i c e ns e   f or   t hi s   s t udy .  T he   da t a   a r e   a c c e s s i bl e   a t   ht t ps : / / w w w .ka gg l e . c o m / c ode / s a s a ki t e t s uy a / w a t e r - qua l i t y - c a us a l - i nf e r e nc e - by - l i ng a m / i nput .   Evaluation Warning : The document was created with Spire.PDF for Python.
I ndone s i a n J  E l e c  E n g  &  C om p S c i     I S S N :   2502 - 4752         H andl i ng m i s s i ng v al ue s  an d  c l us t e r i ng i n d u s t r i al  l i qui d  w as t e   …  ( R at i h H af s ar ah M ahar r ani )   1419   R E F E R E N C E S   [ 1]   B .   J .   S i ngh ,   A .   C h a kr a bor t y,   a n d  R .   S e hg a l ,   “ A   s ys t e m a t i c   r e vi e w   o f   i n dus t r i a l   w a s t e w a t e r   m a n a g e m e n t :   e va l u a t i ng   c h a l l e ng e s   a n d  e n a bl e r s , ”   J our nal   of   E nv i r onm e nt al   M anage m e nt ,   vol .   348,   pp.   1 – 34,   2023 ,   doi :   10. 1016/ j . j e n v m a n . 2023. 119 230.   [ 2]   M .   S .   I .   A f r a d ,   M .   B .   M o ni r ,   M .   E .   H a que ,   A .   A .   B a r a u,   a n d  M .   M .   H a que ,   “ I m pa c t   of   i n dus t r i a l   e f f l ue n t   o n   w a t e r ,   s oi l   a n d  r i c e   pr oduc t i o n   i n   B a ng l a de s h :   a   c a s e   of   T ur a g   R i ve r   B a n k , ”   J our nal   of   E nv i r onm e nt al   H e al t h  Sc i e nc e   and  E ngi ne e r i ng ,   vol .   18,   n o.   2,   pp.   825 – 834,   2020,   doi :   10. 1007/ s 40201 - 020 - 00506 - 8.   [ 3]   L .   L i n ,   H .   Y a ng ,   a n d  X .   X u ,   “ E f f e c t s   of   w a t e r   pol l u t i o n   o n   h u m a n   h e a l t h   a n d  di s e a s e   h e t e r o g e n e i t y:   a   r e vi e w , ”   F r ont i e r s   i n   E nv i r onm e nt al   S c i e n c e ,   vol .   10,   no.   J un e ,   2022 ,   doi :   10. 3389/ f e n vs . 2022. 880246.   [ 4]   R .   S h r i va s t a va   a n d  N .   K .   S i ngh,   “ A s s e s s m e n t   of   w a t e r   qua l i t y  o f   t e x t i l e   e f f l ue n t   a n d  i t s   t r e a t m e nt   by  us i ng   c oa gul a n t s   a n d  pl a nt   m a t e r i a l , ”   M a t e r i al s   T oday :   P r oc e e di ngs ,   vol .   43,   n o.   5,   pp.   3318 – 3321 ,   2021,   doi :   10. 1016/ j . m a t p r . 2021. 02. 373.   [ 5]   T .   U .   R a hm a n   e t   al . ,   “ T h e   a dva n c e m e nt   i n   m e m br a n e   bi or e a c t or   ( M B R )   t e c hn ol o gy  t o w a r d  s us t a i n a bl e   i n dus t r i a l   w a s t e w a t e r   m a n a g e m e nt , ”   M e m br ane s ,   vol .   13,   no.   2,   2023,   doi :   10. 3390/ m e m b r a n e s 13020181.   [ 6]   B .   C h e n   e t   al . ,   “ I n   s e a r c h   of   ke y:   pr ot e c t i ng   hu m a n   h e a l t h   a n d  t h e   e c os ys t e m   f r o m   w a t e r   pol l ut i o n   i n   C hi n a , ”   J our nal   of   C l e ane r   P r oduc t i on ,   vol .   228,   pp.   101 – 111,   2019,   doi :   10. 1016/ j . j c l e p r o. 2019. 04. 228.   [ 7]   P .   K .   J e n a ,   S .   M .   R a h a m a n,   P .   K .   D a s   M o h a pa t r a ,   D .   P .   B a r i k ,   a n d  D .   S .   P a t r a ,   “ S ur f a c e   w a t e r   qua l i t y  a s s e s s m e n t   b y  r a n do m   f or e s t , ”   W at e r   P r a c t i c e   and  T e c hn ol ogy ,   vol .   18,   n o.   1,   pp.   201 – 214,   2023,   doi :   10. 2166/ w pt . 2022. 156.   [ 8]   I .   G ul s h i n   a n d  O .   K u z i n a ,   “ M a c h i n e   l e a r n i ng   m e t hods   f or   t h e   pr e di c t i o n   of   w a s t e w a t e r   t r e a t m e n t   e f f i c i e n c y  a n d  a n o m a l y   c l a s s i f i c a t i on   w i t h   l a c k  of   h i s t or i c a l   da t a , ”   A pp l i e d  Sc i e n c e s   ( Sw i t z e r l and) ,   vol .   14,   n o.   22,   2024 ,   doi :   10. 3390/ a pp 142210689.   [ 9]   K .   C h e n   e t   al . ,   “ U s i ng   u n s upe r v i s e d  l e a r n i ng   t o  c l a s s i f y  i nl e t   w a t e r   f or   m o r e   s t a bl e   de s i gn  of   w a t e r   r e us e   i n   i ndus t r i a l   pa r ks , ”   W at e r   Sc i e n c e   &   T e c hno l ogy ,   vol .   89,   n o.   7,   pp.   1757 – 1770,   2024.   [ 10]   N i t ya   N a n d  J h a ,   “ C o m p ut a t i o n a l   m a c hi n e   l e a r n i ng   a n a l yt i c s   f or   pr e di c t i o n   of   w a t e r   qua l i t y , ”   C om m uni c at i ons   on   A ppl i e d   N onl i ne ar   A na l y s i s ,   vol .   31,   n o.   4s ,   pp.   448 – 465,   2024,   doi :   10. 52783/ c a n a . v31. 942.   [ 11]   R .   R odr í g ue z   e t   al . ,   “ W a t e r - qua l i t y  da t a   i m put a t i o n   w i t h   a   h i gh   pe r c e nt a g e   of   m i s s i ng   va l ue s :   a   m a c h i n e   l e a r n i ng   a pp r oa c h , ”   Sus t ai nabi l i t y   ( Sw i t z e r l and) ,   vol .   13,   n o.   11,   pp.   1 – 17,   2021,   doi :   10. 3390/ s u131163 18.   [ 12]   M .   S .   O s m a n,   A .   M .   A bu - M a h f ou z ,   a n d  P .   R .   P a g e ,   “ A   s ur ve y  o n   da t a   i m put a t i o n   t e c hn i que s :   w a t e r   di s t r i b ut i o n   s ys t e m   a s   a   us e   c a s e , ”   I E E E   A c c e s s ,   vol .   6,   pp.   63279 – 63291,   2018 ,   doi :   10. 1109/ A C C E S S . 2018. 2877269.   [ 13]   Y .   F .   Z h a ng ,   P .   J .   T h or bur n,   M .   P .   V i l a s ,   a n d  P .   F i t c h ,   “ M a c h i n e   l e a r n i ng   a ppr oa c h e s   t o  i m pr ove   a n d  pr e di c t   w a t e r   qua l i t y  da t a , ”   23r d  I nt e r nat i onal   C ongr e s s   on  M ode l l i ng  a nd  Si m ul at i on  -   Supp or t i ng  E v i de n c e - B as e d  D e c i s i on  M ak i n g:   T he   R ol e   of   M ode l l i ng   and  Si m ul at i on,   M O D SI M   2019 ,   n o.   D e c e m be r ,   pp.   491 – 497,   2019 ,   doi :   10. 36334/ m o ds i m . 2019. d5. z h a ng yi f .   [ 14]   D .   M .   P .   M ur t i ,   U .   P u j i a n t o ,   A .   P .   W i ba w a ,   a n d  M .   I .   A kba r ,   “ K - n e a r e s t   n e i gh b or   ( K - N N )   ba s e d  m i s s i ng   da t a   i m p ut a t i o n, ”   i n  2019  5t h  I nt e r nat i onal   C onf e r e nc e   on  Sc i e n c e   i n  I nf or m at i on  T e c hnol o gy   ( I C SI T e c h) ,   O c t .   2019,   vol .   5,   pp.   83 – 88,   doi :   10. 1109/ I C S I T e c h 46713. 2019. 89875 30.   [ 15]   L .   M uf l i k h a h ,   N .   H i da ya t ,   a nd  D .   J .   H a r i ya n t o,   “ P r e di c t i o n   o f   h ype r t e nt i o n   dr u g   t h e r a py  r e s po n s e   us i ng   K - N N   i m p ut a t i o n   a nd   S V M   a l gor i t hm , ”   I ndone s i an  J our nal   of   E l e c t r i c a l   E ngi ne e r i ng  and  C om put e r   Sc i e nc e   ( I J E E C S) ,   vol .   15,   n o.   1,   pp.   460 – 467,   2019,   doi :   10. 11591/ i j e e c s . v15. i 1. pp460 - 467.   [ 16]   R .   M .   S ya uqi ,   P .   N .   S a br i n a ,   a n d  I .   S a n t i ka r a m a ,   “ K - m e a n s   c l us t e r i ng   w i t h   K N N   a n d  m e a n   i m pu t a t i o n   on   C P U   B e n c hm a r k   c om p i l a t i o n   da t a , ”   J our nal   of   A ppl i e d  I nf or m at i c s   and  C om put i ng ,   vol .   7,   no.   2,   pp.   231 – 239,   2023,   doi :   10. 30871/ j a i c . v7i 2. 6491.   [ 17]   A .   F a dl i l ,   H e r m a n,   a n d  D .   P r a s e pt i a n   M ,   “ K   n e a r e s t   n e i gh b or   i m p ut a t i o n   pe r f or m a n c e   o n   m i s s i ng   va l ue   da t a   g r a dua t e   us e r   s a t i s f a c t i on, ”   J ur nal   R E ST I   ( R e k ay as a  Si s t e m   dan  T e k nol og i   I nf or m as i ) ,   vol .   6,   n o.   4,   pp.   570 – 5 76,   A ug .   2022 ,   doi :   10. 29207/ r e s t i . v6i 4. 4173.   [ 18]   K .   S e u,   M .   S .   K a ng,   a n d  H .   L e e ,   “ A n   i nt e l l i g e n t   m i s s i ng   da t a   i m put a t i o n   t e c hn i que s :   a   r e vi e w , ”   I nt e r nat i o nal   J our nal   on  I nf or m at i c s   V i s ual i z at i on ,   vol .   6,   n o.   1 – 2,   pp.   278 – 283 ,   2022,   doi :   10. 30630/ j oi v. 6. 1 - 2. 935.   [ 19]   J .   A .   M a r t í n - F e r n á nde z ,   C .   B a r c e l ó - V i da l ,   a n d  V .   P a w l o w s ky - G l a hn,   “ D e a l i ng   w i t h   Z e r os   a n d  m i s s i ng   va l ue s   i n   c o m pos i t i o n a l   da t a   s e t s   u s i ng   n o n pa r a m e t r i c   i m put a t i o n , ”   M at he m a t i c al   G e ol ogy ,   vol .   35,   n o.   3,   pp.   253 – 278,   2003,   doi :   10. 1023/ A : 10238660 30544.   [ 20]   H .   H e n de r i ,   T .   W a h yu ni ng s i h ,   a n d  E .   R a hw a n t o,   “ C o m pa r i s o n   of   m i n - m a x   n o r m a l i z a t i o n   a nd  Z - s c or e   n or m a l i z a t i o n   i n   t h e   K - n e a r e s t   n e i gh bo r   ( kN N )   a l g o r i t hm   t o  t e s t   t h e   a c c ur a c y  of   t ype s   of   br e a s t   c a n c e r , ”   I J I I S:   I nt e r nat i onal   J our nal   of   I nf or m at i c s   and   I nf or m at i on  Sy s t e m s ,   vol .   4,   n o.   1,   pp.   13 – 20,   M a r .   2021,   doi :   10. 47738/ i j i i s . v4i 1. 73.   [ 21]   R .   H .   M a h a r r a n i ,   P .   D .   A bda ’ u,   a n d  M .   N .   F a i z ,   “ C l us t e r i ng   m e t h od  f o r   c r i m i n a l   c r i m e   a c t s   us i n g   K - m e a ns   a n d  pr i n c i pa l   c om po n e nt   a n a l ys i s , ”   I ndone s i an  J our nal   of   E l e c t r i c al   E ngi ne e r i ng  and  C om put e r   S c i e n c e   ( I J E E C S ) ,   v ol .   34,   n o.   1,   pp.   224 – 232 ,   2024,   doi :   10. 11591/ i j e e c s . v34. i 1. pp224 - 232.   [ 22]   R .   H ol l o w a y  e t   al . ,   “ O pt i m a l   l oc a t i o n   s e l e c t i o n   f or   a   di s t r i but e d  h yb r i d  r e n e w a bl e   e n e r g y  s ys t e m   i n   r ur a l   W e s t e r n   A us t r a l i a :   A   da t a   m i n i ng   a pp r oa c h, ”   E ne r gy   St r at e gy   R e v i e w s ,   vol .   50,   2023,   doi :   10. 1016/ j . e s r . 2023. 101205.   [ 24]   A .   R e z ky  P r a t a m a ,   B .   M a ul a n a ,   R .   D i d h o  R i a n da ,   a n d  S .   E l   H a s yi m ,   “ C o m pa r i s o n   o f   K - m e a n s   a n d  K - m e do i d s   a l g or i t hm s   f o r   gr oupi ng   vi de o  g a m e   s a l e s   da t a   i n   N or t h   A m e r i c a , ”   I ndone s i an  J our nal   of   I nf or m at i c   R e s e ar c h  and  Sof t w a r e   E ngi ne e r i ng   ( I J I R SE ) ,   vol .   3,   n o.   2,   pp.   111 – 118,   2023,   doi :   10. 57152/ i j i r s e . v3i 2. 898.   [ 25]   S .   F e br i ya n t i   a n d  J .   N ug r a h a ,   “ A ppl i c a t i o n   of   K - m e do i ds   c l us t e r i ng   t o  i n c r e a s e   t h e   2020  f a m i l y  pl a nni ng   pr o gr a m   i n   S l e m a n  R e g e n c y, ”   E nt hus i as t i c   :   I nt e r nat i ona l   J our nal   o f   A ppl i e d  St at i s t i c s   and  D at a  Sc i e nc e ,   vol .   2,   n o.   1,   pp.   10 – 18,   2022,   doi :   10. 20885/ e nt h us i a s t i c . vol 2. i s s 1. a r t 2.   [ 26]   A .   I dr us ,   N .   T a r i h or a n ,   U .   S upr i a t n a ,   A .   T oh i r ,   S .   S uw a r n i ,   a n d  R .   R a hi m ,   “ D i s t a n c e   a n a l ys i s   m e a s ur i ng   f or   c l u s t e r i ng   us i ng   k - m e a n s   a n d  da vi e s   boul di n   i n de x   a l g or i t hm , ”   T E M   J our nal ,   vol .   11,   n o.   4,   pp.   1871 – 1876,   N ov.   2022,   doi :   10. 1842 1/ T E M 11 4 - 55.   [ 27]   J .   A .   A w o m e s o,   A .   M .   T a i w o,   A .   M .   G ba de bo,   a n d  J .   A .   A de n ow o ,   “ S t u di e s   on   t h e   pol l ut i o n   of   w a t e r   body  by  t e x t i l e   i n d us t r y   e f f l ue n t s   i n   L a g os ,   N i g e r i a , ”   J our nal   of   A ppl i e d  Sc i e n c e   i n  E nv i r onm e nt al   San i t at i on ,   vol .   5,   n o.   4,   pp.   353 – 359,   2010,   [ O n l i n e ] .   A va i l a bl e :   h t t p: / / t r i s a n i t a . or g / j a s e s / a s e s pa pe r 2010/ a s e s 34v5n 4y20 10. pdf .   [ 28]   P .   R .   K a nn e l ,   S .   L e e ,   Y .   S .   L e e ,   S .   R .   K a n e l ,   a n d  S .   P .   K h a n,   “ A ppl i c a t i o n   of   w a t e r   qua l i t y  i n di c e s   a n d  di s s ol ve d  ox y g e n   a s   i n d i c a t or s   f or   r i ve r   w a t e r   c l a s s i f i c a t i o n   a n d  ur ba n   i m pa c t   a s s e s s m e n t , ”   E nv i r onm e nt al   M oni t or i ng  and  A s s e s s m e nt ,   vol .   132,   n o.   1 – 3,   pp.   93 – 110,   2007 ,   doi :   10. 1007/ s 10661 - 00 6 - 9505 - 1.   [ 29]   Y .   C .   W ong ,   V .   M og a n a r a g i ,   a n d  N .   A .   A t i qa h ,   “ P h ys i c o - c h e m i c a l   i nve s t i g a t i o n s   of   s e m i c o n duc t or   i n dus t r i a l   w a s t e w a t e r , ”   O r i e nt al   J our nal   of   C he m i s t r y ,   vol .   29,   n o.   4,   pp.   1421 – 1428,   2013 ,   doi :   10. 13005/ oj c / 290 418.   [ 30]   Z .   Z h a ng,   “ M i s s i ng   da t a   i m put a t i o n:   f oc us i ng   o n   s i ng l e   i m p ut a t i o n, ”   A nn al s   of   T r ans l at i onal   M e di c i ne ,   vol .   4,   n o.   1,   2016,   doi :   10. 3978/ j . i s s n . 2305 - 583 9. 2015. 12. 38.       Evaluation Warning : The document was created with Spire.PDF for Python.
                      I S S N :   2502 - 4752   I ndone s i a n J  E l e c  E n g  &  C om p S c i ,  V ol .  3 9 , N o.  2 ,   A ug us t   20 25 :   1 411 - 1 420   1420   B I O G R A P H I E S  O F  A U T H O R S       Ra t ih   H a f s a r a h   M a h a r r a n i          c o m p l e ted   h i s   B a c h e l o r ' s   d e g r e e   i n   2 0 0 7   a t  D i a n   Nu s wa n t o r o   U n iv e r s i ty ,   th e n   c o n ti n u e d   h i s   M a s ter ' s   d e g r e e   i n   c o m p u ter   e n g i n e e r i n g   i n   2 0 1 0   a t   th e   s a m e   u n i v e r s i ty .   C u r r e n tl y ,   s h e   i s   a c t i v e   a s   a   l e c tu r e r   a t  P o li tek n i k   Ne g e r i   C il a c a p ,   i n   th e   C o m p u ter   a n d   B u s i n e s s   D e p a r tm e n t.   T h e   r e s e a r c h   f i e l d s   h e   s p e c i a li z e s   i n   i n c l u d e   d e c i s i o n   s u p p o r t  s y s te m s ,   d a ta  m i n i n g ,   a n d   a r ti f i c i a l   i n telli g e n c e .  F o r   c o m m u n i c a t i o n   p u r p o s e s ,   s h e   c a n   b e   c o n tac ted   at   e m a i l :   r a t i h . h a f s a r a h @p n c . a c . i d .         P r ih   Dia n t o n o   Abd a 'u           r e c e i v e d   th e   B . C o m p . S c .   d e g r e e   f r o m   U n i v e r s i ta s   Am i k o m   P u r wo k e r to ,   I n d o n e s i a ,   i n   2 0 1 3 ,   a n d   th e   M . C o m p . S c .   d e g r e e   f r o m   U n i v e r s i tas   Am i k o m   Y o g y a k a r ta ,   I n d o n e s i a ,   i n   2 0 1 8 .   He   i s   c u r r e n tl y   a   L e c tu r e r   w i th   th e   De p a r tm e n t  o f   S o f twa r e   E n g i n e e r i n g ,   P o li tek n i k   Ne g e r i   C il a c a p ,   I n d o n e s i a ,   h o l d i n g   th e   a c a d e m i c   r a n k   o f   L e k to r .   He   h a s   a u th o r e d   tw o   b o o k s ,   P e mr o g r a ma n   W e b   ( 2 0 2 1 )   a n d   I n t e r a k s i   M a n u s i a   d a n   K o mp u t e r   ( 2 0 2 4 ) .   H i s   c u r r e n t  r e s e a r c h   i n ter e s ts   i n c l u d e   th e   i n teg r a t i o n   o f   th e   i n ter n e t  o f   th i n g s   ( I o T )   a n d   a r t i f i c i a l   i n te ll i g e n c e   ( A I ) .   He   c a n   b e   c o n tac ted   at   e m a il :   a b d a u @p n c . a c . i d .         G a n j a r   Nda r u   I k h t i a g u n g           i s   a   m a r k e t i n g   e x p e r t  w i th   e x ten s i v e   e x p e r i e n c e   i n   s u s tai n a b l e   m a r k e ti n g   s tr a te g y   d e v e l o p m e n t,   r e g i o n a l   p o ten ti a l   d e v e l o p m e n t,   a n d   d i g i ta l  tec h n o l o g y   a p p l i c a t i o n .   He   h a s   p u b l i s h e d   v a r i o u s   s c i e n ti f i c   s tu d i e s ,   i n c l u d i n g   s u s tai n a b l e   to u r i s m   d e v e l o p m e n t  m o d e l s   a n d   g r e e n   m a r k e ti n g   c o n c e p ts   t o   s u p p o r t  th e   e n v i r o n m e n t.   T h e   s tu d y   o f   m a r k e t i n g   p e r f o r m a n c e   i n   p o tato   f a r m i n g   i n   W o n o s o b o   p r o v i d e s   r e c o m m e n d a ti o n s   f o r   i m p r o v i n g   m a r k e t  e f f icie n c y ,   wh i l e   th e   a p p li c a t i o n   o f   e x tr e m e   p r o g r a m m i n g   to   t h e   “ L a p a k   P e t a n i   On l i n e ”   m a r k e tp l a c e   f a c il i tate s   m a r k e t  a c c e s s   f o r   f a r m e r s .   I n   th e   p o l i c y   f i e l d ,   h e   wa s   i n v o lv e d   i n   a n   i n v e s tm e n t  s tu d y   o f   a n   i n teg r a ted   f i s h e r ies   i n d u s tr i a l   a r e a   i n   C il a c a p ,   s u p p o r ti n g   th e   b l u e   e c o n o m y ,   a n d   d r a f ti n g   a n   a c a d e m i c   p a p e r   f o r   th e   R A P E R DA   o n   i n v e s tm e n t.   I n   2 0 2 4 ,   f o r m u l a ti n g   r e g i o n a l   d e v e l o p m e n t  p o l i c i e s   f o r   C e n tr a l  J a v a   b a s e d   o n   v o c a ti o n a l  e d u c a ti o n   to   i n c r e a s e   i n n o v a ti o n   a n d   l o c a l   e m p l o y m e n t.   W i th   e x p e r ti s e   i n   s u s tai n a b l e   m a r k e t i n g ,   d i g i ta l  m a r k e ti n g ,   a n d   e c o n o m i c   p o l i c y   a n a l y s i s ,   f o c u s i n g   o n   c o l lab o r a ti o n   a n d   i n n o v a ti v e   a p p r o a c h e s   to   a d v a n c e   th e   r e g i o n a l   e c o n o m y   a n d   i m p r o v e   c o m m u n i ty   we l f a r e .   He   c a n   b e   c o n tac ted   a t   e m a il :   g a n jar @p n c . a c . i d         Nur  W a h y u   R a h a d i          r e c e i v e d   th e   M . E n g .   d e g r e e .   i n   th e   f i e l d   o f   e lec tr i c a l  e n g i n e e r i n g ,   c o n c e n tr a ti o n   i n   i n f o r m a ti o n   tec h n o l o g y ,   Ga d ja h   M a d a   U n i v e r s i ty ,   Y o g y a k a r ta,   i n   2 0 1 5 .   C u r r e n tl y ,   h e   i s   th e   h e a d   o f   th e   I n f o r m a ti o n   a n d   C o m m u n i c a ti o n   T e c h n o l o g y   u n i t  a t  th e   C il a c a p   S tate   P o l y tec h n i c   a n d   o n e   o f   th e   l e c tu r e r s   i n   th e   D i p l o m a   3   I n f o r m a ti c s   E n g i n e e r i n g   S tu d y   P r o g r a m ,   C o m p u ter   a n d   B u s i n e s s   De p a r t m e n t.   Hi s   r e s e a r c h   i n ter e s ts   i n c l u d e   s o f twa r e   e n g i n e e r i n g ,   a r t if i c i a l   i n telli g e n c e ,   c l o u d   c o m p u ti n g ,   a n d   I o T .   He   c a n   b e   c o n tac ted   a t  e m a i l:   n . wa h y u . r @p n c . a c . i d .         Z a e n u r r o h m a n           r e c e iv e d   a   B . E n g .   d e g r e e   i n   e l e c tr i c a l   e n g i n e e r i n g   f r o m   W i wo r o to m o   C o l l e g e   o f   E n g i n e e r i n g ,   I n d o n e s i a ,   i n   2 0 1 3 ,   a n d   a n   M . E n g .   d e g r e e   i n   e l e c tr i c a l  e n g i n e e r i n g   f r o m   S u l tan   Ag u n g   I s l a m i c   U n i v e r s i ty ,   S e m a r a n g ,   I n d o n e s i a ,   i n   2 0 1 8 .   C u r r e n tl y ,   h e   i s   a   L e c tu r e r   i n   th e   De p a r tm e n t  o f   E l e c tr o n i c s   E n g i n e e r i n g ,   C il a c a p   S tate   P o l y tec h n i c .   H i s   a r e a   o f   e x p e r ti s e   i s   e m b e d d e d   s y s tem s .   Hi s   r e s e a r c h   i n ter e s ts   i n c l u d e   m i c r o c o n tr o ll e r s ,   th e   i n ter n e t  o f   th i n g s ,   a g r i c u l tu r a l   tec h n o l o g y ,   e a r l y   wa r n i n g   s y s tem s ,   r a d i o   f r e q u e n c y   c o m m u n i c a ti o n ,   c o n tr o l  s y s tem s ,   p o we r   e lec tr o n i c s ,   a n d   r o b o ti c s .   C u r r e n tl y   f o c u s i n g   m o r e   o n   r e s e a r c h   o n   L o R a   c o m m u n i c a ti o n   i n   Ar d u i n o - b a s e d   e a r l y   wa r n i n g   s y s tem s .   He   c a n   b e   c o n tac ted   at   e m a i l:   z a e n u r @p n c . a c . i d .       Evaluation Warning : The document was created with Spire.PDF for Python.