# scipy.stats.sampling.TransformedDensityRejection.set_random_state#

TransformedDensityRejection.set_random_state(random_state=None)#

Set the underlying uniform random number generator.

Parameters:
random_state{None, int, `numpy.random.Generator`,

A NumPy random number generator or seed for the underlying NumPy random number generator used to generate the stream of uniform random numbers. If random_state is None (or np.random), the `numpy.random.RandomState` singleton is used. If random_state is an int, a new `RandomState` instance is used, seeded with random_state. If random_state is already a `Generator` or `RandomState` instance then that instance is used.
{"ft_lang_label":"__label__en","ft_lang_prob":0.54533744,"math_prob":0.9283925,"size":719,"snap":"2022-40-2023-06","text_gpt3_token_len":153,"char_repetition_ratio":0.21398601,"word_repetition_ratio":0.0,"special_character_ratio":0.18080668,"punctuation_ratio":0.22881356,"nsfw_num_words":0,"has_unicode_error":false,"math_prob_llama3":0.9867748,"pos_list":[0],"im_url_duplicate_count":[null],"WARC_HEADER":"{\"WARC-Type\":\"response\",\"WARC-Date\":\"2023-02-01T09:56:44Z\",\"WARC-Record-ID\":\"<urn:uuid:9cd30ed8-4893-44d7-87de-817733d8ed0b>\",\"Content-Length\":\"25108\",\"Content-Type\":\"application/http; msgtype=response\",\"WARC-Warcinfo-ID\":\"<urn:uuid:e573ff21-1e01-4433-aade-a3a569dda07f>\",\"WARC-Concurrent-To\":\"<urn:uuid:61d6103e-f5ee-4fa8-9b22-0766bf545037>\",\"WARC-IP-Address\":\"50.17.248.72\",\"WARC-Target-URI\":\"https://docs.scipy.org/doc/scipy/reference/generated/scipy.stats.sampling.TransformedDensityRejection.set_random_state.html\",\"WARC-Payload-Digest\":\"sha1:7QQJQOXGUT3HYLPQNYCHPKDY6YQPGEUS\",\"WARC-Block-Digest\":\"sha1:IR567M37HRYDJBKQI6F72M3HHB2PDWID\",\"WARC-Identified-Payload-Type\":\"text/html\",\"warc_filename\":\"/cc_download/warc_2023/CC-MAIN-2023-06/CC-MAIN-2023-06_segments_1674764499919.70_warc_CC-MAIN-20230201081311-20230201111311-00795.warc.gz\"}"}