<?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: Adding one more observation in PROC OPTLSO leads to 10-fold increased execution time in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452188#M6865</link>
    <description>&lt;P&gt;Thanks! But I'm not using any formatted variables. I've split my data set numerous ways, and each time there seems to be at least one observation that's causing it to hang. I'll check again to make sure the values that are being used are what I&amp;nbsp;expected them to be.&lt;/P&gt;</description>
    <pubDate>Sat, 07 Apr 2018 12:07:39 GMT</pubDate>
    <dc:creator>DocMartin</dc:creator>
    <dc:date>2018-04-07T12:07:39Z</dc:date>
    <item>
      <title>Adding one more observation in PROC OPTLSO leads to 10-fold increased execution time</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/451894#M6860</link>
      <description>I've got an algorithm with around 300 parameters that I'm trying to optimize using PROC OPTLSO. When I run the optimization using 1,990 observations the routine takes 10 seconds to complete. Yet when I add observation #1991 the routines takes 9 minutes to finish. I tried two things: 1. Using a different data set, and trying it out with 1991 observations. No problem. So it's not that the optimization became saturated. 2. Looked at observation #1991 to see if it differed substantially from the others. The answer was NO. Have any of you experienced this kind of problem? If so, how did you fix it. Thanks! Andrew</description>
      <pubDate>Fri, 06 Apr 2018 14:14:28 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/451894#M6860</guid>
      <dc:creator>DocMartin</dc:creator>
      <dc:date>2018-04-06T14:14:28Z</dc:date>
    </item>
    <item>
      <title>Re: Adding one more observation in PROC OPTLSO leads to 10-fold increased execution time</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452097#M6863</link>
      <description>&lt;P&gt;Can you please share your code and data?&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 20:24:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452097#M6863</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2018-04-06T20:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: Adding one more observation in PROC OPTLSO leads to 10-fold increased execution time</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452129#M6864</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/83350"&gt;@DocMartin&lt;/a&gt; wrote:&lt;BR /&gt;. 2. Looked at observation #1991 to see if it differed substantially from the others.&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;Depending on how you look at this record and compare with the remaining what you see may not be what the algorithms see.&lt;/P&gt;
&lt;P&gt;If you have a variable with a format assigned with the other option in proc format it may be that a view in a table or proc print does not show an extreme value.&lt;/P&gt;
&lt;PRE&gt;proc format library=work;
value extreme
0-100 = [f5.2]
other = 100;
run;

data example;
   do x= 1,10,99.4, 10e18;
   output;
   end;
   format x extreme.;
run;

proc print data=example noobs;
run;&lt;/PRE&gt;
&lt;P&gt;Or perhaps no single value is extreme but you have added a combination of values that might be considered an outlier that requiring many more iterations to solve.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I would suggest splitting the data into two pieces without about half the records in each and see if the reduced set with the problem record continues to be a problem. I suspect it may. Were there any interesting items in the log for the longer run that don't appear in the shorter?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Without seeing code to know how many variables from your set are being used to&amp;nbsp; create the parameters it is hard to see if a specific minimum sized data set would be needed.&lt;/P&gt;</description>
      <pubDate>Fri, 06 Apr 2018 22:35:21 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452129#M6864</guid>
      <dc:creator>ballardw</dc:creator>
      <dc:date>2018-04-06T22:35:21Z</dc:date>
    </item>
    <item>
      <title>Re: Adding one more observation in PROC OPTLSO leads to 10-fold increased execution time</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452188#M6865</link>
      <description>&lt;P&gt;Thanks! But I'm not using any formatted variables. I've split my data set numerous ways, and each time there seems to be at least one observation that's causing it to hang. I'll check again to make sure the values that are being used are what I&amp;nbsp;expected them to be.&lt;/P&gt;</description>
      <pubDate>Sat, 07 Apr 2018 12:07:39 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452188#M6865</guid>
      <dc:creator>DocMartin</dc:creator>
      <dc:date>2018-04-07T12:07:39Z</dc:date>
    </item>
    <item>
      <title>Re: Adding one more observation in PROC OPTLSO leads to 10-fold increased execution time</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452189#M6866</link>
      <description>Because the data are hospitalized patients, I can't share it.</description>
      <pubDate>Sat, 07 Apr 2018 12:09:44 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452189#M6866</guid>
      <dc:creator>DocMartin</dc:creator>
      <dc:date>2018-04-07T12:09:44Z</dc:date>
    </item>
    <item>
      <title>Re: Adding one more observation in PROC OPTLSO leads to 10-fold increased execution time</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452201#M6867</link>
      <description>Can you anonymize the data?  Or at least share the code and logs?</description>
      <pubDate>Sat, 07 Apr 2018 13:55:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Adding-one-more-observation-in-PROC-OPTLSO-leads-to-10-fold/m-p/452201#M6867</guid>
      <dc:creator>RobPratt</dc:creator>
      <dc:date>2018-04-07T13:55:33Z</dc:date>
    </item>
  </channel>
</rss>

