You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
using OutlierDetection: ESADDetector, fit, score
detector = ESADDetector()
X = rand(10, 100)
y = rand([-1,1], 100)
model = fit(detector, X, y)
train_scores, test_scores = score(detector, model, X)
I receive multiple errors. First, that score does not exist in OutlierDetection, then verbosity is not set on fit. I can resolve those errors, but I'm unable to resolve this
ERROR: DomainError with Supervised detectors can only be fitted with array
inputs with one observation per last dimension, found X=Matrix{Float64}, y=Vector{Int64}:
Stacktrace:
[1] fit(::DSADDetector, X::Matrix{Float64}, y::Vector{Int64}; verbosity::Int64)
@ OutlierDetectionInterface ~/.julia/packages/OutlierDetectionInterface/8U8oT/src/base.jl:137
[2] top-level scope
@ REPL[34]:1
[3] top-level scope
@ ~/.julia/packages/CUDA/DfvRa/src/initialization.jl:52
Describe the bug
When running the ESADDetector example from the documentation here https://outlierdetectionjl.github.io/OutlierDetection.jl/dev/API/detectors/#esaddetector
Specifically
I receive multiple errors. First, that
score
does not exist in OutlierDetection, thenverbosity
is not set onfit
. I can resolve those errors, but I'm unable to resolve thisVersions
The text was updated successfully, but these errors were encountered: