def METHOD_NAME(self, dtype=np.float32):
    intercept = "intercept|" if self.fit_intercept else ""
    return {
        "fptype": "float" if dtype == np.float32 else "double",
        "method": self.algorithm,
        "intercept": self.fit_intercept,
        "result_option": (intercept + "coefficients"),
    }