public static function make_dataset(\CArray $X, \CArray $y, $sample_weight, $random_state=null) : array
    {
        $seed = rand(0, 10);
        $dataset = new ArrayDataset($X, $y, $sample_weight, $seed);
        $intercept_decay = 1.0;
        return [$dataset, $intercept_decay];
    }