MCPcopy Index your code
hub / github.com/dmitryikh/leaves

github.com/dmitryikh/leaves @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
374 symbols 1,222 edges 45 files 108 documented · 29%
What it actually does AI analysis from the code graph — generated when you open this
loading…

Extension points exported contracts — how you extend this code

PythonClass (Interface)
PythonClass is interface to restore python class representation in Go struct. Pickle restore python classes in two steps [7 …
internal/pickle/types.go
Transform (Interface)
(no doc) [5 implementers]
transformation/transformation.go
NumpyElementFunc (FuncType)
(no doc)
internal/pickle/numpy.go

Core symbols most depended-on inside this repo

NOutputGroups
called by 28
transformation/transformation.go
AlmostEqualFloat64Slices
called by 28
util/util.go
DenseMatFromCsvFile
called by 26
mat/mat_io.go
ParseClass
called by 18
internal/pickle/types.go
LGEnsembleFromFile
called by 17
lgensemble_io.go
PredictCSR
called by 15
leaves.go
PredictDense
called by 14
leaves.go
predict
called by 13
lgtree.go

Shape

Method 154
Function 151
Struct 43
Class 14
TypeAlias 7
Interface 3
FuncType 2

Languages

Go84%
Python16%

Modules by API surface

leaves_test.go43 symbols
testscripts/compatibility_core.py28 symbols
leaves.go27 symbols
util/util.go22 symbols
internal/pickle/types.go22 symbols
internal/xgbin/xgbin_io.go18 symbols
testscripts/doctest.py15 symbols
mat/mat_io.go14 symbols
internal/pickle/sklearn.go14 symbols
internal/pickle/numpy.go14 symbols
lgensemble_io.go13 symbols
lgtree.go12 symbols

For agents

$ claude mcp add leaves \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact

Ask about this repo answers extend the page