public function fit(\CArray $X, \CArray $y, \CArray $sample_weight = null)
    {
        list($X, $y) = ValidationUtils::check_X_y($X, $y);
        return $this->_partial_fit($X, $y, CArray::unique($y), true, $sample_weight);
    }