forked from Esri/arcgis-python-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patharcgis.geoanalytics.analyze_patterns.html
1710 lines (1469 loc) · 119 KB
/
arcgis.geoanalytics.analyze_patterns.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html class="writer-html5" lang="en" >
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>arcgis.geoanalytics.analyze_patterns module — arcgis 2.1.0 documentation</title>
<link rel="stylesheet" href="_static/css/theme.css" type="text/css" />
<link rel="stylesheet" href="_static/pygments.css" type="text/css" />
<link rel="stylesheet" href="_static/theme_overrides.css" type="text/css" />
<link rel="shortcut icon" href="_static/favicon.ico"/>
<!--[if lt IE 9]>
<script src="_static/js/html5shiv.min.js"></script>
<![endif]-->
<script type="text/javascript" id="documentation_options" data-url_root="./" src="_static/documentation_options.js"></script>
<script src="_static/jquery.js"></script>
<script src="_static/underscore.js"></script>
<script src="_static/doctools.js"></script>
<script type="text/javascript" src="_static/js/theme.js"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="arcgis.geoanalytics.data_enrichment module" href="arcgis.geoanalytics.data_enrichment.html" />
<link rel="prev" title="arcgis.geoanalytics module" href="arcgis.geoanalytics.toc.html" />
<!-- This code block is inserted close near the <head> tag. See http://bit.ly/2BHUQzB -->
<!-- The point of this code block is to send us google analytics on website views -->
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start':
new Date().getTime(),event:'gtm.js'});var f=d.getElementsByTagName(s)[0],
j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
})(window,document,'script','dataLayer','GTM-NJGGV5');</script>
</head>
<body class="wy-body-for-nav">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search" >
<a href="index.html" class="icon icon-home"> arcgis
<img src="_static/python_api_logo.png" class="logo" alt="Logo"/>
</a>
<div class="version">
2.1.0
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<p class="caption"><span class="caption-text">arcgis</span></p>
<ul class="current">
<li class="toctree-l1"><a class="reference internal" href="arcgis.gis.toc.html">arcgis.gis module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.env.html">arcgis.env module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.features.toc.html">arcgis.features module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.raster.toc.html">arcgis.raster module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.network.toc.html">arcgis.network module</a></li>
<li class="toctree-l1 current"><a class="reference internal" href="arcgis.geoanalytics.toc.html">arcgis.geoanalytics module</a><ul class="current">
<li class="toctree-l2"><a class="reference internal" href="arcgis.geoanalytics.toc.html#define-output-datastore">define_output_datastore</a></li>
<li class="toctree-l2"><a class="reference internal" href="arcgis.geoanalytics.toc.html#get-datastores">get_datastores</a></li>
<li class="toctree-l2"><a class="reference internal" href="arcgis.geoanalytics.toc.html#is-supported">is_supported</a></li>
<li class="toctree-l2 current"><a class="reference internal" href="arcgis.geoanalytics.toc.html#submodules">Submodules</a><ul class="current">
<li class="toctree-l3 current"><a class="current reference internal" href="#">arcgis.geoanalytics.analyze_patterns module</a><ul>
<li class="toctree-l4"><a class="reference internal" href="#calculate-density">calculate_density</a></li>
<li class="toctree-l4"><a class="reference internal" href="#create-space-time-cube">create_space_time_cube</a></li>
<li class="toctree-l4"><a class="reference internal" href="#find-hot-spots">find_hot_spots</a></li>
<li class="toctree-l4"><a class="reference internal" href="#find-point-clusters">find_point_clusters</a></li>
<li class="toctree-l4"><a class="reference internal" href="#forest">forest</a></li>
<li class="toctree-l4"><a class="reference internal" href="#glr">glr</a></li>
<li class="toctree-l4"><a class="reference internal" href="#gwr">gwr</a></li>
</ul>
</li>
<li class="toctree-l3"><a class="reference internal" href="arcgis.geoanalytics.data_enrichment.html">arcgis.geoanalytics.data_enrichment module</a></li>
<li class="toctree-l3"><a class="reference internal" href="arcgis.geoanalytics.find_locations.html">arcgis.geoanalytics.find_locations module</a></li>
<li class="toctree-l3"><a class="reference internal" href="arcgis.geoanalytics.manage_data.html">arcgis.geoanalytics.manage_data module</a></li>
<li class="toctree-l3"><a class="reference internal" href="arcgis.geoanalytics.summarize_data.html">arcgis.geoanalytics.summarize_data module</a></li>
<li class="toctree-l3"><a class="reference internal" href="arcgis.geoanalytics.use_proximity.html">arcgis.geoanalytics.use_proximity module</a></li>
</ul>
</li>
</ul>
</li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.geocoding.html">arcgis.geocoding module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.geoenrichment.html">arcgis.geoenrichment module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.geometry.html">arcgis.geometry module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.geoprocessing.html">arcgis.geoprocessing module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.graph.html">arcgis.graph module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.mapping.toc.html">arcgis.mapping module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.realtime.html">arcgis.realtime module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.schematics.html">arcgis.schematics module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.widgets.html">arcgis.widgets module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.apps.html">arcgis.apps module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.learn.toc.html">arcgis.learn module</a></li>
<li class="toctree-l1"><a class="reference internal" href="arcgis.auth.html">arcgis.auth package</a></li>
</ul>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="index.html">arcgis</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="index.html" class="icon icon-home"></a> »</li>
<li><a href="arcgis.geoanalytics.toc.html">arcgis.geoanalytics module</a> »</li>
<li>arcgis.geoanalytics.analyze_patterns module</li>
<li class="wy-breadcrumbs-aside">
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<!-- This code block is inserted close near the <body> tag. See http://bit.ly/2BHUQzB -->
<!-- The point of this code block is to send us google analytics on website views -->
<noscript><iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NJGGV5"
height="0" width="0" style="display:none;visibility:hidden"></iframe></noscript>
<div class="section" id="arcgis-geoanalytics-analyze-patterns-module">
<h1>arcgis.geoanalytics.analyze_patterns module<a class="headerlink" href="#arcgis-geoanalytics-analyze-patterns-module" title="Permalink to this headline">¶</a></h1>
<span class="target" id="module-arcgis.geoanalytics.analyze_patterns"></span><p>These tools help you identify, quantify, and visualize spatial patterns in your data.</p>
<p>calculate_density takes known quantities of some phenomenon and spreads these quantities across the map.
find_hot_spots identifies statistically significant clustering in the spatial pattern of your data.</p>
<div class="section" id="calculate-density">
<h2>calculate_density<a class="headerlink" href="#calculate-density" title="Permalink to this headline">¶</a></h2>
<dl class="py function">
<dt id="arcgis.geoanalytics.analyze_patterns.calculate_density">
<code class="sig-prename descclassname"><span class="pre">arcgis.geoanalytics.analyze_patterns.</span></code><code class="sig-name descname"><span class="pre">calculate_density</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">input_layer</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">fields</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">weight</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'Uniform'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bin_type</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'Square'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bin_size</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bin_size_unit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_interval</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_interval_unit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_repeat_interval</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_repeat_interval_unit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_reference</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">radius</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">radius_unit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">area_units</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'SquareKilometers'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_name</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">gis</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">future</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#arcgis.geoanalytics.analyze_patterns.calculate_density" title="Permalink to this definition">¶</a></dt>
<dd><img alt="_images/calculate_density1.png" src="_images/calculate_density1.png" />
<p>The <code class="docutils literal notranslate"><span class="pre">calculate_density</span></code> tool creates a density map from point features by spreading known quantities of some
phenomenon (represented as attributes of the points) across the map. The result is a layer of areas classified
from least dense to most dense.</p>
<p>For point input, each point should represent the location of some event or incident, and the result layer
represents a count of the incident per unit area. A higher density value in a new location means that there
are more points near that location. In many cases, the result layer can be interpreted as a risk surface
for future events. For example, if the input points represent locations of lightning strikes, the result
layer can be interpreted as a risk surface for future lightning strikes.</p>
<p>Other use cases of this tool include the following:</p>
<ul class="simple">
<li><p>Creating crime density maps to help police departments properly allocate resources to high crime areas.</p></li>
<li><p>Calculating densities of hospitals within a county. The result layer will show areas with high and low accessibility to
ospitals, and this information can be used to decide where new hospitals should be built.</p></li>
<li><p>Identifying areas that are at high risk of forest fires based on historical locations of forest fires.</p></li>
<li><p>Locating communities that are far from major highways in order to plan where new roads should be constructed.</p></li>
</ul>
<table class="docutils align-default">
<colgroup>
<col style="width: 18%" />
<col style="width: 82%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><strong>Argument</strong></p></td>
<td><p><strong>Description</strong></p></td>
</tr>
<tr class="row-even"><td><p>input_layer</p></td>
<td><p>Required point feature layer. The point layer on which the density will be calculated.</p>
<p>See <a class="reference internal" href="arcgis.geoanalytics.toc.html#gaxfeatureinput"><span class="std std-ref">Feature Input</span></a>.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Analysis using bins requires a projected coordinate system.
When aggregating layers into bins, the input layer or processing
extent (<code class="docutils literal notranslate"><span class="pre">processSR</span></code>) must have a projected coordinate system.
At 10.5.1, 10.6, and 10.6.1, if a projected coordinate system is
not specified when running analysis, the World Cylindrical Equal
Area (WKID 54034) projection will be used. At 10.7 or later, if a
projected coordinate system is not specified when running analysis,
a projection will be picked based on the extent of the data.</p>
</div>
</td>
</tr>
<tr class="row-odd"><td><p>fields</p></td>
<td><p>Optional string. Provides one or more field specifying the number of incidents at each location.
You can calculate the density on multiple fields, and the count of points will always have the density calculated.</p></td>
</tr>
<tr class="row-even"><td><p>weight</p></td>
<td><p>Required string. The type of weighting applied to the density calculation. There are two options:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Uniform</span></code> - Calculates a magnitude-per-area. This is the default.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Kernel</span></code> - Applies a kernel function to fit a smooth tapered surface to each point.</p></li>
</ul>
</div></blockquote>
<p>The default value is “Uniform”.</p>
</td>
</tr>
<tr class="row-odd"><td><p>bin_type</p></td>
<td><p>Required string. The type of bin used to calculate density.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Analysis using <code class="docutils literal notranslate"><span class="pre">Square</span></code> or <code class="docutils literal notranslate"><span class="pre">Hexagon</span></code> bins requires a projected coordinate system.
When aggregating layers into bins, the input layer or processing extent (<code class="docutils literal notranslate"><span class="pre">processSR</span></code>) must
have a projected coordinate system. At 10.5.1, 10.6, and 10.6.1, if a projected coordinate
system is not specified when running analysis, the World Cylindrical Equal
Area (WKID 54034) projection will be used. At 10.7 or later, if a projected coordinate system
is not specified when running analysis, a projection will be picked based on the extent of the data.</p>
</div>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Hexagon</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Square</span></code></p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-even"><td><p>bin_size</p></td>
<td><p>Required float. The distance for the bins that the <code class="docutils literal notranslate"><span class="pre">input_layer</span></code> will be analyzed using.
When generating bins, for Square, the number and units specified determine the
height and length of the square. For <code class="docutils literal notranslate"><span class="pre">Hexagon</span></code>, the number and units specified
determine the distance between parallel sides.</p></td>
</tr>
<tr class="row-odd"><td><p>bin_size_unit</p></td>
<td><p>Required string. The distance unit for the bins for which the density will be calculated.
The linear unit to be used with the value specified in <code class="docutils literal notranslate"><span class="pre">bin_size</span></code>.</p>
<p>The default is ‘Meters’.</p>
</td>
</tr>
<tr class="row-even"><td><p>time_step_interval</p></td>
<td><p>Optional integer. A numeric value that specifies duration of the time step interval. This option is
only available if the input points are time-enabled and represent an instant in time.</p>
<p>The default value is ‘None’.</p>
</td>
</tr>
<tr class="row-odd"><td><p>time_step_interval_unit</p></td>
<td><p>Optional string. A string that specifies units of the time step interval.
This option is only available if the input points are time-enabled and represent an instant in time.</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Milliseconds</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Seconds</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Minutes</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Hours</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Days</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Weeks</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Months</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Years</span></code></p></li>
</ul>
</div></blockquote>
<p>The default value is ‘None’.</p>
</td>
</tr>
<tr class="row-even"><td><p>time_step_repeat_interval</p></td>
<td><p>Optional integer. A numeric value that specifies how often the time step repeat occurs.
This option is only available if the input points are time-enabled and of time type instant.</p></td>
</tr>
<tr class="row-odd"><td><p>time_step_repeat_interval_unit</p></td>
<td><p>Optional string. A string that specifies the temporal unit of the step repeat.
This option is only available if the input points are time-enabled and of time type instant.</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Years</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Months</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Weeks</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Days</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Hours</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Minutes</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Seconds</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Milliseconds</span></code></p></li>
</ul>
</div></blockquote>
<p>The default value is ‘None’.</p>
</td>
</tr>
<tr class="row-even"><td><p>time_step_reference</p></td>
<td><p>Optional datetime. A date that specifies the reference time to align the time slices to,
represented in milliseconds from epoch. If time_step_reference is set
to ‘None’, time stepping will align to January 1st, 1970 (datetime(1970, 1, 1)).
This option is only available if the input points are time-enabled and of time type instant.</p>
<p>The default value is ‘None’.</p>
</td>
</tr>
<tr class="row-odd"><td><p>radius</p></td>
<td><p>Required integer. The size of the neighborhood within which to calculate the density.
The radius size must be larger than the <code class="docutils literal notranslate"><span class="pre">bin_size</span></code>.</p></td>
</tr>
<tr class="row-even"><td><p>radius_unit</p></td>
<td><p>Required string. The distance unit for the radius defining the neighborhood for which the density will be calculated.
The linear unit to be used with the value specified in <code class="docutils literal notranslate"><span class="pre">bin_size</span></code>.</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Feet</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Yards</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Miles</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Meters</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Kilometers</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">NauticalMiles</span></code></p></li>
</ul>
</div></blockquote>
<p>The default value is ‘Meters’.</p>
</td>
</tr>
<tr class="row-odd"><td><p>area_units</p></td>
<td><p>Optional string. The desired output units of the density values. If density values are very small, you can increase the
size of the area units (for example, square meters to square kilometers) to return larger values.
This value only scales the result. Possible area units are:</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">SquareMeters</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">SquareKilometers</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Hectares</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">SquareFeet</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">SquareYards</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">SquareMiles</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Acres</span></code></p></li>
</ul>
</div></blockquote>
<p>The default value is <code class="docutils literal notranslate"><span class="pre">SquareKilometers</span></code>.</p>
</td>
</tr>
<tr class="row-even"><td><p>output_name</p></td>
<td><p>Optional string. The method will create a feature service of the results. You define the name of the service.</p></td>
</tr>
<tr class="row-odd"><td><p>gis</p></td>
<td><p>Optional, the GIS on which this tool runs. If not specified, the active GIS is used.</p></td>
</tr>
<tr class="row-even"><td><p>context</p></td>
<td><p>Optional dict. The context parameter contains additional settings that
affect task execution. For this task, there are four settings (keys in
the dictionary):</p>
<ol class="arabic simple">
<li><p>Extent (<code class="docutils literal notranslate"><span class="pre">extent</span></code>) - A bounding box that defines the analysis area. Only those features that intersect the bounding box will be analyzed.</p></li>
<li><p>Processing spatial reference (<code class="docutils literal notranslate"><span class="pre">processSR</span></code>) - The features will be projected into this coordinate system for analysis.</p></li>
<li><p>Output spatial reference (<code class="docutils literal notranslate"><span class="pre">outSR</span></code>) - The features will be projected into this coordinate system after the analysis to be saved. The output spatial reference for the spatiotemporal big data store is always WGS84.</p></li>
<li><p>Data store (<code class="docutils literal notranslate"><span class="pre">dataStore</span></code>) - Results will be saved to the specified data store. For ArcGIS Enterprise, the default is the spatiotemporal big data store.</p></li>
</ol>
</td>
</tr>
<tr class="row-odd"><td><p>future</p></td>
<td><p>Optional boolean. If True, a future object will be returned and the process
will not wait for the task to complete. The default is False, which means wait for results.</p></td>
</tr>
</tbody>
</table>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>result_layer : Output Features as <a class="reference internal" href="arcgis.features.toc.html#arcgis.features.FeatureLayer" title="arcgis.features.FeatureLayer"><code class="xref py py-class docutils literal notranslate"><span class="pre">FeatureLayer</span></code></a>.</p>
</dd>
</dl>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1"># Usage Example: Aggregate the number of Hurricanes within 1 meter to calculate density of Hurricane damage.</span>
<span class="n">cal_den_result</span> <span class="o">=</span> <span class="n">calculate_density</span><span class="p">(</span><span class="n">input_layer</span><span class="o">=</span><span class="n">hurricane_lyr</span><span class="p">,</span>
<span class="n">fields</span><span class="o">=</span><span class="s1">'Damage'</span><span class="p">,</span>
<span class="n">weight</span><span class="o">=</span><span class="s1">'Uniform'</span><span class="p">,</span>
<span class="n">bin_type</span><span class="o">=</span><span class="s1">'Square'</span><span class="p">,</span>
<span class="n">bin_size</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span>
<span class="n">bin_size_unit</span><span class="o">=</span><span class="s2">"Meters"</span><span class="p">,</span>
<span class="n">radius</span><span class="o">=</span><span class="mi">2</span><span class="p">,</span>
<span class="n">radius_unit</span><span class="o">=</span><span class="s2">"Yards"</span><span class="p">)</span>
</pre></div>
</div>
</dd></dl>
</div>
<div class="section" id="create-space-time-cube">
<h2>create_space_time_cube<a class="headerlink" href="#create-space-time-cube" title="Permalink to this headline">¶</a></h2>
<dl class="py function">
<dt id="arcgis.geoanalytics.analyze_patterns.create_space_time_cube">
<code class="sig-prename descclassname"><span class="pre">arcgis.geoanalytics.analyze_patterns.</span></code><code class="sig-name descname"><span class="pre">create_space_time_cube</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">point_layer</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bin_size</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bin_size_unit</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_interval</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_interval_unit</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_alignment</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_reference</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">summary_fields</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_name</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">gis</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">future</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#arcgis.geoanalytics.analyze_patterns.create_space_time_cube" title="Permalink to this definition">¶</a></dt>
<dd><img alt="_images/create_space_time_cube.png" src="_images/create_space_time_cube.png" />
<p><code class="docutils literal notranslate"><span class="pre">create_space_time_cube</span></code> works with a layer of point features that are time enabled.
It aggregates the data into a three-dimensional cube of space-time bins.
When determining the point in a space-time bin relationship, statistics about all
points in the space-time bins are calculated and assigned to the bins.
The most basic statistic is the number of points within the bins, but you can
calculate other statistics as well.
For example, suppose you have point features of crimes in a city, and you want
to summarize the number of crimes in both space and time. You can calculate the
space-time cube for the dataset, and use the cube to further analyze trends
such as emerging hot and cold spots.</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 30%" />
<col style="width: 70%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><strong>Argument</strong></p></td>
<td><p><strong>Description</strong></p></td>
</tr>
<tr class="row-even"><td><p>point_layer</p></td>
<td><p>Required point feature layer. The point features that will be
aggregated into the bins specified in geographical size by the <code class="docutils literal notranslate"><span class="pre">bin_size</span></code>
and <code class="docutils literal notranslate"><span class="pre">bin_size_unit</span></code> parameters and temporal size by
the <code class="docutils literal notranslate"><span class="pre">time_step_interval</span></code> and <code class="docutils literal notranslate"><span class="pre">time_step_interval_unit</span></code> parameters.
See <a class="reference internal" href="arcgis.geoanalytics.toc.html#gaxfeatureinput"><span class="std std-ref">Feature Input</span></a>.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>The <code class="docutils literal notranslate"><span class="pre">input_layer</span></code> must have a minimum of 60 features.</p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Analysis using bins requires a projected coordinate system.
When aggregating layers into bins, the input layer or processing
extent (<code class="docutils literal notranslate"><span class="pre">processSR</span></code>) must have a projected coordinate system.
At 10.5.1, 10.6, and 10.6.1, if a projected coordinate system is
not specified when running analysis, the World Cylindrical Equal
Area (WKID 54034) projection will be used. At 10.7 or later, if a
projected coordinate system is not specified when running analysis,
a projection will be picked based on the extent of the data.</p>
</div>
</td>
</tr>
<tr class="row-odd"><td><p>bin_size</p></td>
<td><p>Required float. The distance for the bins into which <code class="docutils literal notranslate"><span class="pre">point_layer</span></code> will be aggregated.</p></td>
</tr>
<tr class="row-even"><td><p>bin_size_unit</p></td>
<td><p>Required string. The distance unit for the bins into which <code class="docutils literal notranslate"><span class="pre">point_layer</span></code> will be aggregated.</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Feet</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Yards</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Miles</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Meters</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Kilometers</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">NauticalMiles</span></code></p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-odd"><td><p>time_step_interval</p></td>
<td><p>Required integer. A numeric value that specifies the duration of the time bin.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>A <code class="docutils literal notranslate"><span class="pre">create_space_time_cube</span></code> must have at least 10 time slices.</p>
</div>
</td>
</tr>
<tr class="row-even"><td><p>time_step_interval_unit</p></td>
<td><p>Required string. A numeric value that specifies the duration unit of the time bin.</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Years</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Months</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Weeks</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Days</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Hours</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Minutes</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Seconds</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Milliseconds</span></code></p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-odd"><td><p>time_step_alignment</p></td>
<td><p>Optional string. Defines how aggregation will occur based on a given timeInterval. Options are as follows:</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">StartTime</span></code> - Time is aligned to the first feature in time</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">EndTime</span></code> - Time is aligned to the last feature in time</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ReferenceTime</span></code> - Time is aligned a specified time</p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-even"><td><p>time_step_reference (Required if <code class="docutils literal notranslate"><span class="pre">time_step_alignment</span></code> is ReferenceTime)</p></td>
<td><p>Optional datetime. A date that specifies the reference time to align the
time bins to if ReferenceTime is specified in <code class="docutils literal notranslate"><span class="pre">time_step_alignment</span></code>.</p></td>
</tr>
<tr class="row-odd"><td><p>summary_fields</p></td>
<td><p>Optional list of dictiaries defining field names, statistical summary types, and the
fill option for empty values that you want to calculate for all points
within each space-time bin. Note that the count of points within each
bin is always returned. By default, all statistics are returned.</p>
<p>Format:</p>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="p">[{</span><span class="s2">"statisticType"</span><span class="p">:</span> <span class="s2">"statistic type"</span><span class="p">,</span>
<span class="s2">"onStatisticField"</span><span class="p">:</span> <span class="s2">"field name"</span><span class="p">,</span>
<span class="s2">"fillType"</span><span class="p">:</span> <span class="s2">"fill type"</span><span class="p">},</span>
<span class="p">{</span><span class="s2">"statisticType"</span><span class="p">:</span> <span class="s2">"statistic type"</span><span class="p">,</span>
<span class="s2">"onStatisticField"</span><span class="p">:</span> <span class="s2">"fieldName2"</span><span class="p">,</span>
<span class="s2">"fillType"</span><span class="p">:</span> <span class="s2">"fill type"</span><span class="p">}]</span>
</pre></div>
</div>
<p><code class="docutils literal notranslate"><span class="pre">statisticType</span></code> is one of the following for numeric fields:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Sum</span></code> - Adds the total value of all the points in each polygon.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Mean</span></code> - Calculates the average of all the points in each polygon.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Min</span></code> - Finds the smallest value of all the points in each polygon.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Max</span></code> - Finds the largest value of all the points in each polygon.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Stddev</span></code> - Finds the standard deviation of all the points in each polygon.</p></li>
</ul>
</div></blockquote>
<p><code class="docutils literal notranslate"><span class="pre">statisticType</span></code> is the following for string fields:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Count</span></code> - Totals the number of strings for all the points in each polygon.</p></li>
</ul>
</div></blockquote>
<p><code class="docutils literal notranslate"><span class="pre">onStatisticField</span></code> is the name of fields in the input point layer.</p>
<p><code class="docutils literal notranslate"><span class="pre">fillType</span></code> is one of the following:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">zeros</span></code> - Fills missing values with zeros. This is most appropriate for fields representing counts.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">spatialNeighbors</span></code> - Fills missing values by averaging the spatial neighbors. Neighbors are determined by a second degree queens contiguity.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">spaceTimeNeighbors</span></code> - Fills missing values by averaging the space-time neighbors. Neighbors are determined by a second degree queens contiguity in both space and time.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">temporalTrend</span></code> - Interpolates values using a univariate spline.</p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-even"><td><p>output_name</p></td>
<td><p>Required string. The task will create a space time cube (netCDF) of the results. You define the name of the space time cube.</p></td>
</tr>
<tr class="row-odd"><td><p>context</p></td>
<td><p>Optional string. Context contains additional settings that affect task execution. For this task, there are two settings:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">extent</span></code> - A bounding box that defines the analysis area. Only those features that intersect the bounding box will be analyzed.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">processSR</span></code> - The features will be projected into this coordinate system for analysis.</p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-even"><td><p>gis</p></td>
<td><p>Optional, the <a class="reference internal" href="arcgis.gis.toc.html#arcgis.gis.GIS" title="arcgis.gis.GIS"><code class="xref py py-class docutils literal notranslate"><span class="pre">GIS</span></code></a> on which this tool runs. If not specified, the active GIS is used.</p></td>
</tr>
<tr class="row-odd"><td><p>future</p></td>
<td><p>Optional boolean. If <code class="docutils literal notranslate"><span class="pre">true</span></code>, a future object will be returned and the process
will not wait for the task to complete. The default is <code class="docutils literal notranslate"><span class="pre">false</span></code>, which means wait for results.</p></td>
</tr>
</tbody>
</table>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>Dict with url containing the path to Output Space Time Cube (netCDF) dataFile.
When you browse to the output url, your netCDF will automatically download to your local machine.</p>
</dd>
</dl>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1"># Usage Example: To aggregate Chicago homicides date layer into 3-dimensional cubes of 5 miles bin.</span>
<span class="n">create_space_time_cube</span><span class="p">(</span><span class="n">point_layer</span><span class="o">=</span><span class="n">lyr</span><span class="p">,</span>
<span class="n">bin_size</span><span class="o">=</span><span class="mi">5</span><span class="p">,</span>
<span class="n">bin_size_unit</span><span class="o">=</span><span class="s2">"Miles"</span><span class="p">,</span>
<span class="n">time_step_interval</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span>
<span class="n">time_step_interval_unit</span><span class="o">=</span><span class="s2">"Days"</span><span class="p">,</span>
<span class="n">time_step_alignment</span><span class="o">=</span><span class="s1">'StartTime'</span><span class="p">,</span>
<span class="n">time_step_reference</span><span class="o">=</span><span class="n">datetime</span><span class="p">(</span><span class="mi">1995</span><span class="p">,</span> <span class="mi">10</span><span class="p">,</span> <span class="mi">4</span><span class="p">),</span>
<span class="n">summary_fields</span><span class="o">=</span><span class="p">[{</span><span class="s2">"statisticType"</span><span class="p">:</span> <span class="s2">"Mean"</span><span class="p">,</span> <span class="s2">"onStatisticField"</span> <span class="p">:</span> <span class="s2">"Beat"</span><span class="p">,</span> <span class="s2">"fillType"</span> <span class="p">:</span> <span class="s2">"temporalTrend"</span> <span class="p">}],</span>
<span class="n">output_name</span><span class="o">=</span><span class="s2">"spacecube"</span><span class="p">)</span>
</pre></div>
</div>
</dd></dl>
</div>
<div class="section" id="find-hot-spots">
<h2>find_hot_spots<a class="headerlink" href="#find-hot-spots" title="Permalink to this headline">¶</a></h2>
<dl class="py function">
<dt id="arcgis.geoanalytics.analyze_patterns.find_hot_spots">
<code class="sig-prename descclassname"><span class="pre">arcgis.geoanalytics.analyze_patterns.</span></code><code class="sig-name descname"><span class="pre">find_hot_spots</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">point_layer</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bin_size</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">5</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">bin_size_unit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'Miles'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">neighborhood_distance</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">5</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">neighborhood_distance_unit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'Miles'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_interval</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_interval_unit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_alignment</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_step_reference</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_name</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">gis</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">future</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#arcgis.geoanalytics.analyze_patterns.find_hot_spots" title="Permalink to this definition">¶</a></dt>
<dd><img alt="_images/geo_find_hot_spots.png" src="_images/geo_find_hot_spots.png" />
<p>The <code class="docutils literal notranslate"><span class="pre">find_hot_spots</span></code> tool analyzes point data (such as crime incidents, traffic accidents, trees, and so on)
or field values associated with points. It finds statistically significant spatial clusters of high incidents (hot spots)
and low incidents (cold spots). Hot spots are locations with lots of points and cold spots are locations with very few points.</p>
<p>The result map layer shows hot spots in red and cold spots in blue. The darkest red features indicate the strongest
clustering of point densities; you can be 99 percent confident that the clustering associated with these features
could not be the result of random chance. Similarly, the darkest blue features are associated with the strongest
spatial clustering of the lowest point densities. Features that are beige are not part of a statistically
significant cluster; the spatial pattern associated with these features could very likely be the result of random
processes and random chance.</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 33%" />
<col style="width: 67%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><strong>Argument</strong></p></td>
<td><p><strong>Description</strong></p></td>
</tr>
<tr class="row-even"><td><p>point_layer</p></td>
<td><p>Required feature layer. The point feature layer for which hot spots will be calculated.
See <a class="reference internal" href="arcgis.geoanalytics.toc.html#gaxfeatureinput"><span class="std std-ref">Feature Input</span></a>.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Analysis using bins requires a projected coordinate system. When aggregating layers into bins,
the input layer or processing extent (<code class="docutils literal notranslate"><span class="pre">processSR</span></code>) must have a projected coordinate system.
At 10.5.1, 10.6, and 10.6.1, if a projected coordinate system is not specified when running
analysis, the World Cylindrical Equal Area (WKID 54034) projection will be used. At 10.7 or later,
if a projected coordinate system is not specified when running analysis, a projection will be
picked based on the extent of the data.</p>
</div>
</td>
</tr>
<tr class="row-odd"><td><p>bin_size</p></td>
<td><p>Optional float. The distance for the square bins the <code class="docutils literal notranslate"><span class="pre">point_layer</span></code> will be aggregated into.</p></td>
</tr>
<tr class="row-even"><td><p>bin_size_unit</p></td>
<td><p>Optional string. The distance unit for the bins with which hot spots will be calculated.
The linear unit to be used with the value specified in <code class="docutils literal notranslate"><span class="pre">bin_size</span></code>.
When generating bins the number and units specified determine the height and length of the square.</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Feet</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Yards</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Miles</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Meters</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Kilometers</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">NauticalMiles</span></code></p></li>
</ul>
</div></blockquote>
<p>The default value is <code class="docutils literal notranslate"><span class="pre">Miles</span></code>.</p>
</td>
</tr>
<tr class="row-odd"><td><p>neighborhood_distance</p></td>
<td><p>Optional float. The size of the neighborhood within which to calculate the hot spots.
The radius size must be larger than <code class="docutils literal notranslate"><span class="pre">bin_size</span></code>.</p></td>
</tr>
<tr class="row-even"><td><p>neighborhood_distance_unit</p></td>
<td><p>Optional string. The distance unit for the radius defining the neighborhood where the hot spots
will be calculated. The linear unit to be used with the value specified in <code class="docutils literal notranslate"><span class="pre">bin_size</span></code>.</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Feet</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Yards</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Miles</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Meters</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Kilometers</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">NauticalMiles</span></code></p></li>
</ul>
</div></blockquote>
<p>The default value is <code class="docutils literal notranslate"><span class="pre">Miles</span></code>.</p>
</td>
</tr>
<tr class="row-odd"><td><p>time_step_interval</p></td>
<td><p>Optional integer. A numeric value that specifies duration of the time step interval.
This option is only available if the input points are time-enabled and represent an instant in time.</p></td>
</tr>
<tr class="row-even"><td><p>time_step_interval_unit</p></td>
<td><p>Optional string. A string that specifies units of the time step interval.
This option is only available if the input points are time-enabled and represent an instant in time.</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">Years</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Months</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Weeks</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Days</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Hours</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Minutes</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Seconds</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">Milliseconds</span></code></p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-odd"><td><p>time_step_alignment</p></td>
<td><p>Optional string. Defines how aggregation will occur based on a given <code class="docutils literal notranslate"><span class="pre">time_step_interval</span></code>. Options are as follows:</p>
<p>Choice list:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">StartTime</span></code> - Time is aligned to the first feature in time.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">EndTime</span></code> - Time is aligned to the last feature in time.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">ReferenceTime</span></code> - Time is aligned a specified time in <code class="docutils literal notranslate"><span class="pre">time_step_reference</span></code>.</p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-even"><td><p>time_step_reference (Required if <code class="docutils literal notranslate"><span class="pre">time_step_alignment</span></code> is ReferenceTime)</p></td>
<td><p>Optional datetime. A date that specifies the reference time to align the time slices to.
This option is only available if the input points are time-enabled and of time type instant.</p></td>
</tr>
<tr class="row-odd"><td><p>output_name</p></td>
<td><p>Optional string. The task will create a feature service of the results. You define the name of the service.</p></td>
</tr>
<tr class="row-even"><td><p>context</p></td>
<td><p>Optional string. Context contains additional settings that affect task execution. For this task, there are four settings:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">extent</span></code> - a bounding box that defines the analysis area. Only those features that intersect the bounding box will be analyzed.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">processSR</span></code> The features will be projected into this coordinate system for analysis.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">outSR</span></code> - the features will be projected into this coordinate system after the analysis to be saved.The output spatial reference for the spatiotemporal big data store is always WGS84.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">dataStore</span></code> - Results will be saved to the specified data store. The default is the spatiotemporal big data store.</p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-odd"><td><p>gis</p></td>
<td><p>Optional, the <a class="reference internal" href="arcgis.gis.toc.html#arcgis.gis.GIS" title="arcgis.gis.GIS"><code class="xref py py-class docutils literal notranslate"><span class="pre">GIS</span></code></a> on which this tool runs. If not specified, the active GIS is used.</p></td>
</tr>
<tr class="row-even"><td><p>future</p></td>
<td><p>Optional boolean. If <code class="docutils literal notranslate"><span class="pre">true</span></code>, a future object will be returned and the process
will not wait for the task to complete. The default is <code class="docutils literal notranslate"><span class="pre">false</span></code>, which means wait for results.</p></td>
</tr>
</tbody>
</table>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>Output Features as a <a class="reference internal" href="arcgis.features.toc.html#arcgis.features.FeatureLayerCollection" title="arcgis.features.FeatureLayerCollection"><code class="xref py py-class docutils literal notranslate"><span class="pre">FeatureLayerCollection</span></code></a> item</p>
</dd>
</dl>
<div class="highlight-python notranslate"><div class="highlight"><pre><span></span><span class="c1"># Usage Example: To find significantly hot or cold spots of fire incidents.</span>
<span class="n">find_hot_spots</span><span class="p">(</span><span class="n">point_layer</span><span class="o">=</span><span class="n">fire</span><span class="p">,</span>
<span class="n">bin_size</span><span class="o">=</span><span class="mi">5</span><span class="p">,</span>
<span class="n">bin_size_unit</span><span class="o">=</span><span class="s1">'Miles'</span><span class="p">,</span>
<span class="n">neighborhood_distance</span><span class="o">=</span><span class="mi">5</span><span class="p">,</span>
<span class="n">neighborhood_distance_unit</span><span class="o">=</span><span class="s1">'Miles'</span><span class="p">,</span>
<span class="n">time_step_interval</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span>
<span class="n">time_step_interval_unit</span><span class="o">=</span><span class="s1">'Years'</span><span class="p">,</span>
<span class="n">time_step_alignment</span><span class="o">=</span><span class="s1">'StartTime'</span><span class="p">,</span>
<span class="n">time_step_reference</span><span class="o">=</span><span class="kc">None</span><span class="p">,</span>
<span class="n">output_name</span><span class="o">=</span><span class="s1">'find hot spots'</span><span class="p">,</span>
<span class="n">context</span><span class="o">=</span><span class="p">{</span><span class="s1">'extent'</span><span class="p">:</span> <span class="p">{</span><span class="s1">'xmin'</span><span class="p">:</span> <span class="o">-</span><span class="mf">122.68</span><span class="p">,</span>
<span class="s1">'ymin'</span><span class="p">:</span> <span class="mf">45.5</span><span class="p">,</span>
<span class="s1">'xmax'</span><span class="p">:</span> <span class="o">-</span><span class="mf">122.45</span><span class="p">,</span>
<span class="s1">'ymax'</span><span class="p">:</span> <span class="mf">45.6</span>
<span class="s1">'spatialReference'</span><span class="p">:</span> <span class="p">{</span><span class="s1">'wkid'</span><span class="p">:</span> <span class="mi">4326</span><span class="p">}},</span>
<span class="s1">'outSR'</span><span class="p">:{</span><span class="s1">'wkid'</span><span class="p">:</span> <span class="mi">3857</span><span class="p">}}</span>
<span class="p">)</span>
</pre></div>
</div>
</dd></dl>
</div>
<div class="section" id="find-point-clusters">
<h2>find_point_clusters<a class="headerlink" href="#find-point-clusters" title="Permalink to this headline">¶</a></h2>
<dl class="py function">
<dt id="arcgis.geoanalytics.analyze_patterns.find_point_clusters">
<code class="sig-prename descclassname"><span class="pre">arcgis.geoanalytics.analyze_patterns.</span></code><code class="sig-name descname"><span class="pre">find_point_clusters</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">input_layer</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">method</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">min_feature_clusters</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">search_distance</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">distance_unit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_name</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">gis</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">future</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">time_method</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">search_duration</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">duration_unit</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#arcgis.geoanalytics.analyze_patterns.find_point_clusters" title="Permalink to this definition">¶</a></dt>
<dd><p>This tool extracts clusters from your input point features and identifies any surrounding noise.</p>
<p>For example, a nongovernmental organization is studying a particular pest-borne disease. It has
a point dataset representing households in a study area, some of which are infested, and some of
which are not. By using the Find Point Clusters tool, an analyst can determine clusters of
infested households to help pinpoint an area to begin treatment and extermination of pests.</p>
<table class="docutils align-default">
<colgroup>
<col style="width: 16%" />
<col style="width: 84%" />
</colgroup>
<tbody>
<tr class="row-odd"><td><p><strong>Argument</strong></p></td>
<td><p><strong>Description</strong></p></td>
</tr>
<tr class="row-even"><td><p>input_layer</p></td>
<td><p>The point features for which clusters will be found.</p>
<p>See <a class="reference internal" href="arcgis.geoanalytics.toc.html#gaxfeatureinput"><span class="std std-ref">Feature Input</span></a> for options.</p>
</td>
</tr>
<tr class="row-odd"><td><p>method</p></td>
<td><p>required String. The algorithm used for cluster analysis. This
parameter must be specified as one of:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">DBSCAN</span></code></p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">HDBSCAN</span></code></p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-even"><td><p>min_feature_clusters</p></td>
<td><p>optional Integer. Minimum number of points to consider a
cluster.</p></td>
</tr>
<tr class="row-odd"><td><p>search_distance</p></td>
<td><p>optional Float. The distance to search between points to form
a cluster.</p>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This is required for DBSCAN.</p>
</div>
</td>
</tr>
<tr class="row-even"><td><p>distance_unit</p></td>
<td><p>optional String. The <cite>search_distance</cite> units.</p></td>
</tr>
<tr class="row-odd"><td><p>output_name</p></td>
<td><p>optional String. The task will create a feature service with
this service name.</p></td>
</tr>
<tr class="row-even"><td><p>gis</p></td>
<td><p>optional GIS. The <a class="reference internal" href="arcgis.gis.toc.html#arcgis.gis.GIS" title="arcgis.gis.GIS"><code class="xref py py-class docutils literal notranslate"><span class="pre">GIS</span></code></a> on which this tool
runs. If not specified, the active GIS is used.</p></td>
</tr>
<tr class="row-odd"><td><p>context</p></td>
<td><p>Optional dict. The context parameter contains additional settings
that affect task execution. For this task, there are four settings:</p>
<blockquote>
<div><ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">extent</span></code> - A bounding box that defines the analysis area. Only those features that intersect the bounding box will be analyzed.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">processSR</span></code> - The features will be projected into this coordinate system for analysis.</p></li>
<li><p><code class="docutils literal notranslate"><span class="pre">outSR</span></code> - The features will be projected into this coordinate system after the analysis to be saved.</p></li>
</ul>
<blockquote>
<div><p>The output spatial reference for the spatiotemporal big data store is always WGS84.</p>
</div></blockquote>
<ul class="simple">
<li><p><code class="docutils literal notranslate"><span class="pre">dataStore</span></code> - Results will be saved to the specified data store. The default is the spatiotemporal big data store.</p></li>
</ul>
</div></blockquote>
</td>
</tr>
<tr class="row-even"><td><p>future</p></td>
<td><p>Optional boolean. If True, a future object will be returned and the process
will not wait for the task to complete. The default is False, which means wait for results.</p></td>
</tr>
<tr class="row-odd"><td><p>time_method</p></td>
<td><p>Optional String.</p>
<blockquote>
<div><ul class="simple">
<li><p>When this parameter is set to <code class="docutils literal notranslate"><span class="pre">Linear</span></code>:</p>
<ul>
<li><p>if <code class="docutils literal notranslate"><span class="pre">method</span></code> is <cite>DBSCAN</cite>, both space and time will be used to find point clusters.</p></li>
<li><p>if <code class="docutils literal notranslate"><span class="pre">method</span></code> is <cite>HDBSCAN</cite>, this parameter will be ignored and clusters will be found in space only.</p></li>
</ul>
</li>
</ul>
</div></blockquote>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This parameter can only be used if <cite>input_layer</cite> has time enabled and is of type instant.</p>
</div>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Temporal clustering is available at ArcGIS Enterprise 10.8 and later.</p>
</div>
</td>
</tr>
<tr class="row-even"><td><p>search_duration</p></td>
<td><p>Optional String.</p>
<blockquote>
<div><ul class="simple">
<li><p>When this parameter is set to <code class="docutils literal notranslate"><span class="pre">Linear</span></code>:</p>
<ul>
<li><p>if <code class="docutils literal notranslate"><span class="pre">method</span></code> is <cite>DBSCAN</cite> this parameter is the time duration within which
<cite>min_feature_clusters</cite> must be found.</p></li>
<li><p>if <code class="docutils literal notranslate"><span class="pre">method</span></code> is <cite>HDBSCAN</cite>, this parameter is not used</p></li>
</ul>
</li>
</ul>
</div></blockquote>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>This parameter is not used if <code class="docutils literal notranslate"><span class="pre">time_method</span></code> is not used</p>
</div>
</td>
</tr>
<tr class="row-odd"><td><p>duration_unit</p></td>
<td><p>Optional String. The units used for the <cite>search_duration</cite>
parameter. This parameter is required when using DBSCAN but will
not be used with HDBSCAN or space-only DBSCAN.</p></td>
</tr>
</tbody>
</table>
<dl class="field-list simple">
<dt class="field-odd">Returns</dt>
<dd class="field-odd"><p>Output <a class="reference internal" href="arcgis.features.toc.html#arcgis.features.FeatureLayer" title="arcgis.features.FeatureLayer"><code class="xref py py-class docutils literal notranslate"><span class="pre">FeatureLayer</span></code></a></p>
</dd>
</dl>
</dd></dl>
</div>
<div class="section" id="forest">
<h2>forest<a class="headerlink" href="#forest" title="Permalink to this headline">¶</a></h2>
<dl class="py function">
<dt id="arcgis.geoanalytics.analyze_patterns.forest">
<code class="sig-prename descclassname"><span class="pre">arcgis.geoanalytics.analyze_patterns.</span></code><code class="sig-name descname"><span class="pre">forest</span></code><span class="sig-paren">(</span><em class="sig-param"><span class="n"><span class="pre">input_layer</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">var_prediction</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">var_explanatory</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">trees</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">max_tree_depth</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">random_vars</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">sample_size</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">100</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">min_leaf_size</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">prediction_type</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">'train'</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">features_to_predict</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">validation</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">10</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">importance_tbl</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">exp_var_matching</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">output_name</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">gis</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">context</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">None</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">future</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em>, <em class="sig-param"><span class="n"><span class="pre">return_tuple</span></span><span class="o"><span class="pre">=</span></span><span class="default_value"><span class="pre">False</span></span></em><span class="sig-paren">)</span><a class="headerlink" href="#arcgis.geoanalytics.analyze_patterns.forest" title="Permalink to this definition">¶</a></dt>
<dd><img alt="_images/forest.png" src="_images/forest.png" />
<p>The ‘forest’ method is a forest-based classification and regression
task that creates models and generates predictions using an adaptation of
Leo Breiman’s random forest algorithm, which is a supervised machine
learning method. Predictions can be performed for both categorical
variables (classification) and continuous variables (regression).
Explanatory variables can take the form of fields in the attribute
table of the training features. In addition to validation of model
performance based on the training data, predictions can be made to
another feature dataset.</p>
<p>The following are examples:</p>
<blockquote>
<div><ul class="simple">
<li><p>Given data on occurrence of seagrass, as well as a number of environmental explanatory
variables represented as both attributes which has been enriched using a multi-variable grid
to calculate distances to factories upstream and major ports, future seagrass occurrence can
be predicted based on future projections for those same environmental explanatory variables.</p></li>
<li><p>Suppose you have crop yield data at hundreds of farms across the country along with other
attributes at each of those farms (number of employees, acreage, and so on). Using these
pieces of data, you can provide a set of features representing farms where you don’t have
crop yield (but you do have all of the other variables), and make a prediction about crop
yield.</p></li>
<li><p>Housing values can be predicted based on the prices of houses that have been sold in the
current year. The sale price of homes sold along with information about the number of
bedrooms, distance to schools, proximity to major highways, average income, and crime counts
can be used to predict sale prices of similar homes.</p></li>
</ul>
</div></blockquote>
<div class="admonition note">
<p class="admonition-title">Note</p>
<p>Forest Based Classification and Regression is available at ArcGIS Enterprise 10.7.</p>
</div>
<table class="docutils align-default">
<colgroup>
<col style="width: 28%" />
<col style="width: 72%" />
</colgroup>