Skip to content

Update RandomForestClassifierExample.scala#29119

Closed
ghost wants to merge 1 commit intomasterfrom
unknown repository
Closed

Update RandomForestClassifierExample.scala#29119
ghost wants to merge 1 commit intomasterfrom
unknown repository

Conversation

@ghost
Copy link

@ghost ghost commented Jul 15, 2020

Refine wrong code.

What changes were proposed in this pull request?

Why are the changes needed?

Does this PR introduce any user-facing change?

How was this patch tested?

@huaxingao
Copy link
Contributor

@kevinyu1949 Thanks for submitting a PR. Actually we intentionally changed labelIndexer.labels to labelIndexer.labelsArray(0) because StringIndexerModel.labels is deprecated and will be removed in future release.

@ghost ghost deleted the patch-1 branch July 15, 2020 07:41
@ghost
Copy link
Author

ghost commented Jul 15, 2020

Thanks for your response.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants