h2o-py/h2o/h2o.py
def load_model(path):
    """
    Load a saved H2O model from disk. (Note that ensemble binary models can now be loaded using this method.)

    :param path: the full path of the H2O Model to be imported.

    :returns: an :class:`H2OEstimator` object

    :examples:
        >>> path = h2o.save_model(my_model, dir=my_path)
        >>> h2o.load_model(path)
    """
    assert_is_type(path, str)
    res = api("POST /99/Models.bin/%s" % "", data={"dir": path})
    return get_model(res["models"][0]["model_id"]["name"])
def load_model(path):
    """
    Load a saved H2O model from disk. (Note that ensemble binary models can now be loaded using this method.)

    :param path: the full path of the H2O Model to be imported.

    :returns: an :class:`H2OEstimator` object

    :examples:
        >>> path = h2o.save_model(my_model, dir=my_path)
        >>> h2o.load_model(path)
    """
    assert_is_type(path, str)
    res = api("POST /99/Models.bin/%s" % "", data={"dir": path})
    return get_model(res["models"][0]["model_id"]["name"])
def load_model ( path ) : assert_is_type ( path , str ) res = api ( "POST /99/Models.bin/%s" % "" , data = { "dir" : path } ) return get_model ( res [ "models" ] [ 0 ] [ "model_id" ] [ "name" ] )
Load a saved H2O model from disk. (Note that ensemble binary models can now be loaded using this method.)

    :param path: the full path of the H2O Model to be imported.

    :returns: an :class:`H2OEstimator` object

    :examples:
        >>> path = h2o.save_model(my_model, dir=my_path)
        >>> h2o.load_model(path)
Load a saved H2O model from disk . ( Note that ensemble binary models can now be loaded using this method . )