* predict the output of the model for given set of features * \param[in] x input vector * \param[out] out optional argument to return neuron output before * applying activation function (optional, `nullptr` to ignore) \returns * model prediction output */