Skip to content

Include extra input variables into block cross-validation in Verde and using polygons as coordinates #86

Answered by leouieda
AAzzam91 asked this question in Q&A
Discussion options

You must be logged in to vote

How can I include extra independent or feature variables (input) into the following functions:

That was a bit of an oversight on my part. It should be possible to make verde.BlockKFold more flexible so that it can take X with more than 2 features. Right now that doesn't work because of this line: https://github.com/fatiando/verde/blob/main/verde/base/base_classes.py#L81

Making it more flexible would mean remove that restriction and passing an argument to tell the class which features are the coordinates used for blocking. This is an interesting idea and I opened this issue to keep track of progress on that: fatiando/verde#398 Thanks!

The second question that I would like to ask is abou…

Replies: 2 comments 2 replies

Comment options

You must be logged in to vote
1 reply
@leouieda
Comment options

Comment options

You must be logged in to vote
1 reply
@AAzzam91
Comment options

Answer selected by AAzzam91
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
verde Questions about Verde
2 participants
Converted from issue

This discussion was converted from issue #85 on November 30, 2022 06:26.