Description
More and more ML algos are accepting instance weights. We keep replicating code to test instance weighting in every test suite, which will get out of hand rather quickly. We can and should implement some generic instance weight test helper methods so that we can reduce duplicated code and standardize these tests.