Topic: Matrix Manipulation Problem / Level: advanced

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

Run the code to see the output here...