I am currently doing a class project to use a machine learning algorithm (SVM or Regression) to deduce whether two sentences are paraphrases of one another. We were given training, development, and test datasets, and when training my model I am given an accuracy that appears to be constant no matter which features are added/removed.
I believe it is possibly due to the model not properly attaining the features, but my primary concern is that depending on what I use, it produces a different constant accuracy.
Vscode:0.5021459227467812
JupyterLab (Kaggle): 0.7421652421652422
Training DataFrame
Development DataFrame
Code using training and development sets:
#development
X_train = df_train.iloc[:,6:]
y_train = df_train['gold label'].values
X_dev = df_dev.iloc[:,6:]
y_dev = df_dev['gold label'].values
classifier = svm.SVC()
classifier.fit(X_train, y_train)
Y_pred = classifier.predict(X_dev)
print(classifier.score(X_dev, y_dev))
Please let me know what the issue could be or if there is a better way. Thank you!