DEV Community

Discussion on: A Simple Machine Learning Algorithm to Differentiate Between an Apple and an Orange

Collapse
 
shaijut profile image
Shaiju T • Edited

Nice, 😄, easy to understand. I hope we can change the labels like labels = [0, 0, 1, 1] , That should give the result as 1 for apple ? Labels can be any integer or are there any rules ?