Topic: Matrix Manipulation Problem / Level: advanced

Problem: Write a program to compute the Gini impurity for a dataset represented as a matrix.

Run the code to see the output here...