...

/

Why Machine Learning is Specific

Why Machine Learning is Specific

Learn how machine learning is different from regular software.

ML-specific software

In regular software, bugs tend to be more explicit. In ML software, defects are much easier to hide. Let’s consider the code snippet below, where we have a simple function from a computer vision pipeline.

Press + to interact
def extract_angle_from_warp_matrix(rotation_matrix: np.ndarray) -> np.float:
# Extracts rotation angle (in degrees) from warp matrix
return np.rad2deg(np.arctan2(-rotation_matrix[1, 0], rotation_matrix[1, 1]))

Even code authors (people who probably understand the domain) might have a hard time ...