|
POST
|
I have tried it with and without setting the “population” a s a weight, the result is as shown in the screenshots below
... View more
10-14-2023
11:49 PM
|
0
|
0
|
1107
|
|
POST
|
ArcGIS Pro 3.0.2: The attribute fields of the “Streets” layer are not populated when choosing the value of a “field script”, As per the screenshot below, the attribute fields of the “Streets” layer are not populated when choosing the value of a “field script”. Why do we need to write the name of the field manually?
... View more
10-14-2023
12:56 PM
|
0
|
1
|
2168
|
|
POST
|
Eagerly waiting to see the enhancement in Pro 3.2! Thank you
... View more
09-11-2023
06:31 AM
|
1
|
0
|
2906
|
|
IDEA
|
08-30-2023
01:23 PM
|
0
|
0
|
4493
|
|
POST
|
There is no code that calculates the weights for the neighboring observations for each focal observation
... View more
08-30-2023
01:17 PM
|
0
|
0
|
1114
|
|
POST
|
https://developers.arcgis.com/geoanalytics/tools/gwr/ https://github.com/geeksnome/machine-learning-made-easy/blob/master/locally_weighted_regression.py
... View more
08-30-2023
01:12 PM
|
0
|
0
|
3375
|
|
POST
|
when is the Pro 3.2 expected to release? Can you provide some screenshots how will the tree look like?
... View more
08-30-2023
01:02 PM
|
0
|
0
|
2930
|
|
POST
|
What I wanted here is to have the marked classes appeared in the legend
... View more
08-30-2023
12:58 PM
|
0
|
0
|
928
|
|
POST
|
I have little knowledge in coding. All what I wanted is a python code for the Geographically Weighted Regression (GWR) that can work in Jupyter or Spyder
... View more
08-28-2023
10:28 PM
|
0
|
0
|
3404
|
|
POST
|
I used the ChatGPT in order to get the python code for the GWR as per the request below --- Write a python code to read the table saved here: "C:\D\H3.xlsx" Write a python code to predict the value of the dependent variable based on the geographically Weighted Regression (GWR) displaying how the weights of neighbouring observations are used to calculate the prediction of the focal observation The first 4 columns are the independent variables The fifth column is the dependent variable The u column represents the x-coordinate The v column represents the y coordinate Use the Gaussian as the kernel function Assume the bandwidth to be 400 meters ------- The ChatGPT provided the code below: -------- import pandas as pd import numpy as np from spreg import GWR from spreg.utils import read_spatialdata # Load the data from the Excel file file_path = r'C:\D\H3.xlsx' data = pd.read_excel(file_path) # Define the independent variables (X1, X2, X3, X4) X = data[['X1', 'X2', 'X3', 'X4']].values # Define the dependent variable (y) y = data['y'].values # Define the coordinates (u and v) u = data['u'].values v = data['v'].values # Define the bandwidth for the Gaussian kernel bandwidth = 400 # meters # Create a spatial weights matrix based on Gaussian kernel distances = np.sqrt((u[:, np.newaxis] - u)**2 + (v[:, np.newaxis] - v)**2) kernel_weights = np.exp(-distances**2 / (2 * bandwidth**2)) # Create a GWR model model = GWR(y, X, kernel_weights) # Fit the GWR model results = model.fit() # Predict the values of the dependent variable predicted_values = results.predict(X) # You can now use predicted_values for your predictions print(predicted_values) ------- However, running this code on the JupyterLab ends up with an error as below
... View more
08-22-2023
10:27 AM
|
0
|
0
|
3444
|
|
POST
|
ArcGIS Pro 3.1.0: What is the python code based on which the weight of the surrounding (neighborhood) of each observation is calculated in the Geographically Weighted Regression (GWR)? As the only difference between the ordinary linear regression (ordinary least square – OLS) and the Geographically Weighted Regression (GWR) is that the observations in the GWR method are weighted based on their neighborhood and after being weighted, the predicted value for the focal observation is calculated based on the weighted observations but not raw observations. Then what is the python code that can show the weight of influence of each surrounding observation on the focal observation?
... View more
08-22-2023
03:44 AM
|
0
|
2
|
1360
|
|
POST
|
Not sure how can I can take the advantage of this python code to stick it in JupyterLab in order to apply the analysis
... View more
08-22-2023
03:22 AM
|
0
|
0
|
3460
|
|
POST
|
ArcGIS Pro 3.1.0: What is the python code for the Geographically Weighted Regression (GWR)? In the screenshot below, I couldn’t figure out how to obtain the python code for the Geographically Weighted Regression (GWR) by which the dependent variable (y) can be expected based on the independent variables (x1, x2, x3, x4) considering the location of each observations where u column represents the x – coordinate and v column represents the y – coordinate
... View more
08-21-2023
11:44 AM
|
0
|
7
|
3535
|
|
POST
|
ArcGIS Pro 3.1.0: What is the best practice to display the tree of a parcel lineage history particularly in case of parcels merge? For example, in the screenshots below, parcel#888 has the following transactions: it is divided into two parcels: 888/1 and 888/2 parcel 888/1 is divided into two parcels: 888/1/A and 888/1/B parcel 888/1/B is merged with 888/2 to form 888/1/B + 888/2 Now as the parcel 888/1/B + 888/2 is identified, it provides different history depending on where we click. What could be the best practice to display the tree of the history of parcel888/1/B + 888/2?
... View more
08-21-2023
10:29 AM
|
1
|
11
|
4027
|
|
POST
|
I thought that identifying a feature on the layer that represents the parcels should be able to display the tree of parcel lineage history.
... View more
08-21-2023
09:24 AM
|
0
|
0
|
1277
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 09-30-2022 10:43 PM | |
| 2 | 05-05-2025 10:33 AM | |
| 1 | 05-08-2025 09:49 PM | |
| 1 | 05-06-2025 11:10 PM | |
| 1 | 02-20-2021 01:23 AM |
| Online Status |
Offline
|
| Date Last Visited |
a week ago
|