Skip to content

DecisionTreeRegressor -ml_algo.(kaggle_doubt) #10

Answered by diffrxction
AKA-RONY asked this question in Q&A
Discussion options

You must be logged in to vote

@salvik43 Hey Salvik!

For doubt 1: random_state is a parameter that ensures that the data is split and sent into the machine learning model in a specific way. The way it helps us is that if two different ML models were being trained using the same algorithm and data, then setting the same random_state would ensure same portions of the data are being pushed into the model and would ensure very similar results in both cases. This could help us shift our focus to other parameters passed when training or initializing the model and we could adjust those to fine tune our results.

For doubt 2: predict function is called once the model has been completely trained with the training set. The goal o…

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@AKA-RONY
Comment options

@NeelaGitH
Comment options

@NeelaGitH
Comment options

@diffrxction
Comment options

@diffrxction
Comment options

Answer selected by diffrxction
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants