<?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: Cannot generate Python Code for Boosted Neural Net model. Why? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/574286#M78312</link>
    <description>&lt;P&gt;Running the script below, I'm able to send this boosted neural net model to the formula depot, then generate Python code for it. Does the script below work for you?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = open ("$SAMPLE_DATA\Body Fat.jmp");

dt &amp;lt;&amp;lt; Neural(
	Y( :Percent body fat ),
	X(
		:"Age (years)"n, :"Weight (lbs)"n, :"Height (inches)"n,
		:"Neck circumference (cm)"n, :"Chest circumference (cm)"n,
		:"Abdomen circumference (cm)"n, :"Hip circumference (cm)"n,
		:"Thigh circumference (cm)"n, :"Knee circumference (cm)"n,
		:"Ankle circumference (cm)"n, :"Biceps (extended) circumference (cm)"n,
		:"Forearm circumference (cm)"n, :"Wrist circumference (cm)"n
	),
	Informative Missing( 0 ),
	Validation Method( "Holdback", 0.3333 ),
	Fit( NTanH( 3 ), N Boost( 100 ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 28 Nov 2022 22:03:29 GMT</pubDate>
    <dc:creator>Jed_Campbell</dc:creator>
    <dc:date>2022-11-28T22:03:29Z</dc:date>
    <item>
      <title>Cannot generate Python Code for Boosted Neural Net model. Why?</title>
      <link>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/574059#M78310</link>
      <description>&lt;P&gt;After saving to the Formula Depot. I can generate C and Java code but not Pyhton code for my Boosted Neural Net model. Why?&lt;/P&gt;&lt;P&gt;I only get commented lines&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;def score(indata, outdata):&lt;BR /&gt;# Original name was: 'xxxxxxxx'&lt;BR /&gt;# Original name was: 'yyyyyyyy'&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:53:47 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/574059#M78310</guid>
      <dc:creator>rosen0</dc:creator>
      <dc:date>2023-06-10T20:53:47Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot generate Python Code for Boosted Neural Net model. Why?</title>
      <link>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/574286#M78312</link>
      <description>&lt;P&gt;Running the script below, I'm able to send this boosted neural net model to the formula depot, then generate Python code for it. Does the script below work for you?&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = open ("$SAMPLE_DATA\Body Fat.jmp");

dt &amp;lt;&amp;lt; Neural(
	Y( :Percent body fat ),
	X(
		:"Age (years)"n, :"Weight (lbs)"n, :"Height (inches)"n,
		:"Neck circumference (cm)"n, :"Chest circumference (cm)"n,
		:"Abdomen circumference (cm)"n, :"Hip circumference (cm)"n,
		:"Thigh circumference (cm)"n, :"Knee circumference (cm)"n,
		:"Ankle circumference (cm)"n, :"Biceps (extended) circumference (cm)"n,
		:"Forearm circumference (cm)"n, :"Wrist circumference (cm)"n
	),
	Informative Missing( 0 ),
	Validation Method( "Holdback", 0.3333 ),
	Fit( NTanH( 3 ), N Boost( 100 ) )
);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 28 Nov 2022 22:03:29 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/574286#M78312</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2022-11-28T22:03:29Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot generate Python Code for Boosted Neural Net model. Why?</title>
      <link>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/575688#M78386</link>
      <description>&lt;P&gt;Interesting.&amp;nbsp; It does not work for me. I am using V17. This is what I get&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;""" Python code generated by JMP v17.0.0 """&lt;/P&gt;&lt;P&gt;def getModelMetadata():&lt;BR /&gt;return {"creator": u"Neural", "modelName": u"", "predicted": u"Percent body fat", "table": u"Body Fat", "version": u"17.0.0", "timestamp": u"2022-12-01T13:45:24Z"}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;def getInputMetadata():&lt;BR /&gt;return {&lt;BR /&gt;u"Abdomen circumference (cm)": "float",&lt;BR /&gt;u"Age (years)": "float",&lt;BR /&gt;u"Ankle circumference (cm)": "float",&lt;BR /&gt;u"Biceps (extended) circumference (cm)": "float",&lt;BR /&gt;u"Chest circumference (cm)": "float",&lt;BR /&gt;u"Forearm circumference (cm)": "float",&lt;BR /&gt;u"Height (inches)": "float",&lt;BR /&gt;u"Hip circumference (cm)": "float",&lt;BR /&gt;u"Knee circumference (cm)": "float",&lt;BR /&gt;u"Neck circumference (cm)": "float",&lt;BR /&gt;u"Thigh circumference (cm)": "float",&lt;BR /&gt;u"Weight (lbs)": "float",&lt;BR /&gt;u"Wrist circumference (cm)": "float"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;def getOutputMetadata():&lt;BR /&gt;return {&lt;BR /&gt;u"Predicted Percent body fat_1": "float"&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;def score(indata, outdata):&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 13:47:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/575688#M78386</guid>
      <dc:creator>rosen0</dc:creator>
      <dc:date>2022-12-01T13:47:28Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot generate Python Code for Boosted Neural Net model. Why?</title>
      <link>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/575743#M78392</link>
      <description>&lt;P&gt;On my machine, I get the same output. If you scroll down about 100 blank lines, you should see the actual formula in Pyhton script. I'm not sure why there would be so many blank lines. Can you confirm that you also see the same?&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Jed_Campbell_0-1669906930369.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/47822i0DFF7F8B034C1845/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Jed_Campbell_0-1669906930369.png" alt="Jed_Campbell_0-1669906930369.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 15:03:00 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/575743#M78392</guid>
      <dc:creator>Jed_Campbell</dc:creator>
      <dc:date>2022-12-01T15:03:00Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot generate Python Code for Boosted Neural Net model. Why?</title>
      <link>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/575750#M78395</link>
      <description>&lt;P&gt;Mystery solved.&amp;nbsp; I did not go down all the way. The code is there.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&lt;/P&gt;</description>
      <pubDate>Thu, 01 Dec 2022 15:22:12 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Cannot-generate-Python-Code-for-Boosted-Neural-Net-model-Why/m-p/575750#M78395</guid>
      <dc:creator>rosen0</dc:creator>
      <dc:date>2022-12-01T15:22:12Z</dc:date>
    </item>
  </channel>
</rss>

