How to have Tree able to do Multiple Splits at each Node rather than just 2 using fitctree?
    8 visualizaciones (últimos 30 días)
  
       Mostrar comentarios más antiguos
    
    Justin
 el 29 de Oct. de 2014
  
    
    
    
    
    Comentada: Justin
 el 30 de Oct. de 2014
            All the trees I've produced have two splits at each node, but sometimes this is not optimal. How can I set fitctree to allow for multiple splits of a variable?
I suppose tree could split x2 and then split again using the same predictor...perhaps my interest in multiple splits is irrelevant to quality of results?
0 comentarios
Respuesta aceptada
  Siddharth Sundar
    
 el 30 de Oct. de 2014
        As mentioned in this doc page, Statistics Toolbox trees are always binary i.e. having more than binary splits at each node is not possible.
Más respuestas (0)
Ver también
Categorías
				Más información sobre Structures en Help Center y File Exchange.
			
	Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

