ArcGIS Desktop

  • ArcGIS Pro
  • ArcMap

  • My Profile
  • Aide
  • Sign Out
ArcGIS Desktop

ArcGIS Online

La plateforme cartographique de votre organisation

ArcGIS Desktop

Un SIG professionnel complet

ArcGIS Enterprise

SIG dans votre entreprise

ArcGIS for Developers

Outils de création d'applications de localisation

ArcGIS Solutions

Modèles d'applications et de cartes gratuits pour votre secteur d'activité

ArcGIS Marketplace

Téléchargez des applications et des données pour votre organisation.

  • Documentation
  • Support
Esri
  • Se connecter
user
  • Mon profil
  • Déconnexion

ArcMap

  • Accueil
  • Commencer
  • Carte
  • Analyser
  • Gérer les données
  • Outils
  • Extensions

Cross Validation

Disponible avec une licence Geostatistical Analyst.

  • Résumé
  • Utilisation
  • Syntaxe
  • Exemple de code
  • Environnements
  • Informations de licence

Résumé

Removes one data location and predicts the associated data using the data at the rest of the locations. The primary use for this tool is to compare the predicted value to the observed value in order to obtain useful information about some of your model parameters.

Learn more about performing cross validation and validation

Utilisation

  • When using this tool in Python, the result object contains both a feature class and a CrossValidationResult, which has the following properties:

    • Count—Total number of samples used.
    • Mean Error—The averaged difference between the measured and the predicted values.
      Mean error
    • Root Mean Square Error—Indicates how closely your model predicts the measured values. The smaller this error, the better.
      Root mean square error
    • Average Standard Error—The average of the prediction standard errors.
      Average standard error
    • Mean Standardized Error—The average of the standardized errors. This value should be close to 0.
      Mean standardized error
    • Root Mean Square Standardized Error—This should be close to 1 if the prediction standard errors are valid. If the root-mean-squared standardized error is greater than 1, you are underestimating the variability in your predictions. If the root-mean-square-standardized error is less than 1, you are overestimating the variability in your predictions.
      Root mean square standardized error

    Only the Mean and Root Mean Square Error results are available for IDW, Global Polynomial Interpolation, Radial Basis Functions, Diffusion Interpolation With Barriers, and Kernel Interpolation With Barriers.

  • The fields in the optional output feature class are described in the GA Layer To Points tool.

Syntaxe

CrossValidation_ga (in_geostat_layer, {out_point_feature_class})
ParamètreExplicationType de données
in_geostat_layer

The geostatistical layer to be analyzed.

Geostatistical Layer
out_point_feature_class
(Facultatif)

Stores the cross-validation statistics at each location in the geostatistical layer.

Feature Class

Sortie dérivée

NomExplicationType de données
count

mean_error
root_mean_square
average_standard
mean_standardized
root_mean_square_standardized
percent_in_90_interval
percent_in_95_interval
average_crps

Exemple de code

CrossValidation example 1 (Python window)

Perform cross validation on an input geostatistical layer.

import arcpy
arcpy.env.workspace = "C:/gapyexamples/data"
cvResult = arcpy.CrossValidation_ga("C:/gapyexamples/data/kriging.lyr")
print "Root Mean Square error = " + str(cvResult.rootMeanSquare)
CrossValidation example 2 (stand-alone script)

Perform cross validation on an input geostatistical layer.

# Name: CrossValidation_Example_02.py
# Description: Perform cross validation on an input geostatistical layer.
# Requirements: Geostatistical Analyst Extension

# Import system modules
import arcpy

# Set environment settings
arcpy.env.workspace = "C:/gapyexamples/data"

# Set local variables
inLayer = "C:/gapyexamples/data/kriging.lyr"

# Check out the ArcGIS Geostatistical Analyst extension license
arcpy.CheckOutExtension("GeoStats")

# Execute CrossValidation
cvResult = arcpy.CrossValidation_ga(inLayer)
print "Root Mean Square error = " + str(cvResult.rootMeanSquare)

Environnements

  • Espace de travail courant
  • Transformations géographiques
  • Système de coordonnées en sortie

Informations de licence

  • ArcGIS Desktop Basic: Requiert Geostatistical Analyst
  • ArcGIS Desktop Standard: Requiert Geostatistical Analyst
  • ArcGIS Desktop Advanced: Requiert Geostatistical Analyst

Rubriques connexes

  • An overview of the Utilities toolset for Geostatistical Analyst

ArcGIS Desktop

  • Accueil
  • Documentation
  • Support

ArcGIS Platform

  • ArcGIS Online
  • ArcGIS Desktop
  • ArcGIS Enterprise
  • ArcGIS for Developers
  • ArcGIS Solutions
  • ArcGIS Marketplace

A propos d'Esri

  • A propos de la société
  • Carrières
  • Blog d’Esri
  • Conférence des utilisateurs
  • Sommet des développeurs
Esri
Donnez-nous votre avis.
Copyright © 2019 Esri. | Confidentialité | Légal