lib/rumale/linear_model/elastic_net.rb in rumale-0.22.2 vs lib/rumale/linear_model/elastic_net.rb in rumale-0.22.3

- old
+ new

@@ -79,10 +79,10 @@ end # Fit the model with given training data. # # @param x [Numo::DFloat] (shape: [n_samples, n_features]) The training data to be used for fitting the model. - # @param y [Numo::Int32] (shape: [n_samples, n_outputs]) The target values to be used for fitting the model. + # @param y [Numo::DFloat] (shape: [n_samples, n_outputs]) The target values to be used for fitting the model. # @return [ElasticNet] The learned regressor itself. def fit(x, y) x = check_convert_sample_array(x) y = check_convert_tvalue_array(y) check_sample_tvalue_size(x, y)