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

data attribute in principal_component #350

Open
DominiqueMakowski opened this issue Nov 25, 2020 · 3 comments
Open

data attribute in principal_component #350

DominiqueMakowski opened this issue Nov 25, 2020 · 3 comments
Labels
Consistency 🍏 🍎 Expected output across functions could be more similar Low priority 😴 This issue does not impact package functionality much

Comments

@DominiqueMakowski
Copy link
Member

attr(loadings, "data") <- data_name
attr(loadings, "data_set") <- original_data

That's minor but I just noticed that the data name and dataset as saved under these names, which is a bit counterintuitive (I would have expected data to be the dataset and for the name something like data_name or such). Do you have in mind if this is used in other places that in this context (to see whether it would be a problem to change it)?

Tam-Pham added a commit to Tam-Pham/parameters that referenced this issue Nov 25, 2020
strengejacke added a commit that referenced this issue Nov 25, 2020
@strengejacke
Copy link
Member

Do you have in mind if this is used in other places that in this context (to see whether it would be a problem to change it)?

Not sure, let's try :-) I think in performance we access the attribute, but not in see. Thus we probably don't access the data attribute for PCA anywhere right now?

strengejacke added a commit that referenced this issue Nov 25, 2020
@strengejacke
Copy link
Member

Ok, maybe we need a more smooth transition I just saw ... ^^

@strengejacke strengejacke added the Consistency 🍏 🍎 Expected output across functions could be more similar label Nov 25, 2020
@DominiqueMakowski
Copy link
Member Author

we probably don't access the data attribute for PCA anywhere right now

You mean the data name or the dataset?

@strengejacke strengejacke added the Low priority 😴 This issue does not impact package functionality much label Mar 7, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Consistency 🍏 🍎 Expected output across functions could be more similar Low priority 😴 This issue does not impact package functionality much
Projects
None yet
Development

No branches or pull requests

2 participants