Skip to content

Commit 51dc062

Browse files
authored
Merge pull request JuliaAI#53 from JuliaAI/doc-fix-report
Fix some doc strings
2 parents de9a8c8 + a00180c commit 51dc062

File tree

3 files changed

+11
-1
lines changed

3 files changed

+11
-1
lines changed

Project.toml

+2-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ julia = "1.6"
2121
MLJBase = "a7f614a8-145f-11e9-1d2a-a57a1082229d"
2222
MLJTestInterface = "72560011-54dd-4dc2-94f3-c5de45b75ecd"
2323
StableRNGs = "860ef19b-820b-49d6-a774-d7a799459cd3"
24+
StatisticalMeasures = "a19d573c-0a75-4610-95b3-7071388c7541"
2425
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
2526

2627
[targets]
27-
test = ["MLJBase", "MLJTestInterface", "StableRNGs", "Test"]
28+
test = ["MLJBase", "MLJTestInterface", "StableRNGs", "StatisticalMeasures", "Test"]

src/MLJDecisionTreeInterface.jl

+8
Original file line numberDiff line numberDiff line change
@@ -765,6 +765,8 @@ The fields of `fitted_params(mach)` are:
765765
766766
# Report
767767
768+
The fields of `report(mach)` are:
769+
768770
- `features`: the names of the features encountered in training
769771
770772
@@ -862,6 +864,8 @@ The fields of `fitted_params(mach)` are:
862864
863865
# Report
864866
867+
The fields of `report(mach)` are:
868+
865869
- `features`: the names of the features encountered in training
866870
867871
@@ -968,6 +972,8 @@ The fields of `fitted_params(mach)` are:
968972
969973
# Report
970974
975+
The fields of `report(mach)` are:
976+
971977
- `features`: the names of the features encountered in training
972978
973979
@@ -1079,6 +1085,8 @@ The fields of `fitted_params(mach)` are:
10791085
10801086
# Report
10811087
1088+
The fields of `report(mach)` are:
1089+
10821090
- `features`: the names of the features encountered in training
10831091
10841092

test/runtests.jl

+1
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ using StableRNGs
66
using Random
77
using Tables
88
import MLJTestInterface
9+
using StatisticalMeasures
910

1011
# load code to be tested:
1112
import DecisionTree

0 commit comments

Comments
 (0)