Skip to content
This repository was archived by the owner on Jan 15, 2026. It is now read-only.

Conversation

@PKGuo
Copy link
Contributor

@PKGuo PKGuo commented Nov 18, 2020

Replace some utility classes in 2_PrincipalCovariatesRegression.ipynb with appropriate sklearn classes and modified the corresponding text.

")\n",
"from utilities.kernels import linear_kernel, gaussian_kernel, center_kernel\n",
"from utilities.classes import PCA, LR, PCovR\n",
"from utilities.classes import PCovR # to be replaced with scalers from skcosmo\n",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

did you mean to say scalers here?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry. It should be "to be replaced with the class from skcosmo".

Copy link
Contributor

@rosecers rosecers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

just a few typos to fix

@PKGuo PKGuo requested a review from rosecers November 18, 2020 15:39
@PKGuo PKGuo changed the title Sklearnify NB2 Replace utility classes with sklearn classes in NB2 Nov 18, 2020
@rosecers rosecers merged commit 0ba9b8e into lab-cosmo:master Nov 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants