DEV Community

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

shaijut profile image
Shaiju T • Edited on

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 ?