Skip to content

Conversation

@AdarshSantoria
Copy link
Contributor

No description provided.

Copy link
Member

@rcurtin rcurtin left a comment

Choose a reason for hiding this comment

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

Thanks again, I love that you are going through all the documentation and finding issues like this. 👍

// The constructor takes a default-constructed factorizer, which, by default,
// is of type NMFALSFactorizer.
CF cf(data, NMFALSFactorizer(), neighborhood, rank);
CFType cf(data, NMFPolicy(), neighborhood, rank);
Copy link
Member

Choose a reason for hiding this comment

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

I thought that CF was typedef'ed to CFType<> (the default), but it seems like that code is not actually there in src/mlpack/methods/cf/cf.hpp! Do you want to instead add that typedef, and then this change shouldn't be needed?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, I had added that typedef.

std::cout << info.UnmapValue("T", 2) << "\n";
std::cout << info.UnmapValue("F", 2) << "\n";
std::cout << info.UnmapValue("True", 2) << "\n";
std::cout << info.UnmapValue("False", 2) << "\n";
Copy link
Member

Choose a reason for hiding this comment

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

Thanks, nice catch on this one. 👍

Change inorder to make CF typedef from CFType
@AdarshSantoria
Copy link
Contributor Author

AdarshSantoria commented Feb 7, 2023

One thing I want to ask src/mlpack/methods/src/cf/decomposition_policies/quic_svd_method.hpp is not there but is mentioned in documentation of cf so shall I add that file with reference to src/mlpack/methods/quic_svd.

@rcurtin
Copy link
Member

rcurtin commented Feb 8, 2023

One thing I want to ask src/mlpack/methods/src/cf/decomposition_policies/quic_svd_method.hpp is not there but is mentioned in documentation of cf so shall I add that file with reference to src/mlpack/methods/quic_svd.

Sure, if you see an easy way to hook it up, feel free! That would definitely be worth an entry in HISTORY.md, too.

Copy link
Member

@rcurtin rcurtin left a comment

Choose a reason for hiding this comment

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

Thanks, just one final comment. :)

- `QUIC_SVD`
- `BiasSVD`
- `SVDPlusPlus`
- `RandomizedSVD`
Copy link
Member

Choose a reason for hiding this comment

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

I took a look and I think these names don't actually correspond to what's used in the code. So instead of RandomizedSVD, we should have RandomizedSVDPolicy, etc.; I think there are errors in what was already there before too.

Copy link
Member

@rcurtin rcurtin left a comment

Choose a reason for hiding this comment

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

Thanks again! 👍

@conradsnicta
Copy link
Contributor

suggest to also add a corresponding item to HISTORY.md

Copy link

@mlpack-bot mlpack-bot bot left a comment

Choose a reason for hiding this comment

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

Second approval provided automatically after 24 hours. 👍

Co-authored-by: Ryan Curtin <[email protected]>
@rcurtin rcurtin merged commit fe23d1d into mlpack:master Feb 11, 2023
@rcurtin
Copy link
Member

rcurtin commented Feb 11, 2023

Thanks so much!

@AdarshSantoria AdarshSantoria deleted the cf branch February 22, 2023 12:58
@rcurtin rcurtin mentioned this pull request Apr 27, 2023
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.

3 participants