Skip to content

Corrected cross_validation function procedure#1009

Closed
uchihabloodline wants to merge 1 commit into
aimacode:masterfrom
uchihabloodline:patch-1
Closed

Corrected cross_validation function procedure#1009
uchihabloodline wants to merge 1 commit into
aimacode:masterfrom
uchihabloodline:patch-1

Conversation

@uchihabloodline

Copy link
Copy Markdown
Contributor

corrected the function procedure as according to the standardized approaches.

corrected the function procedure as according to the standardized approaches.
Comment thread learning.py
random.shuffle(dataset.examples)
for fold in range(k):
random.shuffle(dataset.examples)

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Please remove the empty line here.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

please check #1028

@dmeoli

dmeoli commented Jun 26, 2026

Copy link
Copy Markdown
Member

Thanks @uchihabloodline. cross_validation was reimplemented in the learning.py refactor, so this 2019 shuffle change no longer applies. Closing as superseded — thanks!

@dmeoli dmeoli closed this Jun 26, 2026
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