Skip to content

Commit

Permalink
correct typo in AbstractTrees.printnode
Browse files Browse the repository at this point in the history
  • Loading branch information
roland-KA committed Nov 1, 2023
1 parent 370489b commit cfd6850
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Trees/AbstractTrees_BetaML_interface.jl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ function AbstractTrees.printnode(io::IO, node::InfoNode)
q = node.node.question
condition = isa(q.value, Number) ? ">=" : "=="
col = :featurenames keys(node.info) ? node.info.featurenames[q.column] : q.column
print(io, "$(col) $condition $(q.value))?")
print(io, "$(col) $condition $(q.value)?")
end

function AbstractTrees.printnode(io::IO, leaf::InfoLeaf)
Expand Down

0 comments on commit cfd6850

Please sign in to comment.