Skip to content

SFFS: Write Intermidiate Results to a file #1051

Closed Answered by rasbt
arilwan asked this question in Q&A
Discussion options

You must be logged in to vote

I think you could replace the sys.stderr.write lines with f.write(...)'s where f is a file object open for writing. Or, you could redirect the stderr out in your terminal to a file.

Then, you could could insert self.finalize_fit() calls in the fit method; maybe here would be a good point: https://github.com/rasbt/mlxtend/blob/master/mlxtend/feature_selection/sequential_feature_selector.py#LL534C2-L536C40

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by arilwan
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants