A YOLOv11-based machine learning model, trained on 376 immunohistochemical images, automated ICC detection using the CD117 marker, achieving a mean average precision (mAP50) of 92%, with a recall of 86% and precision of 88%. Here, KIT is linked to intrahepatic cholangiocarcinoma.