AbstractTrees.jl
AbstractTrees.jl copied to clipboard
Abstract julia interfaces for working with trees
I'm currently implementing a plot recipe for decision trees in order to be able to visualize all decision trees within the MLJ-package. The goal is a plot recipe that 1....
I haven't had much time to contribute to this package for quite a while, but this was a major issue I identified way back when I was thinking about expanding...
Iterating over `StatelessBFS` calls `getindex` on the object returned by `children()`: ``` julia> collect(StatelessBFS(n)) ERROR: MethodError: no method matching getindex(::VectorTreeChildren, ::Int64) Stacktrace: [1] getdescendant @ ~/.julia/packages/AbstractTrees/kBTzE/src/indexing.jl:29 [inlined] [2] iterate(ti::StatelessBFS{VectorTreeNode}, ind::Vector{Any})...
I'd like to customize the color of those characters in `TreeCharSet` with https://github.com/KristofferC/Crayons.jl . But the type is constrained to `String` currently. (I remember it was not in prior minor...
I am having difficulty getting my head around the indexed tree interface. I have a small package [RangeTrees.jl](https://github.com/dmbates/RangeTrees.jl) that creates interval trees in what I think is the indexed tree...
https://github.com/JuliaAI/DecisionTree.jl/runs/6823455543?check_suite_focus=true
I noticed the following [docstring](https://github.com/JuliaCollections/AbstractTrees.jl/blob/ab3d4786835e71a8d7b8259480dc9569869a8f56/src/traits.jl#L162-L171) was incomplete: > OPTIONAL: Type inference is used to attempt to
# v0.4 Eco Checks I have run unit tests for all direct dependents against v0.4 as of the latest commit on my latest PR. As you can see, most packages...
Restoring the old `printnode` method for potentially large collections (`fAbstractArray` and `AbstractDict`), which just prints the type.
I have just come to fully understand a problem that I was struggling with a bit when I wrote my 0.4 PR: current master on this package still conflates "keys"...