{"id":{"repo_id":"vilnius","oai_identifier":"oai:vu.lt:elaba:277679847"},"canonical_url":"https://search.ndltd.org/etd/vilnius/oai:vu.lt:elaba:277679847","repository":{"repo_id":"vilnius","name":"Vilnius University","base_url":"https://epublications.vu.lt/oai"},"display":{"title":"Handling class imbalance in k-nearest neighbors /","abstract":"This work introduces Stochastic Inference-Time Rebalancing kNN (STIR-kNN), an inference-time modification of the k-nearest neighbor classifier for imbalanced binary classification. The proposed method aims to improve minority-class recall while limiting the corresponding loss in majority-class precision, without modifying the training data. STIR-kNN combines adaptive neighborhood expansion with a stochastic vote-adjustment mechanism that selectively rebalances local class influence when minority-class evidence is detected. The approach is evaluated against standard kNN and kNN trained on SMOTE-augmented data across datasets with varying imbalance ratios, including numerical, heterogeneous, and time-dependent historical data. Experimental results demonstrate that STIR-kNN consistently enhances minority-class recall while maintaining competitive overall performance, highlighting the effectiveness of inference-time rebalancing for imbalanced kNN classification. These findings suggest that inference-time neighborhood rebalancing is an effective and flexible strategy for addressing class imbalance in kNN classifiers. STIR-kNN demonstrates that substantial gains in minority detection can be achieved without retraining or synthetic data generation, making it well-suited for applications where data integrity and deployment simplicity are critical.","abstract_html":"This work introduces Stochastic Inference-Time Rebalancing kNN (STIR-kNN), an inference-time modification of the k-nearest neighbor classifier for imbalanced binary classification. The proposed method aims to improve minority-class recall while limiting the corresponding loss in majority-class precision, without modifying the training data. STIR-kNN combines adaptive neighborhood expansion with a stochastic vote-adjustment mechanism that selectively rebalances local class influence when minority-class evidence is detected. The approach is evaluated against standard kNN and kNN trained on SMOTE-augmented data across datasets with varying imbalance ratios, including numerical, heterogeneous, and time-dependent historical data. Experimental results demonstrate that STIR-kNN consistently enhances minority-class recall while maintaining competitive overall performance, highlighting the effectiveness of inference-time rebalancing for imbalanced kNN classification. These findings suggest that inference-time neighborhood rebalancing is an effective and flexible strategy for addressing class imbalance in kNN classifiers. STIR-kNN demonstrates that substantial gains in minority detection can be achieved without retraining or synthetic data generation, making it well-suited for applications where data integrity and deployment simplicity are critical.","abstract_has_math":false,"creators":["Matvejevaitė, Jovita,"],"institution":"Institutional Repository of Vilnius University","degree_name":null,"degree_level":null,"degree_discipline":null,"degree_department":null,"school":null,"contributors":[],"advisors":[],"committee_chairs":[],"committee_members":[],"year":2026,"date_issued":"2026","date_published":"2026","updated_at":"2026-11-19T10:11:18Z","subjects":["STIR-kNN, kNN, imbalanced classification, inference-time rebalancing, minority-class recall, asymmetric misclassification costs"],"languages":["eng"],"rights":["info:eu-repo/semantics/openAccess"],"rights_urls":[],"identifier_entries":[],"person_identifier_entries":[]},"links":{"outbound_url":"https://repository.vu.lt/VU:ELABAETD277679847&prefLang=en_US","outbound_label":"Repository record","outbound_source":"dc:identifier","record_url":"https://repository.vu.lt/VU:ELABAETD277679847&prefLang=en_US","record_label":"Repository record","record_kind":"record","record_source":"dc:identifier","download_url":null,"download_label":null,"download_source":null,"access_status":"open","embargo_until":null,"access_note":null},"source_record":{"url":"https://epublications.vu.lt/oai?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Avu.lt%3Aelaba%3A277679847","prefix":"oai_dc"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:creator","label":"Author","values":["Matvejevaitė, Jovita,"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date","label":"Dc Date","values":["2026"]},{"key":"dc:publisher","label":"Institution","values":["Institutional Repository of Vilnius University"]},{"key":"dc:relation","label":"Dc Relation","values":["https://epublications.vu.lt/object/elaba:277679847/277679847.pdf"]},{"key":"dc:type","label":"Dc Type","values":["info:eu-repo/semantics/masterThesis"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["STIR-kNN, kNN, imbalanced classification, inference-time rebalancing, minority-class recall, asymmetric misclassification costs"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language","label":"Dc Language","values":["eng"]},{"key":"dc:rights","label":"Dc Rights","values":["info:eu-repo/semantics/openAccess"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier","label":"Identifier","values":["https://repository.vu.lt/VU:ELABAETD277679847&prefLang=en_US"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description","label":"Description","values":["This work introduces Stochastic Inference-Time Rebalancing kNN (STIR-kNN), an inference-time modification of the k-nearest neighbor classifier for imbalanced binary classification. The proposed method aims to improve minority-class recall while limiting the corresponding loss in majority-class precision, without modifying the training data. STIR-kNN combines adaptive neighborhood expansion with a stochastic vote-adjustment mechanism that selectively rebalances local class influence when minority-class evidence is detected. The approach is evaluated against standard kNN and kNN trained on SMOTE-augmented data across datasets with varying imbalance ratios, including numerical, heterogeneous, and time-dependent historical data. Experimental results demonstrate that STIR-kNN consistently enhances minority-class recall while maintaining competitive overall performance, highlighting the effectiveness of inference-time rebalancing for imbalanced kNN classification. These findings suggest that inference-time neighborhood rebalancing is an effective and flexible strategy for addressing class imbalance in kNN classifiers. STIR-kNN demonstrates that substantial gains in minority detection can be achieved without retraining or synthetic data generation, making it well-suited for applications where data integrity and deployment simplicity are critical."]},{"key":"dc:format","label":"Dc Format","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Handling class imbalance in k-nearest neighbors /","Klasių Disbalanso sprendimas k Artimiausių Kaimynų Klasifikatoriui."]}]}],"canonical_facts":{"dc:creator":["Matvejevaitė, Jovita,"],"dc:date":["2026"],"dc:description":["This work introduces Stochastic Inference-Time Rebalancing kNN (STIR-kNN), an inference-time modification of the k-nearest neighbor classifier for imbalanced binary classification. The proposed method aims to improve minority-class recall while limiting the corresponding loss in majority-class precision, without modifying the training data. STIR-kNN combines adaptive neighborhood expansion with a stochastic vote-adjustment mechanism that selectively rebalances local class influence when minority-class evidence is detected. The approach is evaluated against standard kNN and kNN trained on SMOTE-augmented data across datasets with varying imbalance ratios, including numerical, heterogeneous, and time-dependent historical data. Experimental results demonstrate that STIR-kNN consistently enhances minority-class recall while maintaining competitive overall performance, highlighting the effectiveness of inference-time rebalancing for imbalanced kNN classification. These findings suggest that inference-time neighborhood rebalancing is an effective and flexible strategy for addressing class imbalance in kNN classifiers. STIR-kNN demonstrates that substantial gains in minority detection can be achieved without retraining or synthetic data generation, making it well-suited for applications where data integrity and deployment simplicity are critical."],"dc:format":["application/pdf"],"dc:identifier":["https://repository.vu.lt/VU:ELABAETD277679847&prefLang=en_US"],"dc:language":["eng"],"dc:publisher":["Institutional Repository of Vilnius University"],"dc:relation":["https://epublications.vu.lt/object/elaba:277679847/277679847.pdf"],"dc:rights":["info:eu-repo/semantics/openAccess"],"dc:subject":["STIR-kNN, kNN, imbalanced classification, inference-time rebalancing, minority-class recall, asymmetric misclassification costs"],"dc:title":["Handling class imbalance in k-nearest neighbors /","Klasių Disbalanso sprendimas k Artimiausių Kaimynų Klasifikatoriui."],"dc:type":["info:eu-repo/semantics/masterThesis"]},"updated_at":"2026-11-19T10:11:18Z"}