com.eharmony.aloha.models.conversion
a model id
a submodel whose values should be translated
a scale factor
a translation
whether to round (true) or floor (false)
Issue a debug logging message, with an exception.
Issue a debug logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a debug logging message.
Issue a debug logging message.
the message object. toString()
is called to convert it
to a loggable string.
Issue a error logging message, with an exception.
Issue a error logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a error logging message.
Issue a error logging message.
the message object. toString()
is called to convert it
to a loggable string.
Issue a info logging message, with an exception.
Issue a info logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a info logging message.
Issue a info logging message.
the message object. toString()
is called to convert it
to a loggable string.
Determine whether debug logging is enabled.
Determine whether debug logging is enabled.
Determine whether error logging is enabled.
Determine whether error logging is enabled.
Determine whether info logging is enabled.
Determine whether info logging is enabled.
Determine whether trace logging is enabled.
Determine whether trace logging is enabled.
Determine whether warn logging is enabled.
Determine whether warn logging is enabled.
The logger is a @transient lazy val
to enable proper working with Spark.
The logger is a @transient lazy val
to enable proper working with Spark.
The logger will not be serialized with the rest of the class with which this
trait is mixed-in.
The name with which the logger is initialized.
The name with which the logger is initialized. This can be overridden in a derived class.
Get the name associated with this logger.
Get the name associated with this logger.
the name.
a model id
a model id
whether to round (true) or floor (false)
a scale factor
a submodel whose values should be translated
a submodel whose values should be translated
Produce a score.
Produce a score.
an input to the model representing covariate data.
a Tuple2 whose first field represents a simple version of the score, the second field (that should be a Some instance if audit is true) is a more involved reporting of the score including errors and all sub-model scores.
Issue a trace logging message, with an exception.
Issue a trace logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a trace logging message.
Issue a trace logging message.
the message object. toString()
is called to convert it
to a loggable string.
a translation
Issue a warn logging message, with an exception.
Issue a warn logging message, with an exception.
the message object. toString()
is called to convert it
to a loggable string.
the exception to include with the logged message.
Issue a warn logging message.
Issue a warn logging message.
the message object. toString()
is called to convert it
to a loggable string.
A model that converts from Scala Doubles to Scala Longs by scaling, translating, then rounding.
model input type
a model id
a submodel whose values should be translated
a scale factor
a translation
whether to round (true) or floor (false)