<?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: Some formats could not be loaded in the CAS. in SAS Data Science</title>
    <link>https://communities.sas.com/t5/SAS-Data-Science/Some-formats-could-not-be-loaded-in-the-CAS/m-p/839544#M10341</link>
    <description>&lt;P&gt;At a guess, you have one or more character variables that TREESPLIT is trying to model as BINARY variables, so is trying to apply the numeric BINARY format to. Binary model variables need to be defined as numeric so these need to be converted first.&lt;/P&gt;</description>
    <pubDate>Wed, 19 Oct 2022 23:38:55 GMT</pubDate>
    <dc:creator>SASKiwi</dc:creator>
    <dc:date>2022-10-19T23:38:55Z</dc:date>
    <item>
      <title>Some formats could not be loaded in the CAS.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Some-formats-could-not-be-loaded-in-the-CAS/m-p/839508#M10338</link>
      <description>&lt;DIV class=""&gt;Hello,&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV class=""&gt;Im receiving this error when trying to input data into a decision tree model.&lt;/DIV&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;BLOCKQUOTE&gt;&lt;DIV class=""&gt;ERROR: The format $INARY could not be loaded in Cloud Analytic Services.&lt;/DIV&gt;&lt;DIV class=""&gt;ERROR: Some formats could not be loaded in the Cloud Analytic Services.&lt;/DIV&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;My data don't have any format defined.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrebeque_0-1666211206765.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76361i2336657072017E11/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrebeque_0-1666211206765.png" alt="vrebeque_0-1666211206765.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrebeque_1-1666211231391.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76362i91D2088B61961E5D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrebeque_1-1666211231391.png" alt="vrebeque_1-1666211231391.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=""&gt;ods noproctitle;
ods graphics / imagemap=on;

proc treesplit data=VINCAS.B2B_BASE_PEDIDOS plots(only)=(wholetree zoomedtree);
	partition fraction(validate=0.3 seed=1);
	input data_pedido flag_aparelho valor_solicitado flag_60d num_linhas 
		flag_faturamento score_model_credito flag_manual cp_soci_num dt_fund_empresa 
		/ level=interval;
	input range_valor_solicitado range_linhas RISCO_aus risco_empresa_aus 
		empresa_tipo_aus faixa_score_aus modelo_porte_aus subsegmento_aus 
		flag_whitelist_bin REGIAO tempo_fundacao tipo_empresa CAPITAL_SOCIAL 
		faixa_fat_presu faixa_canal_risco / level=nominal;
	target flag_aprovacao / level=nominal;
	prune none;
	autotune tuningparameters=(maxdepth numbin criterion) objective=misc;
	score out=VINCAS.scored_temp;
	ods output VariableImportance=Work._Treesplit_VarImp_;
run;

proc sgplot data=Work._Treesplit_VarImp_;
	title3 'Variable Importance';
	vbar variable / response=importance nostatlabel categoryorder=respdesc;
run;

title3;

proc delete data=Work._Treesplit_VarImp_;
run;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 20:28:10 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Some-formats-could-not-be-loaded-in-the-CAS/m-p/839508#M10338</guid>
      <dc:creator>vrebeque</dc:creator>
      <dc:date>2022-10-19T20:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: Some formats could not be loaded in the CAS.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Some-formats-could-not-be-loaded-in-the-CAS/m-p/839544#M10341</link>
      <description>&lt;P&gt;At a guess, you have one or more character variables that TREESPLIT is trying to model as BINARY variables, so is trying to apply the numeric BINARY format to. Binary model variables need to be defined as numeric so these need to be converted first.&lt;/P&gt;</description>
      <pubDate>Wed, 19 Oct 2022 23:38:55 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Some-formats-could-not-be-loaded-in-the-CAS/m-p/839544#M10341</guid>
      <dc:creator>SASKiwi</dc:creator>
      <dc:date>2022-10-19T23:38:55Z</dc:date>
    </item>
    <item>
      <title>Re: Some formats could not be loaded in the CAS.</title>
      <link>https://communities.sas.com/t5/SAS-Data-Science/Some-formats-could-not-be-loaded-in-the-CAS/m-p/839759#M10343</link>
      <description>&lt;P&gt;Thanks for answering Kiwi. I recoded the variables and setted the binary format and things worked. There was only one problematic variable actually but i didnt noticed.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="vrebeque_0-1666292050199.png" style="width: 400px;"&gt;&lt;img src="https://communities.sas.com/t5/image/serverpage/image-id/76414i022DFBCC1471ED76/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vrebeque_0-1666292050199.png" alt="vrebeque_0-1666292050199.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Oct 2022 18:54:20 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Science/Some-formats-could-not-be-loaded-in-the-CAS/m-p/839759#M10343</guid>
      <dc:creator>vrebeque</dc:creator>
      <dc:date>2022-10-20T18:54:20Z</dc:date>
    </item>
  </channel>
</rss>

