Cannot initialize model parameters via double braces in shell

Description

val drfParams = new DRFParams {
_train = xxx
_response = "response"
_ntrees = 1
}

in spark shell throws exception since code ^ create a new anonymous class

Assignee

Unassigned

Reporter

Michal Malohlava

Labels

None

CustomerVisible

No

testcase 1

None

testcase 2

None

testcase 3

None

h2ostream link

None

Affected Spark version

None

AffectedContact

None

AffectedCustomers

None

AffectedPilots

None

AffectedOpenSource

None

Support Assessment

None

Customer Request Type

None

Support ticket URL

None

End date

None

Baseline start date

None

Baseline end date

None

Task progress

None

Task mode

None

Priority

Major
Configure