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

Development #5

Merged
merged 11 commits into from
Jun 13, 2022
Merged

Development #5

merged 11 commits into from
Jun 13, 2022

Conversation

chanana
Copy link
Owner

@chanana chanana commented Jun 13, 2022

No description provided.

When setting the cutoff variance to something absurd like 40, I
encountered the following error:
`Error in svd(x, nu = 0, nv = k) : infinite or missing values in 'x'`
Upon tracking down the problem, I saw that a dataframe had a column that
contained the same number. This means that when I calculate:
`(x - mean(x)) / (sqrt(sd(x)))`, I will get a `NaN` resulting in an
error in the svd. The fix was to check for `NaN`s before proceeding with
`svd` using a simple `is.na` function.
@chanana chanana merged commit a7781dc into master Jun 13, 2022
@chanana chanana deleted the development branch June 13, 2022 01:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant