iPoetDev / ibm-skills-ai-colab-sessions

PORTFOLIO: IBM Skills Build Programme for Artificial Intelligence - CoLab - Live Sessions & Final Project
GNU General Public License v3.0
1 stars 1 forks source link

🐛 [Bug]: Type Error - can not unpack non-iterable nump.float64 in Ensemble RFC function call. #10

Open iPoetDev opened 3 months ago

iPoetDev commented 3 months ago

Current Behavior

image

Expected Behavior

image

Steps to Reproduce

  1. Did ask Colab Google Gemini about TypeError - same error

    • Did revert from variable assignment to print the model score for training and testing (see screenshot) image
      • As lab code was for printing. image
  2. Droped train_accuracy and test_accuracy , and report in the return type, and just returned y_predict and testY image

Environment

No response

Anything else?

No response

iPoetDev commented 3 months ago

Google Colab - Active Notebook https://colab.research.google.com/drive/1zby91B-O5wIAhXiYK5lFxfD46zCC1yb4?usp=sharing

iPoetDev commented 3 months ago

File: https://github.com/iPoetDev/ibm-skills-ai-colab-sessions/blob/final-project/IBMSkillsBuild_ANSWER_AI_CreditCardFraudDetection_EN.ipynb