Problem I get the same output everytime regardless of the input. Context I have a .csv with IDs that represent a team of 5 persons (previously formed teams) like this: My goal with the following code is to be able to input 4 IDs and get a prediction of what the 5th member should be. Answer Mainstream statisti…
Tag: sklearn-pandas
IndexError: tuple index out of range in LabelEncoder Sklearn
I would like to train a DecisionTree using sklearn Pipeline. My goal is to predict the ‘language’ column, using the ‘tweet’ as ngram transformed features. However I am not able to make the LabelEncoder transformation works for the ‘language’ column inside a pipeline. I saw …