Open iPoetDev opened 3 months ago
Function `ensemble_random_forest_classifer excutes with Type Error
`ensemble_random_forest_classifer
Type Error: TypeError: cannot unpack non-iterable numpy.float64 object
TypeError: cannot unpack non-iterable numpy.float64 object
Unfamilar with applying models and common source of issues
ensemble_random_forest_classifier
Did ask Colab Google Gemini about TypeError - same error
Google Gemini
Droped train_accuracy and test_accuracy , and report in the return type, and just returned y_predict and testY
No response
Google Colab - Active Notebook https://colab.research.google.com/drive/1zby91B-O5wIAhXiYK5lFxfD46zCC1yb4?usp=sharing
File: https://github.com/iPoetDev/ibm-skills-ai-colab-sessions/blob/final-project/IBMSkillsBuild_ANSWER_AI_CreditCardFraudDetection_EN.ipynb
Current Behavior
Function
`ensemble_random_forest_classifer
excutes with Type ErrorType Error:
TypeError: cannot unpack non-iterable numpy.float64 object
Unfamilar with applying models and common source of issues
Expected Behavior
ensemble_random_forest_classifier
to excute without Type error.Steps to Reproduce
Did ask Colab
Google Gemini
about TypeError - same errorDroped train_accuracy and test_accuracy , and report in the return type, and just returned y_predict and testY
Environment
No response
Anything else?
No response