Skip to content

Commit 1966f0b

Browse files
pinakinathcjnothman
authored andcommitted
[MRG] Fixes scikit-learn#10418 dataset: kddcup99: Removed unused randomstate (scikit-learn#10419)
1 parent 9f43de3 commit 1966f0b

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

sklearn/datasets/kddcup99.py

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -234,8 +234,7 @@ def fetch_kddcup99(subset=None, data_home=None, shuffle=False,
234234

235235

236236
def _fetch_brute_kddcup99(data_home=None,
237-
download_if_missing=True, random_state=None,
238-
percent10=True):
237+
download_if_missing=True, percent10=True):
239238

240239
"""Load the kddcup99 dataset, downloading it if necessary.
241240
@@ -249,13 +248,6 @@ def _fetch_brute_kddcup99(data_home=None,
249248
If False, raise a IOError if the data is not locally available
250249
instead of trying to download the data from the source site.
251250
252-
random_state : int, RandomState instance or None, optional (default=None)
253-
Random state for shuffling the dataset.
254-
If int, random_state is the seed used by the random number generator;
255-
If RandomState instance, random_state is the random number generator;
256-
If None, the random number generator is the RandomState instance used
257-
by `np.random`.
258-
259251
percent10 : bool, default=True
260252
Whether to load only 10 percent of the data.
261253

0 commit comments

Comments
 (0)