Task: Normalize Rows of a 2D NumPy Array
Task: Normalize Rows of a 2D NumPy Array: a task in Terminal-Lego-15k (Harbor dataset). Write a Python script that normalizes the rows of a 2-dimensional NumPy array. Row normalization means that the sum of entries in each row should equal 1 (i.e., each element is divided by the sum of its row).
The task
Write a Python script that normalizes the rows of a 2-dimensional NumPy array. Row normalization means that the sum of entries in each row should equal 1 (i.e., each element is divided by the sum of its row).
Part of PrimeIntellect/Terminal-Lego-15k.