Posts by amiasato • 146 points
2 posts
-
1
votes1
answer92
viewsA: PYTHON - Fibonacci Sequence Implementation
You’re making a classic mistake of off-by-one (error-of-one). while (i <= 100): will make you access up to the value Fibonacci[100], which does not exist - values for the list have been…
-
2
votes1
answer52
viewsA: How to do k-fold validation when I change the cut-off of the model?
To link a different threshold to MLPClassifier keeping the optimization interface for cross-validation, you can encapsulate it in a class it inherits from BaseEstimator and ClassifierMixin: from…