ValueError: shapes (120,6) and (7,) not aligned: 6 (dim 1) != 7 (dim 0)
ValueError: shapes (120,6) and (7,) not aligned: 6 (dim 1) != 7 (dim 0) Question: I’m trying to implement multiclass classification with logistic regression on an Iris.csv dataset from Kaggle. This is my code. import numpy as np import pandas as pd from sklearn.model_selection import train_test_split def standardize(X_tr): # (x-Mean(x))/std(X) Normalizes data for i in …
Total answers: 1