Pipeline Fit Takes In 2 Parameters Only
this is my code. import pandas as pd import numpy as np import json import seaborn as sb from sklearn.metrics import log_loss from sklearn import linear_model from sklearn.model
Solution 1:
You are right according to the documentation:
you can also check out this example:
pipeline / featureunion example
What is the error you're getting exactly? I would run something like the following:
pipeline.fit(df[:, -1], df[:, len(df.columns)]-1)
Post a Comment for "Pipeline Fit Takes In 2 Parameters Only"