New Function

This is a new function introduced in PyCaret 2.0x. 

Set Config


This function is used to reset global environment variables. 

See what global variables are accessible by modules:

 

Example

 

Code
# loading dataset
from pycaret.datasets import get_data
data = get_data('diabetes')

# initializing setup
from pycaret.classification import *
clf1 = setup(data, target = 'Class variable', session_id = 123)

# reset environment seed
set_config('seed', 999) #seed now reset to 999 from 123

 

Output

No output.

 

Try this next


 

Was this page helpful?

GitHub

Send feedback