golemfactory / golem-verificator

Shared module for verification (Golem & Concent)
1 stars 3 forks source link

Handling metrics warnings #49

Open Elfoniok opened 6 years ago

Elfoniok commented 6 years ago

We fix those warnings:

/usr/local/lib/python3.6/site-packages/sklearn/base.py:311: UserWarning: Trying to unpickle estimator DecisionTreeClassifier from version 0.19.1 when using version 0.19.2. This might lead to breaking code or invalid results. Use at your own risk. UserWarning) /usr/local/lib/python3.6/site-packages/skimage/util/arraycrop.py:177: FutureWarning: Using a non-tuple sequence for multidimensional indexing is deprecated; use arr[tuple(seq)] instead of arr[seq]. In the future this will be interpreted as an array index, arr[np.array(seq)], which will result either in an error or a different result. cropped = ar[slices] /usr/local/lib/python3.6/site-packages/skimage/measure/simple_metrics.py:150: RuntimeWarning: divide by zero encountered in double_scalars return 10 * np.log10((data_range ** 2) / err)