skqulacs.save module#

skqulacs.save.restore(path: Union[str, pathlib.Path]) List[float][source]#

Load a learning parameter from a pickel file.

When you feed the restored parameter to fresh model, you have to call fit() with restored parameter because input/output scaler of the model is not initialized.

Parameters

path – File path from which a learning parameter is loaded.

skqulacs.save.save(parameter: List[float], path: Union[str, pathlib.Path]) None[source]#

Save a learning parameter to a pickel file.

Parameters
  • model – Learning parameter to save into pickle file.

  • path – File path to save the model.