Medical-imaging datasets are often smaller and more expensive to label than general image collections. Transfer learning helps by starting with a model that has already learned useful visual representations and adapting it to a new clinical task. Why pretrained features help Early neural-network layers detect patterns such as edges, shapes, and textures. Many of these…