Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
def get_test(self, test):
return ScoreArray(self.models,
scores=super(ScoreMatrix, self).__getitem__(test),
weights=self.weights)
def get_model(self, model):
return ScoreArray(self.tests,
scores=self.loc[model, :],
weights=self.weights)