Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis+ 1
Python is high or something
I'm doing the Decision Tree project in the ML course and it's giving me a stupid error. You know what else is stupid? I can't post images or link posts with images in these questions. I made a post on my profile with the image and the caption "ok wtf?"
3 Respostas
+ 1
Yea Iām pretty sure thatās your problem, roughly created:
import numpy as np
A = [1, 2, 3]
print(np.array(A).sum() / np.array(A).sum())
Produces no error, however remove the parenthesis after sum and thereās your error š (obviously you can pass in parameters if needed)
+ 1
Right it is a function I forgot
0
Aiden, if your struggling to post links can you take a photo of your code (around line 12).
However isnāt sum a function, shouldnāt there be parenthesis?