Skip to content

Conversation

shrit
Copy link
Member

@shrit shrit commented Feb 12, 2024

I will not more to this one, it is already 143 files.
Will follow up with subsequent PRs

@conradsnicta
Copy link
Contributor

@shrit @rcurtin @zoq I have concerns about this PR, as well as the adverse cumulative effect of all coot related PRs. The changes are too big for not much benefit, at the considerable cost of potential regressions, increased maintenance burden, as well as complicating the mlpack codebase.

I think there might be a better way forward -- see the corresponding issue in the mlpack contributors chat.

@shrit
Copy link
Member Author

shrit commented Feb 27, 2024

@rcurtin this is ready for review

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.

Nice changes. My comments are all little things... as I go through I often notice little things that are easy enough to fix. I did my best to leave suggestions everywhere so that it's not much work on your end. In either case though even if you don't take the suggestions I think everything is fine. 👍

@@ -20,7 +20,7 @@ namespace mlpack {
* A utility class that based on the data type forwards to `coot::conv_to` or
* `arma::conv_to`.
*
* @tparam OutputType The data type to convert to.
Copy link
Member

Choose a reason for hiding this comment

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

Technically that should still be @tparam (it is a template parameter). It's a bit of a moot point since we don't use doxygen anymore, but still, I think developers read this inline documentation.

Copy link
Member Author

Choose a reason for hiding this comment

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

Aha, that's something new I learned, I thought that this was a typo error.

Copy link
Member Author

Choose a reason for hiding this comment

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

I will fix that as well

Comment on lines 216 to 217
arma::vec index = ConvTo<arma::vec>::From(arma::find(Map
== arma::max(Map)));
== max(Map)));
Copy link
Member

Choose a reason for hiding this comment

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

This one will fit on one line now (sorry, Github won't let me suggest it).

shrit and others added 20 commits February 28, 2024 12:26
Signed-off-by: Omar Shrit <[email protected]>
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. 👍

@shrit
Copy link
Member Author

shrit commented Feb 28, 2024

@mlpack-jenkins test this please

@shrit shrit merged commit c2433cb into mlpack:master Feb 29, 2024
@shrit shrit deleted the coot_11 branch February 29, 2024 11:12
This was referenced May 26, 2024
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.

3 participants