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

More DecisionTree improvements #1005

Merged
merged 6 commits into from
Jan 4, 2022
Merged

Conversation

dellaert
Copy link
Member

@dellaert dellaert commented Jan 4, 2022

  • Added some depth-first methods: fold, visit, visitWith
  • Use template for functions rather than std::functions, which matches against lambdas and function pointers as well.

# Conflicts:
#	gtsam/discrete/tests/testDecisionTree.cpp
# Conflicts:
#	gtsam/discrete/DecisionTree-inl.h
#	gtsam/discrete/DecisionTree.h
@dellaert dellaert self-assigned this Jan 4, 2022
Copy link
Collaborator

@ProfFan ProfFan left a comment

Choose a reason for hiding this comment

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

Approving sans one comment.

gtsam/navigation/ImuBias.h Show resolved Hide resolved
Copy link
Collaborator

@varunagrawal varunagrawal left a comment

Choose a reason for hiding this comment

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

LGTM

gtsam/navigation/ImuBias.h Show resolved Hide resolved
@dellaert dellaert merged commit 14ec0ae into develop Jan 4, 2022
@dellaert dellaert deleted the feature/better_decision_tree branch January 4, 2022 18:13
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