Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
iPoetDev opened this issue Aug 18, 2024 · 2 comments
Labels
bug Something isn't working

Comments

@iPoetDev
Copy link
Owner

Current Behavior

  • Function ``ensemble_random_forest_classifer` excutes with Type Error

  • Type Error: TypeError: cannot unpack non-iterable numpy.float64 object

  • Unfamilar with applying models and common source of issues

image

Expected Behavior

  • Function ensemble_random_forest_classifier to excute without Type error.

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 iPoetDev added the bug Something isn't working label Aug 18, 2024
@iPoetDev iPoetDev changed the title 🐛 [Bug]: 🐛 [Bug]: Type Error - can not unpack non-iterable nump.float64 in Ensemble RFC function call. Aug 18, 2024
@iPoetDev
Copy link
Owner Author

iPoetDev added a commit that referenced this issue Aug 19, 2024
branch: final-project
fxied: See #10
bump: Submitted Answer
CHANGELOG 2024.08.19 v.0.3.3-00001

- modify: final-project/
  -  Notebook: Final Project Submitted Answer

- project: https://github.com/users/iPoetDev/projects/22
  - name: PROJECT: IBM Programme for Artificial Intelligence - Credit Card Fraud

- opened: 
- resolves: #9, #10
- see also:
iPoetDev added a commit that referenced this issue Aug 19, 2024
branch: final-project
fixed: See #10
bump: Submitted Answer
CHANGELOG 2024.08.19 v.0.3.3-00002

- modify: final-project/
  -  Notebook: Final Project Submitted Answer

- project: https://github.com/users/iPoetDev/projects/22
  - name: PROJECT: IBM Programme for Artificial Intelligence - Credit Card Fraud

- opened: 
- resolves: #9, #10
- see also:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant