Skip to content

Fix MSE calculation bug and refactor decision tree logic#14485

Open
kazisufiyan-k2 wants to merge 1 commit intoTheAlgorithms:masterfrom
kazisufiyan-k2:patch-2
Open

Fix MSE calculation bug and refactor decision tree logic#14485
kazisufiyan-k2 wants to merge 1 commit intoTheAlgorithms:masterfrom
kazisufiyan-k2:patch-2

Conversation

@kazisufiyan-k2
Copy link
Copy Markdown

Describe your change:

  • Fix a small issue in the decision tree implementation

I noticed a small problem in the MSE calculation and fixed it. Also cleaned up some parts of the code to make it easier to read.

Checklist:

  • I have read CONTRIBUTING.md
  • This is my own work
  • Only one file is changed
  • Code follows basic Python conventions
  • Doctests are passing

@algorithms-keeper algorithms-keeper bot added enhancement This PR modified some existing files awaiting reviews This PR is ready to be reviewed labels Mar 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting reviews This PR is ready to be reviewed enhancement This PR modified some existing files

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant