Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Edit the pca_weights_init function to fix eigenvectors #172

Closed
wants to merge 3 commits into from

Conversation

emeeubc
Copy link

@emeeubc emeeubc commented Nov 10, 2023

Modify line that calculates eigenvectors. Add line to calculate principal components. Modify line to calculate initial weights using the first two principal components.

@JustGlowing
Copy link
Owner

thanks for raising this PR, the ci is failing because of an indentation issue and there the units tests haven't been adjusted. Are you happy to make the necessary changes?

Fix indentation issue in pca_init
Update test_pca_weights_init. Redefine expected array.
@emeeubc
Copy link
Author

emeeubc commented Nov 14, 2023

My apologies! I believe I fixed the indentation issue and I updated the "expected" array under "test_pca_weights_init()" in the unit test section. Are any other changes required for the unit tests? Please let me know if there are any other issues.

@JustGlowing
Copy link
Owner

Unfortunate unit tests are still failing. Please check the output of the CI.

@JustGlowing JustGlowing added the to-be-merged PR that will be merged soon label Nov 17, 2023
@JustGlowing JustGlowing added duplicate and removed to-be-merged PR that will be merged soon labels Dec 21, 2023
@JustGlowing
Copy link
Owner

closing as the change has been implemented somewhere else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants