linkedin / luminol

Anomaly Detection and Correlation library
Apache License 2.0
1.19k stars 217 forks source link

Fix AttributeError: module 'numpy' has no attribute 'asscalar' #65

Closed skhode closed 1 year ago

skhode commented 1 year ago

numpy.asscalar() is deprecated with version 1.16, hence replacing with numpy.ndarray.item()