<?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 Calling Python Script from SAS EM via SAS Code Node in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Calling-Python-Script-from-SAS-EM-via-SAS-Code-Node/m-p/472103#M7135</link>
    <description>&lt;P&gt;Hey everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am interesting in running XGBOOST (and possibly CATBOOST and Light GBM) in SAS EM through a SAS Code node which will execute script in Python (where the actual models will be run).&amp;nbsp; I'm seeing that the SAS Code node may be used to call a Python script from the following video:&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://video.sas.com/detail/videos/sas-enterprise-miner_/video/5483761790001/integrating-python-code-into-sas%C3%82%C2%AE-enterprise-miner%C3%A2%E2%80%9E%C2%A2" target="_blank"&gt;https://video.sas.com/detail/videos/sas-enterprise-miner_/video/5483761790001/integrating-python-code-into-sas%C3%82%C2%AE-enterprise-miner%C3%A2%E2%80%9E%C2%A2&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, ultimately, I may be required to share the model with co-workers as a model package.&amp;nbsp; I'm not clear on how this would work if I am running a Python Script outside of SAS EM.&amp;nbsp; Would the other users just have to have python installed?&amp;nbsp; Would the model package somehow record the python script to run?&amp;nbsp; I'm pretty new at this technique so any and all help is appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 21 Jun 2018 14:14:48 GMT</pubDate>
    <dc:creator>p0</dc:creator>
    <dc:date>2018-06-21T14:14:48Z</dc:date>
    <item>
      <title>Calling Python Script from SAS EM via SAS Code Node</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Calling-Python-Script-from-SAS-EM-via-SAS-Code-Node/m-p/472103#M7135</link>
      <description>&lt;P&gt;Hey everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am interesting in running XGBOOST (and possibly CATBOOST and Light GBM) in SAS EM through a SAS Code node which will execute script in Python (where the actual models will be run).&amp;nbsp; I'm seeing that the SAS Code node may be used to call a Python script from the following video:&amp;nbsp;&lt;STRONG&gt;&lt;A href="https://video.sas.com/detail/videos/sas-enterprise-miner_/video/5483761790001/integrating-python-code-into-sas%C3%82%C2%AE-enterprise-miner%C3%A2%E2%80%9E%C2%A2" target="_blank"&gt;https://video.sas.com/detail/videos/sas-enterprise-miner_/video/5483761790001/integrating-python-code-into-sas%C3%82%C2%AE-enterprise-miner%C3%A2%E2%80%9E%C2%A2&lt;/A&gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, ultimately, I may be required to share the model with co-workers as a model package.&amp;nbsp; I'm not clear on how this would work if I am running a Python Script outside of SAS EM.&amp;nbsp; Would the other users just have to have python installed?&amp;nbsp; Would the model package somehow record the python script to run?&amp;nbsp; I'm pretty new at this technique so any and all help is appreciated!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&amp;nbsp;&lt;/P&gt;&lt;P&gt;Nate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Jun 2018 14:14:48 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Calling-Python-Script-from-SAS-EM-via-SAS-Code-Node/m-p/472103#M7135</guid>
      <dc:creator>p0</dc:creator>
      <dc:date>2018-06-21T14:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Calling Python Script from SAS EM via SAS Code Node</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Calling-Python-Script-from-SAS-EM-via-SAS-Code-Node/m-p/486361#M7289</link>
      <description>&lt;P&gt;My solution to&amp;nbsp;put&amp;nbsp;gradient boosting models into production in SAS is to use the &lt;A href="https://github.com/az0/mlmeta" target="_self"&gt;gbm2sas function in the mlmeta R package&lt;/A&gt;. This function creates pure SAS code that runs without any dependencies on Python, and it does not even require SAS Enterprise Miner, SAS/IML, etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It does not use LightGBM, Catboost, or XGBoost. It uses GBM. I recently did a small test here comparing GBM vs. LightBoost.&amp;nbsp;LightGBM was much faster, but GBM&amp;nbsp;made more accurate predictions. You can also speed up GBM in SAS using various tricks such as model tuning and parallel processing (yes, in SAS).&lt;/P&gt;</description>
      <pubDate>Mon, 13 Aug 2018 14:42:18 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Calling-Python-Script-from-SAS-EM-via-SAS-Code-Node/m-p/486361#M7289</guid>
      <dc:creator>AndrewZ</dc:creator>
      <dc:date>2018-08-13T14:42:18Z</dc:date>
    </item>
  </channel>
</rss>

