MCPcopy Index your code
hub / github.com/ajtulloch/decisiontrees

github.com/ajtulloch/decisiontrees @main

Chat with this repo
repository ↗ · DeepWiki ↗ · + Follow
5,965 symbols 14,349 edges 268 files 424 documented · 7%
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

Evaluator (Interface)
Evaluator implements the evaluator of a decision tree given a feature vector [4 implementers]
evaluator.go
LossFunction (Interface)
LossFunction is an arbitrary loss function used in computing decision trees [3 implementers]
loss_function.go
FeatureSelector (Interface)
FeatureSelector allows algorithms to configure which features to use for a given round of splitting [2 implementers]
feature_selector.go
ForestGenerator (Interface)
ForestGenerator is implemented by various algorithms that generate an ensemble of decision trees from the given training [2 …
forest_generator.go
DataSource (Interface)
DataSource is an interface for extracting training data from an arbitrary location TODO(tulloch) - make this an iterator [1 …
mongotrainer/data_source.go
TreeMapperFunc (FuncType)
TreeMapperFunc returns the mapped node and a boolean representing whether we should continue traversal
pruning.go
EvaluatorFunc (FuncType)
EvaluatorFunc implements the Evaluator interface
evaluator.go

Core symbols most depended-on inside this repo

get
called by 244
ui/app/decisiontrees/resources.py
getY
called by 95
ui/static/lib/bower_components/nvd3/nv.d3.js
getY
called by 95
ui/static/lib/bower_components/angularjs-nvd3-directives/examples/js/nv.d3.js
forEach
called by 82
ui/static/lib/angular/angular.js
forEach
called by 77
ui/static/lib/bower_components/angular/angular.js
forEach
called by 77
ui/static/lib/bower_components/angularjs-nvd3-directives/examples/js/angular.js
forEach
called by 76
ui/static/test/lib/angular/angular-scenario.js
x
called by 64
ui/static/lib/bower_components/nvd3/lib/d3.v2.js

Shape

Function 5,666
Method 216
Struct 43
Class 22
TypeAlias 7
Interface 6
FuncType 4
Route 1

Languages

TypeScript94%
Go5%
Python1%

Modules by API surface

ui/static/lib/d3/d3.v3.js516 symbols
ui/static/lib/bower_components/d3/d3.js514 symbols
ui/static/lib/bower_components/angularjs-nvd3-directives/examples/js/d3.js514 symbols
ui/static/lib/bower_components/nvd3/lib/d3.v3.js498 symbols
ui/static/lib/bower_components/nvd3/lib/d3.v2.js397 symbols
ui/static/test/lib/angular/angular-scenario.js376 symbols
ui/static/lib/bower_components/d3/d3.min.js346 symbols
ui/static/lib/bower_components/angularjs-nvd3-directives/examples/js/angular.js310 symbols
ui/static/lib/bower_components/angular/angular.js310 symbols
ui/static/lib/angular/angular.js307 symbols
ui/static/lib/bower_components/nvd3/lib/d3.v2.min.js263 symbols
ui/static/lib/bower_components/angular/angular.min.js168 symbols

For agents

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

⬇ download graph artifact