Optimization of Optical Nanosensor Response for the Detection of Anthracyclines Using a Binary Machine Learning Classifier