Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to implement the Gini impurity calculation for a classification task using matrices.

Run the code to see the output here...