Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Multiclass One-Vs-Rest Classifier #1

Open
tezzytezzy opened this issue Mar 23, 2020 · 0 comments
Open

Add Multiclass One-Vs-Rest Classifier #1

tezzytezzy opened this issue Mar 23, 2020 · 0 comments
Assignees
Labels
enhancement New feature or request

Comments

@tezzytezzy
Copy link
Owner

Ideally One-Vs-Rest classifier to be added to an arsenal of binary classifications.

Using the already used base logistic Regression model as input as below,

OVR = OneVsRest(classifier=LR)
OVR_paramGrid = (ParamGridBuilder().build())
classification_model_and_paramgrid_list.append([OVR, OVR_paramGrid])

the line cvModel = cv.fit(df_train) throws the following exception.

IllegalArgumentException: 'Field "rawPrediction" does not exist.\nAvailable fields: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 1_INDEX, 1_VEC, 3_INDEX, 3_VEC, 4_INDEX, 4_VEC, 6_INDEX, 6_VEC, 7_INDEX, 7_VEC, 9_INDEX, 9_VEC, 10_INDEX, 10_VEC, 12_INDEX, 12_VEC, 14_INDEX, 14_VEC, 15_INDEX, 15_VEC, 17_INDEX, 17_VEC, 19_INDEX, 19_VEC, 20_INDEX, 20_VEC, label, features, std_features, pca_features, CrossValidator_01aa8f348031_rand, prediction'

@tezzytezzy tezzytezzy added the enhancement New feature or request label Mar 23, 2020
@tezzytezzy tezzytezzy self-assigned this Mar 23, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant