<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic How many splits are performed automatically by the decision tree model using JSL? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-many-splits-are-performed-automatically-by-the-decision-tree/m-p/747025#M92659</link>
    <description>&lt;P&gt;For example, the number of splits in the figure is 3&lt;BR /&gt;How to script this split number 3 to a variable?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-14_16-33-43.png" style="width: 651px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/63311iC3E8B2ABEA5AC342/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-04-14_16-33-43.png" alt="2024-04-14_16-33-43.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
p = Partition(
	Y( :weight ),
	X( :age, :sex, :height ),
	Validation Portion( 0.3 ),
	Split History( 1 ),
	Informative Missing( 1 )
);
p &amp;lt;&amp;lt; go;
splitCount = p &amp;lt;&amp;lt; GetProperty( "Tree Split Count" );//??&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Sun, 14 Apr 2024 08:40:16 GMT</pubDate>
    <dc:creator>lala</dc:creator>
    <dc:date>2024-04-14T08:40:16Z</dc:date>
    <item>
      <title>How many splits are performed automatically by the decision tree model using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-many-splits-are-performed-automatically-by-the-decision-tree/m-p/747025#M92659</link>
      <description>&lt;P&gt;For example, the number of splits in the figure is 3&lt;BR /&gt;How to script this split number 3 to a variable?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-14_16-33-43.png" style="width: 651px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/63311iC3E8B2ABEA5AC342/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-04-14_16-33-43.png" alt="2024-04-14_16-33-43.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open( "$SAMPLE_DATA/Big Class.jmp" );
p = Partition(
	Y( :weight ),
	X( :age, :sex, :height ),
	Validation Portion( 0.3 ),
	Split History( 1 ),
	Informative Missing( 1 )
);
p &amp;lt;&amp;lt; go;
splitCount = p &amp;lt;&amp;lt; GetProperty( "Tree Split Count" );//??&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2024 08:40:16 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-many-splits-are-performed-automatically-by-the-decision-tree/m-p/747025#M92659</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-04-14T08:40:16Z</dc:date>
    </item>
    <item>
      <title>回复： How many splits are performed automatically by the decision tree model using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-many-splits-are-performed-automatically-by-the-decision-tree/m-p/747028#M92660</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="2024-04-14_17-12-59.png" style="width: 644px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/63313i54444414385C753D/image-size/large?v=v2&amp;amp;px=999" role="button" title="2024-04-14_17-12-59.png" alt="2024-04-14_17-12-59.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;ss = Report( p )["Split History", Text Edit Box( 2 )];//??
ss = Report( p )["Split History", FrameBox( 1 )];//??&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;NOT LINE&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2024 09:16:21 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-many-splits-are-performed-automatically-by-the-decision-tree/m-p/747028#M92660</guid>
      <dc:creator>lala</dc:creator>
      <dc:date>2024-04-14T09:16:21Z</dc:date>
    </item>
    <item>
      <title>Re: How many splits are performed automatically by the decision tree model using JSL?</title>
      <link>https://community.jmp.com/t5/Discussions/How-many-splits-are-performed-automatically-by-the-decision-tree/m-p/747044#M92664</link>
      <description>&lt;P&gt;You can get the count from the table box&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="jthi_1-1713104070466.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/63325i4D747A895A7A81F9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="jthi_1-1713104070466.png" alt="jthi_1-1713104070466.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);
dt = Open("$SAMPLE_DATA/Boston Housing.jmp");
partition = dt &amp;lt;&amp;lt; Partition(
	Y(:mvalue),
	X(
		:crim, :zn, :indus, :chas, :nox, :rooms, :age, :distance, :radial, :tax,
		:pt, :b, :lstat
	),
	Validation Portion(0.3)
);
partition &amp;lt;&amp;lt; go;

splitcount = (Report(partition)[Table Box(1), Number Col Box("Number of Splits")] &amp;lt;&amp;lt; get)[1];&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&lt;CODE class=" language-jsl"&gt;&lt;/CODE&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 14 Apr 2024 14:14:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-many-splits-are-performed-automatically-by-the-decision-tree/m-p/747044#M92664</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-04-14T14:14:41Z</dc:date>
    </item>
  </channel>
</rss>

