|
| 1 | +{ |
| 2 | + "cells": [ |
| 3 | + { |
| 4 | + "cell_type": "markdown", |
| 5 | + "metadata": {}, |
| 6 | + "source": [ |
| 7 | + "# Crop Type Classification: CART\n", |
| 8 | + "\n", |
| 9 | + "Our aim in this notebook is to classify crop type using PlanetScope 4-band Orthotiles. The crop types of particular interest are corn and soybeans.\n", |
| 10 | + "\n", |
| 11 | + "[CART](http://scikit-learn.org/stable/modules/tree.html#tree-algorithms-id3-c4-5-c5-0-and-cart) is a decision tree algorithm that has shown great promise for classification of remotely sensed imagery. We will use this algorithm to classify crop type.\n", |
| 12 | + "\n", |
| 13 | + "In this notebook, we will focus on using the PlanetScope imagery 4 bands as well as NDVI calculation as the features that are fed into the CART algorithm. We will train on one PS Orthotile and validate on another PS Orthotile.\n", |
| 14 | + "\n", |
| 15 | + "### Outline\n", |
| 16 | + "1. Identify datasets (PS Orthotiles and gold standard dataset for train and test)\n", |
| 17 | + "1. Train classifier\n", |
| 18 | + "1. Test classifier\n", |
| 19 | + "\n", |
| 20 | + "\n", |
| 21 | + "### Gold Standard Dataset\n", |
| 22 | + "\n", |
| 23 | + "The [USDA 2016 Crop Data Layer](https://www.nass.usda.gov/Research_and_Science/Cropland/Release/index.php) (CDL) provides a national crop type dataset. This dataset was build using Landsat 8, DMC Deimos-1, and UK 2 satellite imagery ([src](https://www.nass.usda.gov/Research_and_Science/Cropland/sarsfaqs2.php#Section3_17.0)), using supervised classification (decision trees) based on ground truth from the Farm Service Agency (FSA) Common Land Unit (CLU) Program. Since this is a derived dataset, it isn't a ground truth dataset but it is known to be quite accurate so can be used as our gold standard dataset. This dataset is provided as a georegistered raster (geoTIFF).\n", |
| 24 | + "\n", |
| 25 | + "Since corn and soybeans are the primary crops grown in Iowa, we will focus our analysis in that state. The [metadata](https://www.nass.usda.gov/Research_and_Science/Cropland/metadata/metadata_ia16.htm) provided for the Iowa 2016 CDL indicates that it's accuracy is 96.4% and that corn (categorization code 1) and soybeans (categorization code 5) are indeed the primary crop types in the state.\n", |
| 26 | + "\n", |
| 27 | + "## Identify Datasets\n" |
| 28 | + ] |
| 29 | + }, |
| 30 | + { |
| 31 | + "cell_type": "markdown", |
| 32 | + "metadata": {}, |
| 33 | + "source": [ |
| 34 | + "### 2016 Iowa CDL\n", |
| 35 | + "\n", |
| 36 | + "Download data for Iowa from [USDA 2016 Crop Data Layer](https://www.nass.usda.gov/Research_and_Science/Cropland/Release/index.php) (CDL). Filter to corn / soybeans. \n", |
| 37 | + "\n", |
| 38 | + "This is achieved by using the [CropScape](https://nassgeodata.gmu.edu/CropScape/) site." |
| 39 | + ] |
| 40 | + }, |
| 41 | + { |
| 42 | + "cell_type": "code", |
| 43 | + "execution_count": null, |
| 44 | + "metadata": { |
| 45 | + "collapsed": true |
| 46 | + }, |
| 47 | + "outputs": [], |
| 48 | + "source": [] |
| 49 | + } |
| 50 | + ], |
| 51 | + "metadata": { |
| 52 | + "kernelspec": { |
| 53 | + "display_name": "Python 2", |
| 54 | + "language": "python", |
| 55 | + "name": "python2" |
| 56 | + }, |
| 57 | + "language_info": { |
| 58 | + "codemirror_mode": { |
| 59 | + "name": "ipython", |
| 60 | + "version": 2 |
| 61 | + }, |
| 62 | + "file_extension": ".py", |
| 63 | + "mimetype": "text/x-python", |
| 64 | + "name": "python", |
| 65 | + "nbconvert_exporter": "python", |
| 66 | + "pygments_lexer": "ipython2", |
| 67 | + "version": "2.7.13" |
| 68 | + } |
| 69 | + }, |
| 70 | + "nbformat": 4, |
| 71 | + "nbformat_minor": 2 |
| 72 | +} |
0 commit comments