Posts by Bruno Mello • 111 points
2 posts
-
1
votes1
answer158
viewsA: Find differences between arrays, with probability of variation
Try it this way: limit = 0.01 np.unique(a[(np.abs(np.subtract.outer(a,b)) > limit).all(1)])
-
0
votes1
answer208
viewsA: Neural Networks can’t Multiply Sequence by non-int of type 'float'
The problem is in the dataset, try using this one: https://archive.ics.uci.edu/ml/machine-learning-databases/iris/iris.data. The dataset you are trying to use has a header and you put as header=None…