MCPcopy Create free account
hub / github.com/AssemblyAI-Community/Machine-Learning-From-Scratch / train.py

File train.py

04 Decision Trees/train.py:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1from sklearn import datasets
2from sklearn.model_selection import train_test_split
3import numpy as np
4from DecisionTree import DecisionTree

Callers

nothing calls this directly

Calls 4

DecisionTreeClass · 0.90
accuracyFunction · 0.70
fitMethod · 0.45
predictMethod · 0.45

Tested by

no test coverage detected