<?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: Error When Building a Model in SAS Viya Studio in SAS Viya</title>
    <link>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/965950#M2845</link>
    <description>&lt;P&gt;Hi David,&lt;/P&gt;
&lt;P&gt;Sorry you are having difficulties with Model Studio (Build Models) - could you attach a screenshot of your pipeline and perhaps the Data tab (if not sensitive)?&amp;nbsp; Thanks.&lt;/P&gt;</description>
    <pubDate>Wed, 07 May 2025 11:06:27 GMT</pubDate>
    <dc:creator>tom_grant</dc:creator>
    <dc:date>2025-05-07T11:06:27Z</dc:date>
    <item>
      <title>Error When Building a Model in SAS Viya Studio</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/965906#M2843</link>
      <description>&lt;P&gt;Hey, folks-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm trying to build a simple pipeline for ensembling logistic regression using the SAS Viya Studio's "Build Model" feature and I get these errors: "This project could not be initialized"&amp;nbsp; and "The data advisor failed to run on the selected data source."&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Here's a sample of the log file:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;NOTE: Added action set 'cardinality'.
ERROR: Could not load the format YESNO_ALT of the variable ewe.
ERROR: Generic error.
ERROR: Action summarize failed.
ERROR: The action stopped due to errors.
NOTE: PROCEDURE CARDINALITY used (Total process time):
      real time           0.17 seconds
      cpu time            0.01 seconds
      

NOTE: The table DMDSLIB.STATISTICS does not exist in Cloud Analytic Services.
ERROR: File DMDSLIB.STATISTICS.DATA does not exist.

NOTE: The SAS System stopped processing this step because of errors.
NOTE: Due to ERROR(s) above, SAS set option OBS=0, enabling syntax check mode. 
      This prevents execution of subsequent data modification statements.
WARNING: The data set WORK.STATISTICS may be incomplete.  When this step was stopped there were 0 observations and 0 variables.
NOTE: DATA statement used (Total process time):
      real time           0.02 seconds
      cpu time            0.01 seconds
      


ERROR: Variable _VARNAME_ not found.

NOTE: The SAS System stopped processing this step because of errors.
NOTE: PROCEDURE SORT used (Total process time):
      real time           0.00 seconds
      cpu time            0.00 seconds
      


ERROR: Variable _VARNAME_ is not on file WORK.STATISTICS.
ERROR: Variable _ORDER_ is not on file WORK.STATISTICS.
ERROR: Variable _CARDINALITY_ is not on file WORK.STATISTICS.
ERROR: Variable _SUMFREQS_ is not on file WORK.STATISTICS.
ERROR: Variable _NMISS_ is not on file WORK.STATISTICS.
ERROR: Variable _MIN_ is not on file WORK.STATISTICS.
ERROR: Variable _MAX_ is not on file WORK.STATISTICS.
ERROR: Variable _STDDEV_ is not on file WORK.STATISTICS.
ERROR: Variable _MEAN_ is not on file WORK.STATISTICS.
ERROR: Variable _NOBS_ is not on file WORK.STATISTICS.
ERROR: Variable _SKEWNESS_ is not on file WORK.STATISTICS.
ERROR: Variable _KURTOSIS_ is not on file WORK.STATISTICS.&lt;BR /&gt;&lt;BR /&gt;&lt;/PRE&gt;&lt;P&gt;I'm attaching the full log file. My computer is a PC, 64-bit, running Windows Enterprise 10 and SAS Viya is "Data Explorer" release 2.5, SAS Viya release V.03.05.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I get the SAS Viya to initialize the project?&amp;nbsp;I'm at my wit's end with SAS Viya. It looks like a really powerful tool for ML, but I've found that even basic things like reading in data are hard to figure out and time-consuming.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 06 May 2025 22:42:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/965906#M2843</guid>
      <dc:creator>dbcrow</dc:creator>
      <dc:date>2025-05-06T22:42:55Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Building a Model in SAS Viya Studio</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/965949#M2844</link>
      <description>Moving post to SAS Viya community.</description>
      <pubDate>Wed, 07 May 2025 11:01:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/965949#M2844</guid>
      <dc:creator>tom_grant</dc:creator>
      <dc:date>2025-05-07T11:01:40Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Building a Model in SAS Viya Studio</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/965950#M2845</link>
      <description>&lt;P&gt;Hi David,&lt;/P&gt;
&lt;P&gt;Sorry you are having difficulties with Model Studio (Build Models) - could you attach a screenshot of your pipeline and perhaps the Data tab (if not sensitive)?&amp;nbsp; Thanks.&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 11:06:27 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/965950#M2845</guid>
      <dc:creator>tom_grant</dc:creator>
      <dc:date>2025-05-07T11:06:27Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Building a Model in SAS Viya Studio</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/966022#M2846</link>
      <description>&lt;P&gt;Hi, Tom-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm attaching the following .pdf's:&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Pipeline (SAS5.pdf)&lt;/P&gt;&lt;P&gt;2) Data tab (SASData.pdf)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;And for good measure:&amp;nbsp;&lt;/P&gt;&lt;P&gt;3) Project creation interactive dialog (SASProject)&lt;/P&gt;&lt;P&gt;4) Error message (SASError)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is one of several errors I get when creating or trying to open the project. When I try to open the project from the "Projects" screen, I get: "The project could not be opened and returned the following status: creatingProviderError [Details] The advisor for project "MLClimate" could not be executed".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I would greatly appreciate any help you could provide.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Wed, 07 May 2025 20:59:33 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/966022#M2846</guid>
      <dc:creator>dbcrow</dc:creator>
      <dc:date>2025-05-07T20:59:33Z</dc:date>
    </item>
    <item>
      <title>Re: Error When Building a Model in SAS Viya Studio</title>
      <link>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/967062#M2859</link>
      <description>&lt;P&gt;Hi, all-&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The solution turned out to be stripping the datasets of their formats, then importing them into SAS Studio. Two ways to remove the formats are:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Exporting the data to a .csv file with PROC EXPORT:&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;proc export data=data.climate23_nf
&amp;nbsp; outfile='H:\CHIS\Data\climate23_nf.csv'
&amp;nbsp; dbms=csv
&amp;nbsp; replace;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;2) Removing the formats manually from within a data step with this code:&amp;nbsp;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;data data.climate23_nf;
	set data.climate23;
		format _numeric_   ;
		format _character_  ;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I did both steps as part of preprocessing in SAS EGP and saved the files to a local directory. I then imported the files in SAS Studio using Build Models --&amp;gt; New Project --&amp;gt; browse for data --&amp;gt; Import --&amp;gt; Local Files.&amp;nbsp;&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>Tue, 20 May 2025 22:34:35 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Viya/Error-When-Building-a-Model-in-SAS-Viya-Studio/m-p/967062#M2859</guid>
      <dc:creator>dbcrow</dc:creator>
      <dc:date>2025-05-20T22:34:35Z</dc:date>
    </item>
  </channel>
</rss>

