ValueError: Number of features of the model must match the input. Model n_features is 2 and input n_features is 7.
I have the following error: I have not used any type of encoding(like one-hot etc.) I just trained the model with 7 given features. Now when I want to do prediction like classifier.predict([[1,2,3,4,5,6,7]]) I have an error that 2 inputs are expected. But how do I know which exactly features Random Forest expects as inputs?