def METHOD_NAME(sessionId, datatype, **kwargs):
    from cuml.linear_model.ridge_mg import RidgeMG
    handle = get_raft_comm_state(sessionId, get_worker())["handle"]
    return RidgeMG(handle=handle, output_type=datatype, **kwargs)