Created
July 1, 2020 16:57
-
-
Save pycaret/ee1ab553b520101370b4ec22591dcacd to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# import regression module | |
from pycaret.regression import * | |
# init setup | |
reg1 = setup(data, target = 'charges', silent=True, | |
categorical_features=['sex', 'smoker', 'region', 'children'], | |
numeric_features=['age', 'bmi']) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment