0.1, 'b' => 0.7, 'c' => 0.2, ], [ 'a' => 0.2, 'b' => 0.3, 'c' => 0.5, ], [ 'a' => 0.6, 'b' => 0.1, 'c' => 0.3, ], ]; self::assertEquals($probabilities, DataTransformer::probabilities($rawPredictions, $labels)); } public function testThrowExceptionWhenTestSetIsEmpty(): void { $this->expectException(InvalidArgumentException::class); $this->expectExceptionMessage('The array has zero elements'); DataTransformer::testSet([]); } }