mirror of
https://github.com/helblazer811/ManimML.git
synced 2025-05-18 19:16:24 +08:00
27 lines
584 B
Python
27 lines
584 B
Python
"""
|
|
Module for visualizing decision trees in Manim.
|
|
It parses a decision tree classifier from sklearn.
|
|
"""
|
|
from manim import *
|
|
from manim_ml.one_to_one_sync import OneToOneSync
|
|
|
|
class LeafNode(VGroup):
|
|
pass
|
|
|
|
class SplitNode(VGroup):
|
|
pass
|
|
|
|
class DecisionTreeDiagram(Graph):
|
|
"""Decision Tree Digram Class for Manim"""
|
|
pass
|
|
|
|
class DecisionTreeEmbedding():
|
|
"""Embedding for the decision tree"""
|
|
pass
|
|
|
|
class DecisionTreeContainer(OneToOneSync):
|
|
"""Connects the DecisionTreeDiagram to the DecisionTreeEmbedding"""
|
|
|
|
def __init__(self):
|
|
pass
|