-
-
Notifications
You must be signed in to change notification settings - Fork 1k
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
[FIX] Fix varius deprecation (and other) warnings #1774
[FIX] Fix varius deprecation (and other) warnings #1774
Commits on Nov 22, 2016
-
Fix deprecation warnings for
numpy.random.random_integers
Replace random_integers with randint
Configuration menu - View commit details
-
Copy full SHA for efbb621 - Browse repository at this point
Copy the full SHA efbb621View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0c875ae - Browse repository at this point
Copy the full SHA 0c875aeView commit details
Commits on Nov 24, 2016
-
Pass arrays to sklearn as 2d arrays
Fix a 'DeprecationWarning: Passing 1d arrays as data is deprecated in 0.17 and will raise ValueError in 0.19. Reshape your data either using X.reshape(-1, 1) if your data has a single feature or X.reshape(1, -1) if it contains a single sample.' from scikit-learn
Configuration menu - View commit details
-
Copy full SHA for 55e8f9c - Browse repository at this point
Copy the full SHA 55e8f9cView commit details -
Fix a 'VisibleDeprecationWarning: using a non-integer number instead of an integer will result in an error in the future'
Configuration menu - View commit details
-
Copy full SHA for d3ddf38 - Browse repository at this point
Copy the full SHA d3ddf38View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0a085a7 - Browse repository at this point
Copy the full SHA 0a085a7View commit details -
Configuration menu - View commit details
-
Copy full SHA for 1b1b920 - Browse repository at this point
Copy the full SHA 1b1b920View commit details -
Explicitly handle StopIteration exeception in generators
Fix FutureDeprecationWarnings due to PEP 479
Configuration menu - View commit details
-
Copy full SHA for 9158dff - Browse repository at this point
Copy the full SHA 9158dffView commit details -
A OWWidget can be constructed only with only a mainArea (no controlArea, e.g. 'OWDistanceMatrix') in which case the constant index was incorect. Fixes a warning 'QSplitter::setCollapsible: Index 1 out of range' from Qt
Configuration menu - View commit details
-
Copy full SHA for 7febe17 - Browse repository at this point
Copy the full SHA 7febe17View commit details -
Specify dtype for numpy.full where appropriate
Suppress a "FutureWarning: in the future, full(...) will return an array of dtype('int64')"
Configuration menu - View commit details
-
Copy full SHA for 36f5dff - Browse repository at this point
Copy the full SHA 36f5dffView commit details -
Configuration menu - View commit details
-
Copy full SHA for 75f45c7 - Browse repository at this point
Copy the full SHA 75f45c7View commit details -
Pass y_score to roc_auc_class with dtype=float
Suppress a 'DeprecationWarning: numpy boolean subtract, the `-` operator, is deprecated, use the bitwise_xor, the `^` operator, or the logical_xor function instead'
Configuration menu - View commit details
-
Copy full SHA for 9f6ebcd - Browse repository at this point
Copy the full SHA 9f6ebcdView commit details -
Configuration menu - View commit details
-
Copy full SHA for b535452 - Browse repository at this point
Copy the full SHA b535452View commit details -
Configuration menu - View commit details
-
Copy full SHA for ee6478b - Browse repository at this point
Copy the full SHA ee6478bView commit details -
Remove second item insertion in the QGraphicsScene
Suppress a warning from Qt ('QGraphicsScene::addItem: item has already been added to this scene')
Configuration menu - View commit details
-
Copy full SHA for 5ba0cf5 - Browse repository at this point
Copy the full SHA 5ba0cf5View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8eba817 - Browse repository at this point
Copy the full SHA 8eba817View commit details -
distribution: Fix an AttributeError using numpy 1.12b
In numpy 1.12b passing the distribution.Continuous instance as the weight parameter to np.average triggers a: File "..numpy/lib/function_base.py", line 1138, in average if (scl == 0.0).any(): AttributeError: 'bool' object has no attribute 'any'
Configuration menu - View commit details
-
Copy full SHA for 3cf1bf4 - Browse repository at this point
Copy the full SHA 3cf1bf4View commit details -
Fix a FutureWarning from numpy.average (numpy 1.12b)
Passing a ndarray subclass to numpy.average triggers a: FutureWarning: np.average currently does not preserve subclasses, but will do so in the future to match the behavior of most other numpy functions such as np.mean. In particular, this means calls which returned a scalar may return a 0-d subclass object instead. In this case this is not what we want.
Configuration menu - View commit details
-
Copy full SHA for 6ab098a - Browse repository at this point
Copy the full SHA 6ab098aView commit details
Commits on Nov 25, 2016
-
Configuration menu - View commit details
-
Copy full SHA for 448253e - Browse repository at this point
Copy the full SHA 448253eView commit details -
Fix NaN couting in bincount when weights are supplied
Compute a 'weighted count' of NaNs if weights vector is supplied
Configuration menu - View commit details
-
Copy full SHA for 6067f6d - Browse repository at this point
Copy the full SHA 6067f6dView commit details