<?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 Re: Create a list of candidates from the partition results for mutable variables in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/823916#M100325</link>
    <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;List = dt &amp;lt;&amp;lt; get column name(numeric);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is incorrect.&amp;nbsp; It needs to be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;List = dt &amp;lt;&amp;lt; get column names(numeric);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 17 Dec 2024 09:57:58 GMT</pubDate>
    <dc:creator>txnelson</dc:creator>
    <dc:date>2024-12-17T09:57:58Z</dc:date>
    <item>
      <title>Create a list of candidates from the partition results for mutable variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/823869#M100320</link>
      <description>&lt;P&gt;I can't understand why this script is not working.&lt;/P&gt;
&lt;P&gt;Please helt me to correct my problem. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;--------------------------------------------------------------------&lt;/P&gt;
&lt;DIV&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = Open("$sample_data\Big Class.jmp");
List = dt &amp;lt;&amp;lt; get column name(numeric);
Report = Expr(
	rpt = New Window("Big Class - Decision Tree of sex",
		dt &amp;lt;&amp;lt; Partition(
			Y(:sex),
			X(Eval Expr(List)),
			Informative Missing(1),
			SendToReport(Dispatch({}, "Candidates", OutlineBox, {Close(0)}))
		)
	);
	rpt["Partition for sex", "Candidates", Table Box(1)] &amp;lt;&amp;lt; Make Into Data Table;
);
Eval(Eval Expr(Report));
&lt;/CODE&gt;&lt;/PRE&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 17 Dec 2024 09:47:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/823869#M100320</guid>
      <dc:creator>JinwookKim</dc:creator>
      <dc:date>2024-12-17T09:47:19Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list of candidates from the partition results for mutable variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/823914#M100324</link>
      <description>&lt;P&gt;Depending on what you are trying to do in the end, here is one option how you could modify the script&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Names Default To Here(1);

dt = Open("$sample_data\Big Class.jmp");
numcols = dt &amp;lt;&amp;lt; get column names(numeric, string);
rpt = New Window("Big Class - Decision Tree of sex",
	dt &amp;lt;&amp;lt; Partition(
		Y(:sex),
		X(Eval(numcols)),
		Informative Missing(1),
		SendToReport(Dispatch({}, "Candidates", OutlineBox, {Close(0)}))
	)
);
dt_candidates = rpt["Partition for sex", "Candidates", Table Box(1)] &amp;lt;&amp;lt; Make Into Data Table;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Dec 2024 09:48:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/823914#M100324</guid>
      <dc:creator>jthi</dc:creator>
      <dc:date>2024-12-17T09:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list of candidates from the partition results for mutable variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/823916#M100325</link>
      <description>&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;List = dt &amp;lt;&amp;lt; get column name(numeric);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;is incorrect.&amp;nbsp; It needs to be&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;List = dt &amp;lt;&amp;lt; get column names(numeric);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 17 Dec 2024 09:57:58 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/823916#M100325</guid>
      <dc:creator>txnelson</dc:creator>
      <dc:date>2024-12-17T09:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list of candidates from the partition results for mutable variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/823999#M100343</link>
      <description>&lt;P&gt;&amp;nbsp;.&lt;/P&gt;</description>
      <pubDate>Tue, 17 Dec 2024 16:39:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/823999#M100343</guid>
      <dc:creator>mmarchandFSLR</dc:creator>
      <dc:date>2024-12-17T16:39:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create a list of candidates from the partition results for mutable variables</title>
      <link>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/824098#M100356</link>
      <description>&lt;P&gt;It works greatly.&amp;nbsp;Thanks a lot...!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Dec 2024 01:45:35 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Create-a-list-of-candidates-from-the-partition-results-for/m-p/824098#M100356</guid>
      <dc:creator>JinwookKim</dc:creator>
      <dc:date>2024-12-18T01:45:35Z</dc:date>
    </item>
  </channel>
</rss>

