Sulba
ReviewSign inAccount
Theme
Editor theme
Light
Dark

Beginner · The maths behind ML, as code

Vectors and matrices

Treat each breast mass sample as a vector in NumPy: score it along the line from the average benign sample to the average malignant one, and work out every distance between samples at once with the matrix product.

You build
vectors.py, then screen.py
Stages
3 Build, 1 Catch, 1 Ship
Time
About 3.5 hours

Loading the workspace…