Data Tree Object Structure
===============================
Size of initial data :[1 10]
Order :2
Depth :3
Terminal nodes :[7 8 9 10 11 12 13 14]
------------------------------------------
Use nodejoin to recompose the second node.
t = nodejoin(t,2)
Data Tree Object Structure
===============================
Size of initial data :[1 10]
Order :2
Depth :3
Terminal nodes :[7 8 9 10 2]
------------------------------------------
Specify optional pairs of arguments as
Name1=Value1,...,NameN=ValueN, where Name is
the argument name and Value is the corresponding value.
Name-value arguments must appear after other arguments, but the order of the
pairs does not matter.
Example: t = dtree(order=2,depth=3) specifies a tree of depth 3
and order 2.
Before R2021a, use commas to separate each name and value, and encloseNamein quotes.
Example: t = dtree("order",2,"depth",3) specifies a tree of
depth 3 and order 2.
Order of the tree, specified as an integer greater than or equal to
2.
Depth of the tree, specified as nonnegative integer.
Data associated to the tree, specified as a vector or matrix.
Split scheme for nodes, specified as an ord-by-1
logical array.
The root of the tree can be split and it has ord
children. If spsch(j) = 1, you can
split the jth child. Each node that you can split has
the same property as the root node.
User data to set in the ud field of
T, specified as an array, cell array, or
structure array.
You clicked a link that corresponds to this MATLAB command:
Run the command by entering it in the MATLAB Command Window.
Web browsers do not support MATLAB commands.
Sélectionner un site web
Choisissez un site web pour accéder au contenu traduit dans votre langue (lorsqu'il est disponible) et voir les événements et les offres locales. D’après votre position, nous vous recommandons de sélectionner la région suivante : .
Vous pouvez également sélectionner un site web dans la liste suivante :
Comment optimiser les performances du site
Pour optimiser les performances du site, sélectionnez la région Chine (en chinois ou en anglais). Les sites de MathWorks pour les autres pays ne sont pas optimisés pour les visites provenant de votre région.