docstr: Load model from a HDF5 file.
  Requires ``h5py`` http://docs.h5py.org/
  
  Parameters
  ----------
  path : str
      Full path to file.
  
  Returns
  -------
  Model instance
docstr_tok: ["Load","model","from","a","HDF5","file",".","Requires","``","h5py","``","http",":","\/\/docs.h5py.org\/","Parameters","--","--","--","--","--","path",":","str","Full","path","to","file",".","Returns","--","--","--","-","Model","instance"]
code: def from_hdf5(cls, path):
      """
      Load model from a HDF5 file.
      Requires ``h5py`` http://docs.h5py.org/
  
      Parameters
      ----------
      path : str
          Full path to file.
  
      Returns
      -------
      Model instance
      """
      if not HDF5_INSTALLED:
          raise ImportError(h5py_msg)
  
      model = hdftools.load_dict(path, "data")
      model = cls._byte2string(model)
  
      for k in model["hyper_params"].keys():
          if isinstance(model["hyper_params"][k], str):
              if model["hyper_params"][k] == "None":
                  model["hyper_params"][k] = None
  
      return cls._organize_model(cls, model)
  
imports: from abc import ABCMeta, abstractmethod
  from sklearn.exceptions import NotFittedError
  from sklearn.base import BaseEstimator
  import json
  import pickle
  import numpy
  from warnings import warn
label_desc: Use image node_id 9 for calling the BaseModelPackage obj's underlying member method code with example usage: obj.from_hdf5(cls, path) and returns: cls