Skip to content
Snippets Groups Projects
Commit 2db4ae3e authored by Luc Giffon's avatar Luc Giffon
Browse files

add small comment question

parent d7865314
Branches
Tags
2 merge requests!3clean scripts,!2Luc manage normalization
......@@ -57,6 +57,7 @@ class OmpForestRegressor(BaseEstimator):
D = self._forest_prediction(X_train)
if self._models_parameters.normalize:
# question: maybe consider other kinds of normalization
self._logger.debug("Compute norm of predicted vectors on X_train")
self._forest_norms = np.linalg.norm(D, axis=0)
D /= self._forest_norms
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment