def predict(self, X_feat, X_seq):
        """
        Predict the response variable :py:attr:`y` for new input data (:py:attr:`X_feat`, :py:attr:`X_seq`).

        Args:
            X_feat: Feature design matrix. Same format as :py:attr:`X_feat` in :py:meth:`train`
            X_seq:  Sequenc design matrix. Same format as  :py:attr:`X_seq` in :py:meth:`train`
        """

        # insert one dimension - backcompatiblity
        X_seq = np.expand_dims(X_seq, axis=1)

        return self._get_other_var(X_feat, X_seq, variable="y_pred")
def predict ( self , X_feat , X_seq ) : X_seq = np . expand_dims ( X_seq , axis = 1 ) return self . _get_other_var ( X_feat , X_seq , variable = "y_pred" )
Predict the response variable :py:attr:`y` for new input data (:py:attr:`X_feat`, :py:attr:`X_seq`).

        Args:
            X_feat: Feature design matrix. Same format as :py:attr:`X_feat` in :py:meth:`train`
            X_seq:  Sequenc design matrix. Same format as  :py:attr:`X_seq` in :py:meth:`train`