Make ALL MOJOs importable with dummy metrics (import TargetencoderMojo as well)

Description

There is a use case for the Target Encoder MOJO to be importable into H2O, as it can be used as an independent transformer.

Recently added dummy metrics, which make it perfectly possible for all the models to be importable just for scoring, with a warning message displayed about metrics not being available for the model.

Environment

None

Status

Assignee

New H2O Bugs

Fix versions

None

Reporter

Pavel Pscheidl

Support ticket URL

None

Labels

None

Release Priority

None

Affected Spark version

None

Customer Request Type

None

Task progress

None

CustomerVisible

No

Priority

Major