<?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: How to update efficiently a table that contains a prediction model based on DTM (Document Term Matrix)? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-update-efficiently-a-table-that-contains-a-prediction/m-p/537752#M75911</link>
    <description>&lt;P&gt;The DTM is saved as values. Did you try &lt;A href="https://www.jmp.com/support/help/en/16.2/#page/jmp/save-options.shtml#ww304601" target="_self"&gt;saving it as a formula&lt;/A&gt;? Does it update when a new row is added to the table?&lt;/P&gt;</description>
    <pubDate>Fri, 26 Aug 2022 13:46:01 GMT</pubDate>
    <dc:creator>Mark_Bailey</dc:creator>
    <dc:date>2022-08-26T13:46:01Z</dc:date>
    <item>
      <title>How to update efficiently a table that contains a prediction model based on DTM (Document Term Matrix)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-update-efficiently-a-table-that-contains-a-prediction/m-p/537744#M75909</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I work on textual data classification. So I made a model that predicts the class by taking as input the DTM. Now, I would like to update, in a regular and efficient way, the data table with new rows. My problem is to be able to easily compute the DTM using a formula so that the update is automatic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here is a file based on the example of potato chip reviews:&lt;BR /&gt;- first, we use the text explorer to save the DTM&lt;BR /&gt;- 2nd, we use a neural network to predict the column "Buy again?"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;From there, I'd like to add rows to the table, and have the model predictions computed automatically, without having to relunch the text explorer.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Do you have any suggestions?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;BR /&gt;Florent&lt;/P&gt;</description>
      <pubDate>Sat, 10 Jun 2023 20:52:14 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-update-efficiently-a-table-that-contains-a-prediction/m-p/537744#M75909</guid>
      <dc:creator>Florent_M</dc:creator>
      <dc:date>2023-06-10T20:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: How to update efficiently a table that contains a prediction model based on DTM (Document Term Matrix)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-update-efficiently-a-table-that-contains-a-prediction/m-p/537752#M75911</link>
      <description>&lt;P&gt;The DTM is saved as values. Did you try &lt;A href="https://www.jmp.com/support/help/en/16.2/#page/jmp/save-options.shtml#ww304601" target="_self"&gt;saving it as a formula&lt;/A&gt;? Does it update when a new row is added to the table?&lt;/P&gt;</description>
      <pubDate>Fri, 26 Aug 2022 13:46:01 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-update-efficiently-a-table-that-contains-a-prediction/m-p/537752#M75911</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-08-26T13:46:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to update efficiently a table that contains a prediction model based on DTM (Document Term Matrix)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-update-efficiently-a-table-that-contains-a-prediction/m-p/538662#M75971</link>
      <description>&lt;P&gt;I tried to save the DTM as Formula. Unfortunatly, the formula return an array, which cannot be used in a predictive model.&amp;nbsp;&lt;BR /&gt;Do you have an idea to use directly the array in a model or to convert an array into columns?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 09:01:18 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-update-efficiently-a-table-that-contains-a-prediction/m-p/538662#M75971</guid>
      <dc:creator>Florent_M</dc:creator>
      <dc:date>2022-08-30T09:01:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to update efficiently a table that contains a prediction model based on DTM (Document Term Matrix)?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-update-efficiently-a-table-that-contains-a-prediction/m-p/538754#M75982</link>
      <description>&lt;P&gt;Yes, it can be used as a set of predictors. Did you try?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Table with saved formula:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="table.PNG" style="width: 999px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45080i809E6FA76C752BEF/image-size/large?v=v2&amp;amp;px=999" role="button" title="table.PNG" alt="table.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Logistic regression with array as only model term, but expands to all terms in the DTM:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="model.PNG" style="width: 394px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/45081iB43B018D12EC409F/image-size/large?v=v2&amp;amp;px=999" role="button" title="model.PNG" alt="model.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 30 Aug 2022 14:09:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-update-efficiently-a-table-that-contains-a-prediction/m-p/538754#M75982</guid>
      <dc:creator>Mark_Bailey</dc:creator>
      <dc:date>2022-08-30T14:09:43Z</dc:date>
    </item>
  </channel>
</rss>

