File tree Expand file tree Collapse file tree 1 file changed +0
-15
lines changed
Expand file tree Collapse file tree 1 file changed +0
-15
lines changed Original file line number Diff line number Diff line change @@ -43,21 +43,6 @@ MarkovModel.default <- function(model = NA,
4343 class = c(" MarkovModel" , " Model" ))
4444}
4545
46- # A decorator for constructing a MarkovModel from a DecisionTree
47- MarkovModel.DecisionTree <- function (model , mapping , ... ) {
48- init_probs <- map_terminal_to_markov(model $ data $ probability , mapping )
49- NextMethod(generic = MarkovModel ,
50- object = model ,
51- init_probs = init_probs , ... )
52- }
53-
54- # (Optional) If you need to convert a Markov model result back to a DecisionTree,
55- # you could implement DecisionTree.MarkovModel similarly.
56- DecisionTree.MarkovModel <- function (data , ... ) {
57- NextMethod(generic = DecisionTree ,
58- object = data , ... )
59- }
60-
6146# ##############################
6247# 2. Define the CombinedModel and infix operator for chaining
6348# ##############################
You can’t perform that action at this time.
0 commit comments