Skip to content

Instantly share code, notes, and snippets.

@CS7646-ML4T
Created August 24, 2021 10:30
Show Gist options
  • Save CS7646-ML4T/30ceac59807b44258a59f2b993293ef8 to your computer and use it in GitHub Desktop.
Save CS7646-ML4T/30ceac59807b44258a59f2b993293ef8 to your computer and use it in GitHub Desktop.
import DTLearner as dt
learner = dt.DTLearner(leaf_size = 1, verbose = False) # constructor
learner.add_evidence(Xtrain, Ytrain) # training step
Ypred = learner.query(Xtest) # query
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment