<?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: JAVA scoring code for GBM generated by SAS EM is too long in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/JAVA-scoring-code-for-GBM-generated-by-SAS-EM-is-too-long/m-p/461328#M6981</link>
    <description>&lt;P&gt;&lt;SPAN style="color: #565656; font-size: 11pt;"&gt;&lt;SPAN class="cs1B16EEB5"&gt;Some SAS Enterprise Miner models can be very large and Java has a 64KB class file size limit. &amp;nbsp;&amp;nbsp;The max 64KB class size is a limitation of Java and there is no workaround. &amp;nbsp;SAS Enterprise Miner, however, is quite capable of producing a DS.class file larger that the limit.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #565656; font-size: 11pt;"&gt;&lt;SPAN class="cs1B16EEB5"&gt;In this case, you may want to lower the number of iterations, maximum depth, category size, etc.&amp;nbsp; That would go ahead and make the score code coming out of the Gradient Boosting node smaller, which would help getting the size of the DS.CLASS file to be smaller than 64KB.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Thu, 10 May 2018 14:39:35 GMT</pubDate>
    <dc:creator>CraigDeVault</dc:creator>
    <dc:date>2018-05-10T14:39:35Z</dc:date>
    <item>
      <title>JAVA scoring code for GBM generated by SAS EM is too long</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/JAVA-scoring-code-for-GBM-generated-by-SAS-EM-is-too-long/m-p/461246#M6978</link>
      <description>&lt;P&gt;Hi&amp;nbsp;Community,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I used the score node in SAS EM to generate JAVA scoring code for GBM model, but it seems that the JAVA scoring code of my GBM model cannot be compiled correctly - it seems that the DS.class file is too large and throws this error:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Exception in thread "main" java.lang.ClassFormatError: Invalid method Code length 301529 in class file eminer/user/Score/DS&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;Does this mean that my GBM model is too large? Parameters for my GBM: iterations=20, max split=2, max depth=6, min category size=10, categorical bin=30, # of bin for interval=10.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are there any ways to fix this problem? (e.g., reduce the size of JAVA code? reduce the depth of trees?)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you in advance for your time and help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;Yin&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 04:08:17 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/JAVA-scoring-code-for-GBM-generated-by-SAS-EM-is-too-long/m-p/461246#M6978</guid>
      <dc:creator>ty123</dc:creator>
      <dc:date>2018-05-10T04:08:17Z</dc:date>
    </item>
    <item>
      <title>Re: JAVA scoring code for GBM generated by SAS EM is too long</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/JAVA-scoring-code-for-GBM-generated-by-SAS-EM-is-too-long/m-p/461328#M6981</link>
      <description>&lt;P&gt;&lt;SPAN style="color: #565656; font-size: 11pt;"&gt;&lt;SPAN class="cs1B16EEB5"&gt;Some SAS Enterprise Miner models can be very large and Java has a 64KB class file size limit. &amp;nbsp;&amp;nbsp;The max 64KB class size is a limitation of Java and there is no workaround. &amp;nbsp;SAS Enterprise Miner, however, is quite capable of producing a DS.class file larger that the limit.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="color: #565656; font-size: 11pt;"&gt;&lt;SPAN class="cs1B16EEB5"&gt;In this case, you may want to lower the number of iterations, maximum depth, category size, etc.&amp;nbsp; That would go ahead and make the score code coming out of the Gradient Boosting node smaller, which would help getting the size of the DS.CLASS file to be smaller than 64KB.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 May 2018 14:39:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/JAVA-scoring-code-for-GBM-generated-by-SAS-EM-is-too-long/m-p/461328#M6981</guid>
      <dc:creator>CraigDeVault</dc:creator>
      <dc:date>2018-05-10T14:39:35Z</dc:date>
    </item>
  </channel>
</rss>

