How to Pick Which Features Pass to the Model?

Hey guys, I’m new to Kaggle. During the last 2 days I have been focusing on creating feautres based on the base variables. In my final dataset, I have 34 variables. I’ve read that it’s not a good idea to pass all the variables to the model. That’s why I wonder if there’s any method besides common sense to pick the variables. I got ~0.74 so far in the public leaderbord. I attached my current version of the model. Pletase let me know your thoughts. Thanks in advance! 1 Attachment — titanic_model.R (4.73 KB)