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 5afe7ac commit f690c44Copy full SHA for f690c44
test/traits.jl
@@ -6,7 +6,7 @@ using LearnAPI
6
# does nothing useful
7
struct SmallAlgorithm end
8
LearnAPI.fit(algorithm::SmallAlgorithm, data; verbosity=1) = algorithm
9
-LearnAPI.algorithm(algorithm::SmallAlgorithm) = algorithm
+LearnAPI.algorithm(model::SmallAlgorithm) = model
10
@trait(
11
SmallAlgorithm,
12
constructor = SmallAlgorithm,
0 commit comments