<?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: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error.  in ArcGIS Pro Questions</title>
    <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118364#M4857</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivia,&amp;nbsp;I'm responsible for this tutorial at Esri. We're currently looking into this issue, and will get back to you asap with a solution. Thanks for your interest in Learn ArcGIS!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 Nov 2018 19:58:23 GMT</pubDate>
    <dc:creator>KathyCappelli</dc:creator>
    <dc:date>2018-11-06T19:58:23Z</dc:date>
    <item>
      <title>I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118359#M4852</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I am coding in python to bring the ArcGIS feature classes in python as an array its gives me this error.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;from sklearn.ensemble import RandomForestClassifier&lt;BR /&gt;import numpy as NUM&lt;BR /&gt;import arcpy as ARCPY&lt;BR /&gt;import arcpy.da as DA&lt;BR /&gt;import pandas as PD&lt;BR /&gt;import seaborn as SEA&lt;BR /&gt;import matplotlib.pyplot as PLOT&lt;BR /&gt;import arcgisscripting as ARC&lt;BR /&gt;import SSUtilities as UTILS&lt;BR /&gt;import os as OS&lt;BR /&gt;inputFC = r'USA_Train'&lt;BR /&gt;globalFC = r'EMU_Global_90m_Filled'&lt;BR /&gt;predictVars = ['DISSO2', 'NITRATE', 'PHOSPHATE', 'SALINITY', 'SILICATE', 'SRTM30', 'TEMP']&lt;BR /&gt;classVar = ['PRESENT']&lt;BR /&gt;allVars = predictVars + classVar&lt;BR /&gt;trainFC = DA.FeatureClassToNumPyArray(inputFC, ["SHAPE@XY"] + allVars)&lt;BR /&gt;spatRef = ARCPY.Describe(inputFC).spatialReference&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;RuntimeError: The table was not found. [VAT_temp]&lt;BR /&gt;trainFC = ARCPY.da.FeatureClassToNumPyArray(inputFC, ["SHAPE@XY"] + allVars)&lt;BR /&gt;Traceback (most recent call last):&lt;BR /&gt; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;RuntimeError: The table was not found. [VAT_temp]&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 16:57:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118359#M4852</guid>
      <dc:creator>OliviaSwientisky1</dc:creator>
      <dc:date>2018-11-02T16:57:06Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118360#M4853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;inputFC = r'USA_Train'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="display: inline !important; float: none; background-color: transparent; color: #3d3d3d; font-family: arial,helvetica,'helvetica neue',verdana,sans-serif; font-size: 15px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; word-wrap: break-word;"&gt;perhaps you need to specify the whole path to the geodatabase and/or folder since there is no 'workspace' set in the script, so it probably can't find it&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 19:41:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118360#M4853</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-11-02T19:41:54Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118361#M4854</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;found your 'bug' it was in the instructions from the previous lesson&lt;/P&gt;&lt;P&gt;&lt;A class="link-titled" href="https://learn.arcgis.com/en/projects/predict-seagrass-habitats-with-machine-learning/lessons/create-a-training-dataset.htm" title="https://learn.arcgis.com/en/projects/predict-seagrass-habitats-with-machine-learning/lessons/create-a-training-dataset.htm"&gt;Create a training dataset—Predict Seagrass Habitats with Machine Learning | ArcGIS&lt;/A&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;&lt;/P&gt;&lt;H5 style="background-color: transparent; color: #4c4c4c; display: block; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,&amp;amp;quot;avenir&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,&amp;amp;quot;helvetica&amp;amp;quot;,&amp;amp;quot;arial&amp;amp;quot;,sans-serif; font-size: 17px; font-style: normal; font-variant: normal; font-weight: 300; letter-spacing: normal; line-height: 26.35px; orphans: 2; padding-right: 0px; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px; margin: 0px;"&gt;Note:&lt;/H5&gt;&lt;P style="background-color: transparent; color: #4c4c4c; font-family: &amp;amp;quot; avenir next w01&amp;amp;quot;,&amp;amp;quot;avenir next w00&amp;amp;quot;,&amp;amp;quot;avenir next&amp;amp;quot;,&amp;amp;quot;avenir&amp;amp;quot;,&amp;amp;quot;helvetica neue&amp;amp;quot;,&amp;amp;quot;helvetica&amp;amp;quot;,&amp;amp;quot;arial&amp;amp;quot;,sans-serif; font-size: 15.8px; font-style: normal; font-variant: normal; font-weight: 400; letter-spacing: normal; margin-bottom: 26.35px; margin-top: 0px; orphans: 2; text-align: left; text-decoration: none; text-indent: 0px; text-transform: none; -webkit-text-stroke-width: 0px; white-space: normal; word-spacing: 0px;"&gt;It is important to save the file to your Documents folder because you'll need to use the exact file path in the Python script. If the file doesn't have the right path, the script will fail.&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 02 Nov 2018 20:59:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118361#M4854</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-11-02T20:59:36Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118362#M4855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have done that step and I am still receiving this error&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 18:23:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118362#M4855</guid>
      <dc:creator>OliviaSwientisky1</dc:creator>
      <dc:date>2018-11-06T18:23:20Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118363#M4856</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Olivia, if it isn't that bug... tech support, so they can check with the people that wrote the module to see if there is something else at issue with it, or some other environment parameter that is causing yours to fail&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 19:14:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118363#M4856</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-11-06T19:14:35Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118364#M4857</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Olivia,&amp;nbsp;I'm responsible for this tutorial at Esri. We're currently looking into this issue, and will get back to you asap with a solution. Thanks for your interest in Learn ArcGIS!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 19:58:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118364#M4857</guid>
      <dc:creator>KathyCappelli</dc:creator>
      <dc:date>2018-11-06T19:58:23Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118365#M4858</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for leaping in!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 Nov 2018 20:29:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118365#M4858</guid>
      <dc:creator>DanPatterson_Retired</dc:creator>
      <dc:date>2018-11-06T20:29:08Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118366#M4859</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Have you found any&amp;nbsp;solution to this issue? &lt;IMG src="https://community.esri.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 13:36:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118366#M4859</guid>
      <dc:creator>David_Kobbevik</dc:creator>
      <dc:date>2018-11-09T13:36:23Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118367#M4860</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was able to reproduce the issue, and the first, most simple fix is to make sure that the dissO2 attribute is correct- the reason the script was returning that same error for me was that I had named the field diss02 (with a zero instead of a capital letter O). Because the script calls dissO2, the field wasn't found.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" src="https://community.esri.com/legacyfs/online/429287_pastedImage_1.png" /&gt;&lt;/P&gt;&lt;P&gt;If this doesn't solve your issue, please let me know and I'll keep working on it&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Nov 2018 21:04:50 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118367#M4860</guid>
      <dc:creator>KathyCappelli</dc:creator>
      <dc:date>2018-11-09T21:04:50Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118368#M4861</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, that solved my problem &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 10 Nov 2018 12:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118368#M4861</guid>
      <dc:creator>David_Kobbevik</dc:creator>
      <dc:date>2018-11-10T12:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118369#M4862</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Cappelli, &lt;BR /&gt;Thank you for your information. I had the same problem when doing the same task in Learn GIS: lesson for data scientists, which is: when runing the code&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;trainFC = DA.FeatureClassToNumPyArray(inputFC, ["SHAPE@XY"] + allVars)&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;it shows&lt;/P&gt;&lt;BLOCKQUOTE class="jive_macro_quote jive-quote jive_text_macro"&gt;&lt;P&gt;Traceback (most recent call last):&lt;BR /&gt; File "&amp;lt;string&amp;gt;", line 1, in &amp;lt;module&amp;gt;&lt;BR /&gt;RuntimeError: The table was not found. [VAT_temp]&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I checked my spell of the names of attributes in USA_train layer to make sure that I didn't confuse letter O and number 0 (yes, it is letter O):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="image-1 jive-image" height="195" src="https://community.esri.com/legacyfs/online/489174_pastedImage_3.png" width="759" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could you please help me with that? (And is there other information that I need to provide for solving the problem?)&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 19 Apr 2020 12:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118369#M4862</guid>
      <dc:creator>JiefengKang</dc:creator>
      <dc:date>2020-04-19T12:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: I am working on the Predict Seagrass habitats with machine learning module by esri, I am working in ArcPro, when I get to the python code its gives me this error. </title>
      <link>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118370#M4863</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;predictVars = [&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;'DISSO2'&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;'NITRATE'&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;'PHOSPHATE'&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;'SALINITY'&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;'SILICATE'&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;'SRTM30'&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;, &lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;'TEMP'&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;] &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;classVar = [&lt;/SPAN&gt;&lt;SPAN class="" style="color: #c41a16;"&gt;'PRESENT'&lt;/SPAN&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;]&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;This is the tutorial script, if you are copy+pasting, your table reads "Presentation" instead of "Present". Possibly the problem if you didn't change the script.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #595959; background-color: #f8f8f8;"&gt;Just came here for similar problem and realized it was an O/0 problem as well, thanks to all who helped.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 May 2020 18:21:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-pro-questions/i-am-working-on-the-predict-seagrass-habitats-with/m-p/118370#M4863</guid>
      <dc:creator>RileyBreen</dc:creator>
      <dc:date>2020-05-08T18:21:52Z</dc:date>
    </item>
  </channel>
</rss>

