We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f78154 commit 083bae9Copy full SHA for 083bae9
test/integration/static_algorithms.jl
@@ -55,6 +55,8 @@ end
55
algorithm = Selector(names=[:x, :w])
56
X = DataFrames.DataFrame(rand(3, 4), [:x, :y, :z, :w])
57
model = fit(algorithm) # no data arguments!
58
+ # if provided, data is ignored:
59
+ @test fit(algorithm, "junk")[] == model[]
60
@test LearnAPI.algorithm(model) == algorithm
61
W = transform(model, X)
62
@test W == DataFrames.DataFrame(Tables.matrix(X)[:,[1,4]], [:x, :w])
0 commit comments