Skip to content

Commit

Permalink
adding links
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianvergaraf committed Sep 6, 2024
1 parent 86f3487 commit 3e49ea1
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions _posts/2024-08-30-land-use-classification.md.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ title: Land use classification of Landsat images
<h3 style = "font-weight:800;"> Transferable Technical Skills Applied in This Project
</h3>

* [Data extraction] (JavaScript, Google Earth Engine)
* [Data extraction](https://github.com/cristianvergaraf/land_use_classification/blob/main/download_images.js) (JavaScript, Google Earth Engine)
* Generation of training set (QGIS, Python)
* Data preprocessing and exploratory analysis (Pandas)
* Testing different machine learning algorithms: SVM, Random Forest (scikit-learn)
Expand All @@ -28,24 +28,24 @@ In this example the Lingue basin in south-central Chile was classified into seve
![land use cover](land_use_web.jpg)


<h3 style = "font-weight:800;"> Data Extraction</h3>
<h3 style = "font-weight:800;"> <a href = "https://github.com/cristianvergaraf/land_use_classification/blob/main/download_images.js" > Data Extraction </a> </h3>

Download images from Google Earth Engine using simple javaScript.

<h3 style = "font-weight:800;"> Generation of Training Sites</h3>
<h3 style = "font-weight:800;"> <a href = "https://github.com/cristianvergaraf/land_use_classification/blob/main/extract_data.ipynb"> Generation of Training Sites </a></h3>

A training set was generated by selecting sites through photointerpretation of high-resolution images (Google Earth). The selected classes were natural forest, forest plantation, shrubland, agriculture, urban, and water.

<h3 style = "font-weight:800;"> Exploratory Analysis</h3>
<h3 style = "font-weight:800;"> <a href = "https://github.com/cristianvergaraf/land_use_classification/blob/main/exploratory_analysis_final.ipynb">Exploratory Analysis</a></h3>

Since the reflectance values were already scaled from 0 to 1, additional scaling was unnecessary. The distribution of bandas, separability of classes, and identification of outliers were performed to assess the training sites.

<h3 style = "font-weight:800;"> Testing Different Machine Learning Algorithms</h3>
<h3 style = "font-weight:800;"> <a href = "https://github.com/cristianvergaraf/land_use_classification/blob/main/machine_learning_final.ipynb"> Testing Different Machine Learning Algorithms</a></h3>

Three different machine algorithms were compared to determine which performed best for this task, considering the small and imbalanced number of training sites.


<h3 style = "font-weight:800;"> Predicting Land Use Classes</h3>
<h3 style = "font-weight:800;"> <a href = https://github.com/cristianvergaraf/land_use_classification/blob/main/clasificacion_imagen.ipynb> Predicting Land Use Classes </a></h3>

The models were applied to predict the land use/cover classes for the entire image. Rasterio was used to manage the image and transform it into an array, enabling model application. The results were then converted back to an image and exported.

Expand Down

0 comments on commit 3e49ea1

Please sign in to comment.