integer-overflow

"OverflowError: Python int too large to convert to C long" when running a RandomizedSearchCV with scipy distributions

"OverflowError: Python int too large to convert to C long" when running a RandomizedSearchCV with scipy distributions Question: I want to run the following RandomizedSearch: from scipy.stats import reciprocal, uniform tree_reg = DecisionTreeRegressor() param_grid = { "max_depth": np.arange(1, 12, 1), "min_samples_leaf": np.arange(2, 2259, 10), "min_samples_split": np.arange(2, 2259, 2), "max_leaf_nodes": np.arange(2, 2259, 2), "max_features": np.arange(2, len(features)) …

Total answers: 2