diff --git a/GPy/models/gp_classification.py b/GPy/models/gp_classification.py index 8bd01a28..a116b456 100644 --- a/GPy/models/gp_classification.py +++ b/GPy/models/gp_classification.py @@ -56,7 +56,7 @@ class GPClassification(GP): return GPClassification.from_gp(m) def save_model(self, output_filename, compress=True, save_data=True): - self._save_model(output_filename, compress=True, save_data=True) + self._save_model(output_filename, compress=compress, save_data=save_data) @staticmethod def _build_from_input_dict(input_dict, data=None): diff --git a/GPy/models/gp_regression.py b/GPy/models/gp_regression.py index 10b3ba61..3da596ef 100644 --- a/GPy/models/gp_regression.py +++ b/GPy/models/gp_regression.py @@ -54,4 +54,4 @@ class GPRegression(GP): return GPRegression.from_gp(m) def save_model(self, output_filename, compress=True, save_data=True): - self._save_model(output_filename, compress=True, save_data=True) + self._save_model(output_filename, compress=compress, save_data=save_data)