We're updating the issue view to help you get more done. 

Expose methods to get input/output names in H2OMOJOPipelineModel

Description

For Scala/Py we need method to get names of output /input columns. And also to get names of output classes for binomial and multinomial problems.

Something like (this is current workaround in PySparkling):

```
def get_input_names(mojo):
meta_input = mojo._java_obj.getOrCreateModel().getInputMeta()
return [meta_input.getColumnName(idx) for idx in range(0, meta_input.size())]

def get_output_names(mojo):
meta_output = mojo._java_obj.getOrCreateModel().getOutputMeta()
return [meta_output.getColumnName(idx) for idx in range(0, meta_output.size())]```

Environment

None

Status

Assignee

Jakub Hava

Reporter

Michal Malohlava

Labels

None

Release Priority

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

Fix versions

Priority

Critical