Skip to content

add random state option to GeographicKFold & MaxEntModel #106

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

Open
wants to merge 6 commits into
base: main
Choose a base branch
from

Conversation

butterman0
Copy link

@butterman0 butterman0 commented Aug 4, 2025

I thought it would be helpful to add support for a random_state parameter to the GeographicKFold train-test splitter, so that results can be made reproducible when desired. This is a basic implementation with a corresponding unit test added.

@butterman0
Copy link
Author

@earth-chris , forgot to tag you!

@butterman0
Copy link
Author

butterman0 commented Aug 6, 2025

Hi @earth-chris, added random_state support to MaxentModel and added tests to verify. (And now updated docstring)

@butterman0 butterman0 changed the title add random state option to GeographicKFold add random state option to GeographicKFold & MaxEntModel Aug 6, 2025
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.

1 participant