<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Rachel Keay on Medium]]></title>
        <description><![CDATA[Stories by Rachel Keay on Medium]]></description>
        <link>https://medium.com/@datalass1?source=rss-a90e89b93be6------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*sKRcVt1IiLegNS9-.</url>
            <title>Stories by Rachel Keay on Medium</title>
            <link>https://medium.com/@datalass1?source=rss-a90e89b93be6------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 03:39:52 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@datalass1/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Collaborative Seagrass Mapping from Sentinel-2 Satellite Imagery]]></title>
            <link>https://medium.com/uk-hydrographic-office/collaborative-seagrass-mapping-from-sentinel-2-satellite-imagery-fd499edc75cd?source=rss-a90e89b93be6------2</link>
            <guid isPermaLink="false">https://medium.com/p/fd499edc75cd</guid>
            <dc:creator><![CDATA[Rachel Keay]]></dc:creator>
            <pubDate>Thu, 28 Oct 2021 10:56:38 GMT</pubDate>
            <atom:updated>2021-10-28T13:03:38.826Z</atom:updated>
            <content:encoded><![CDATA[<p>Authors: Rachel Keay (UKHO), <a href="https://www.linkedin.com/in/isabel-hassall-b52580185/">Izzy Hassall (JNCC)</a>, <a href="https://www.ncl.ac.uk/nes/people/profile/clarefitzsimmons.html">Clare Fitzsimmons (Newcastle University)</a>, <a href="https://www.linkedin.com/in/lewis-castle-687265a4/">Lewis Castle (JNCC)</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*5JUiQrXG1J8X_7-M" /><figcaption>Photo by <a href="https://unsplash.com/@boardshortsben?utm_source=medium&amp;utm_medium=referral">Benjamin L. Jones</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>This blog will share the recent investigation that the <a href="https://www.gov.uk/government/organisations/uk-hydrographic-office">UK Hydrographic Office (UKHO)</a> Data Science, Bathymetry and Remote Sensing teams have carried out to learn more about mapping seagrass from satellite imagery. As part of this work the UKHO collaborated with government partners, <a href="https://jncc.gov.uk/">Joint Nature Conservation Committee (JNCC)</a>, and <a href="https://www.ncl.ac.uk/nes/">Newcastle University</a> for essential ground truth data of seagrass locations over the British Virgin Islands (BVI), Caribbean.</p><h3>What is seagrass &amp; why is it important to map?</h3><p>Seagrass is an underwater flowering plant that grows in marine and estuarine environments on all the world’s continents except Antarctica. It typically grows on flat soft substrates, such as sand or mud, with coverage ranging from sparse to very dense meadows of seagrass.</p><p>Marine habitats of seagrass stabilise the coastline, provide protection from storms, support fisheries and serve as a bioindicator of healthy oceans and coastlines. It is estimated that <a href="https://www.nature.com/articles/ngeo1477">seagrass beds capture 10% of the world’s carbon dioxide despite occupying less than 0.2% of the ocean</a>. However, seagrass is at risk from pollution, anchor damage, coastal and port development, and environmental change, such as increasing sea surface temperatures.</p><h3>Introducing UKHO, JNCC &amp; Newcastle University</h3><p>The UKHO survey, process and validate a large variety and volume of data to create navigational products and data sets for maritime situational awareness and to support the development of sustainable marine economies. The UKHO is the <a href="https://datahub.admiralty.co.uk/portal/apps/sites/#/marine-data-portal/pages/seabed-mapping-services">Marine Environmental Data and Information Network (MEDIN) accredited national Data Archive Centre (DAC)</a> for bathymetric surveys. Bathymetry describes the measurement of the depth of water and is essential for seabed habitat mapping and, therefore, useful for decision-making when it comes to sustainable development of our marine and coastal environments in the UK and overseas.</p><p>JNCC work closely with each of the devolved governments and country nature conservation bodies to develop a strong environmental evidence base for the UK to address obligations arising from international treaties and conventions. This is done specifically through data collation and asset management. JNCC also hold a collaborative partnership with a European consortium of government agencies and research institutions (called <a href="https://www.emodnet-seabedhabitats.eu/">EMODnet Seabed Habitats</a>) to provide a library of marine habitat maps, survey sampling points and modelled habitats for Europe. Using this data repository, regional composite data products can be created, including: <a href="https://www.emodnet-seabedhabitats.eu/access-data/launch-map-viewer/?zoom=5&amp;center=-0.837,51.410&amp;layerIds=822&amp;baseLayerId=-3&amp;activeFilters=">seagrass cover as an Essential Ocean Variable</a> and <a href="https://www.emodnet-seabedhabitats.eu/access-data/launch-map-viewer/?zoom=5&amp;center=1.669,51.547&amp;layerIds=801,800&amp;baseLayerId=-3&amp;activeFilters=NobwRANghgngpgJwJIBMwC4AcAGAjAGjADMBLCAF0VQwCYB2Q0ixAGQHs2BrAVwAdUAzhmC4AnHWwBdRmUoIAKnAAe5DGDABffOGjxkaLNmwzm+2gDYTc9lz6DhYidOKzEilWs2SgA">Zostera beds included in the list of OSPAR threatened and/or declining habitats</a>.</p><p>Newcastle University has been at the forefront of tropical coastal management research and education for four decades. With an established history of work covering the full range of Caribbean marine environments, researchers conduct interdisciplinary work in support of fisheries management, habitat conservation, species protection and environmental monitoring and assessment, in the context of climate change. Recent projects have developed new methods for drone and satellite mapping of critical habitats, such as coral reefs and seagrass beds, and ways of integrating ecological knowledge and multi-resolution data sets to improve information on benthic habitats for Marine Protected Area planning.</p><h3>Our aim &amp; challenges</h3><p>Our aim is to experiment with data science tools and techniques for supervised classification to detect and map seagrass from Sentinel-2 satellite imagery in the British Virgin Islands (BVI).</p><p>Finding seagrass in satellite imagery presents several challenges:</p><ol><li>Seagrass is underwater, so wavelengths of light from the sun must travel through the atmosphere and water column to reach the seabed before being reflected and detected by a satellite. Light interacts with particles causing scattering and absorption so the reflectance values provided by satellite data are not 100% representative of the seabed.</li><li>Seagrass is not homogeneous; it grows in very sparse to dense meadows and is often intermixed with other substrates (e.g. coral, macroalgae, sand).</li><li>There is a lack of in-situ observations (ground truth) and expertly labelled data to train a machine learning classifier for marine habitat classes. This labelled data is essential for training supervised machine learning models.</li></ol><p>This blog describes how we were able to overcome some of these challenges and collaborate with colleagues from JNCC and the University of Newcastle.</p><h3>Mapping British Virgin Islands seagrass</h3><p>BVI is a UK Overseas Territory in the Caribbean and the water is often clear, making mapping marine habitats from satellite imagery feasible. We picked 6 areas of interest (AOI’s) that had 100% coverage of Sentinel-2 satellite imagery, bathymetry data, and a good mix of JNCC/Newcastle University marine habitat ground truth data.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/880/1*cDaw41tYIHiRpHN-gGmuzQ.png" /><figcaption>Areas of Interest over the British Virgin Islands. Background © Crown Copyright and/or database rights. UK Hydrographic Office (<a href="http://www.gov.uk/UKHO">www.GOV.uk/UKHO</a>).</figcaption></figure><h3>The importance of ground truth data</h3><p>To fully understand what the habitat cover is at a given location, we need accurate ground truth data. This data allows us to relate satellite image pixel values to what’s on the ground and is required to validate machine learning models. Confirming that model predictions accurately reflect habitat cover is vital in proving that the outputs are robust and meaningful. Collecting field survey data is very costly and resource-intensive, and there are important factors to consider. One major consideration is the timing of surveys — ground truth data need to be collected close to the satellite image date, making sure that the pixel values match the real habitat cover. For this project we used ground truth data collected by Newcastle University in June 2019 at 42 locations across the BVI archipelago. Underwater photographs were taken along transects and the broad habitat type was classified according to the dominant cover. For further details see the paper <a href="https://data.jncc.gov.uk/data/2963c3f8-91ad-48c1-8129-b1f2c56dda0d/ot-cbn-49-bvi-2017-hur-imp.pdf">Investigating the impacts of the 2017 Hurricane season on the shallow marine environment of the British Virgin Islands using multispectral satellite imagery</a>.</p><h3>Image and bathymetry data</h3><p>The European Space Agency (ESA) Copernicus Sentinel-2 mission collects satellite imagery with a 10-metre resolution in the visible bands and has a high revisit frequency of ~5 days. Level-1C products are georeferenced to UTM (Universal Transverse Mercator) projection and radiometrically corrected to top-of-atmosphere reflectances.</p><p>Bathymetric data is collected by LiDAR systems that use rapidly pulsing lasers from an aircraft. The LiDAR data for BVI, acquired from the UKHO bathymetry team, is cleaned to <a href="https://iho.int/uploads/user/pubs/Drafts/S-44_Edition_6.0.0-Final.pdf">International Hydrographic Office S-44 standards</a>, and formatted to 4-metre resolution geotiffs. This bathymetric data is useful for: (i) masking deeper water pixels and (ii) generating a marine geomorphology dataset (iii) as an input to machine learning models. Classifying geomorphology helps to inform habitat modelling by providing the seagrass classification workflow with the underlying physical structures of the seabed.</p><h3>How we prepared the image and bathymetry data for machine learning</h3><p>It is important to remove the effects of scattering and absorption in the atmosphere and water column so that the spectral reflectance value that our machine learning model learns from is representative of the seabed. Image data pre-processing included:</p><ul><li>Atmospheric and glint correction using the Royal Belgian Institute of Natural Sciences (RBINS) ACOLITE (version 20190326.0), see <a href="https://medium.com/uk-hydrographic-office/atmospheric-and-glint-correction-of-sentinel-2-imagery-for-marine-and-coastal-machine-learning-ec0ea8734e23">blog</a> for more details.</li><li>Water column correction is performed using <a href="https://www.tandfonline.com/doi/abs/10.1080/01431168108948342">Lyzenga’s algorithm</a>, a popular empirical approach to correct the effects of light attenuating in the water column. Lyzenga’s algorithm calculates the <a href="http://lib.riskreductionafrica.org/bitstream/handle/123456789/258/3558.Remote%20Sensing.%20Handbook%20for%20Tropical%20Coastal%20Management.pdf?sequence=1&amp;isAllowed=y">attenuation coefficient ratio of two spectral bands with a regression line that minimises the mean square deviation</a> using manually selected training pixels from ‘invariant’ areas (e.g. sand) at multiple depths. The attenuation ratio regression model is applied across a full image and each y-intercept is the index of a substrate type. The output is a depth invariant indices image.</li></ul><p>Bathymetry data pre-processing: The data is re-sampled using GDAL to the same resolution as the satellite imagery. Geomorphologic data is created using the <a href="https://grass.osgeo.org/grass78/manuals/addons/r.geomorphon.html">geomorphon classification technique</a> developed in python by UKHO Data Scientist <a href="https://medium.com/@mike_67820">Michael Hudgell</a> to create a data set with 10 classes: peak, ridge, shoulder, spur, slope, footslope, flat, hollow, valley, pit.</p><h3>Creating labelled data</h3><p>The JNCC/Newcastle ground truth data is not to be used to train any models, so it can be used as an independent, unseen test set with which to assess accuracy. To create labelled data points to train the model, locations are manually digitised. To support decision making we referenced Google Earth imagery, the <a href="https://obis.org/">Ocean Biodiversity Information System (OBIS)</a>, <a href="https://seagrassspotter.org/">Seagrass Spotter</a> and a myriad of tourism, yachting and diving websites telling us where to find seagrass in BVI. In total we ended up with ~4,000 seagrass points and ~8,000 not seagrass points for the 5 training AOIs.</p><p>The UKHO Remote Sensing team verified the labels. It is difficult to manually identify what is seagrass and not-seagrass because on visual inspection seagrass at 5 metre depths can look like coral at 15 metre depths. So, the expert eye and knowledge of the UKHO Remote Sensing team is valuable to make sure that we get our labelled classes right.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*DC5sOpO9AzowuyLlTZCXeg.png" /><figcaption>Coral and seagrass examples. From left to right the point is located over: shallow coral, deep coral, dense seagrass, sparse seagrass.</figcaption></figure><h3>Machine learning</h3><p>The data going into the machine learning models contained the RGB bands from Sentinel-2, bathymetry data, green/blue depth invariant indices, and geomorphology data. Because of the non-linear relationship between these features, three models are selected that are known to perform well for satellite image pixel-wise classification (aka semantic segmentation):</p><ol><li>Random forest; an ensemble of decision trees.</li><li>Support vector machine (SVM) with a radial basis function (RBF); transforming data into a higher dimensional space.</li><li>A convolutional neural network (CNN) called <a href="https://arxiv.org/abs/1505.04597">U-Net</a> was originally developed for biomedical imaging but transfers across to satellite imagery very well. The U-Net approach for seagrass mapping does not use fully annotated labelled images due to uncertainty in labelling every pixel as either seagrass or not seagrass. Instead, a <a href="https://www.mdpi.com/2072-4292/12/2/207">weakly-supervised U-Net</a> approach is used that has been adopted from academic work and developed by two data scientists at the UKHO; <a href="https://medium.com/@thomas.redfern">Thomas Redfern</a> and <a href="https://medium.com/@pasc.philipp">Pascal Philipp</a>.</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*6pmVwIps6ywI7S4_L_2HDQ.png" /><figcaption>Image and label chips for the U-Net model. Top 2 rows are Sentinel-2 images, bottom 2 rows are labels.</figcaption></figure><h3>Methodology</h3><p><strong>Train, Validate, Test:</strong> To train a robust seagrass model we must make sure that it generalises well, therefore we train and validate on 5 of the areas of interest (AOI), and then test the model on a hold-out AOI for model evaluation. We then use the JNCC/Newcastle ground truth data points at the test AOI for final model evaluation in the test area.</p><p><strong>Balance Data:</strong> To address class imbalance, the underrepresented seagrass class is up-sampled and the over-represented not-seagrass class down-sampled. The data for the U-Net model is balanced with augmentation (flips and rotations) on chips that contain mostly seagrass labels. The aim is to show a model a balance of examples, so it is not sensitive to the dominant not seagrass class.</p><p><strong>Optimising Hyperparameters:</strong> To tune the hyperparameters for random forest and SVM we perform k-fold cross validation. U-Net hyperparameter tuning experiments are visualised and tracked with <a href="https://www.tensorflow.org/tensorboard">Tensorflow’s Tensorboard</a> to evaluate the loss function on the validation data and make sure that the model is not overfitting while minimising the loss.</p><p><strong>Model Training:</strong> Random forest and SVM were trained using a python library called <a href="https://github.com/rapidsai/cuml">Rapidsai CUML</a> that mirrors python library scikit-learn. CUML is a machine learning library that uses the GPU resulting in improved computation time. While the U-Net model was trained using Tensorflow and Keras on the GPU.</p><p><strong>Accuracy Assessment:</strong> Metrics are required that best quantify the accuracy of a model. Segmentation models are usually evaluated with:</p><ul><li>Mean Intersection-Over-Union (Mean IoU), which is a method to quantify the percent overlap between the target/true labels and our predicted output for each class then averages them. Also known as the Jaccard Similarity Index.</li><li>Recall scores express a model’s sensitivity to seagrass instances.</li><li>Precision scores express the proportion of predicted seagrass that is actually seagrass i.e. the true positive rate.</li><li>F1 score is the harmonic mean of the recall and precision scores, also known as the Sørensen–Dice coefficient.</li></ul><p>And visual interpretation (qualitative assessment) of a model’s predictions is also considered important to assess the detectability within the local landscape.</p><h3>Results</h3><p>The predictions from each of the three models are compared against the JNCC/Newcastle ground truth data points in the test AOI.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*zatUCGNi6FYn6aspAlNFTQ.png" /><figcaption>Quantitative results for each seagrass model. All metrics range from 0 (bad model) to 1 (perfect model)</figcaption></figure><p>The random forest and SVM models have high precision and lower recall scores, indicating that these models are as not sensitive to the seagrass class and will often miss a seagrass pixel and over-predict the not-seagrass class. The U-Net seems to have a well balanced recall and precision score, meaning that augmentation efforts trained a balanced model that got almost as many seagrass predictions as not-seagrass predictions correct. For all three models the F1 scores between 0.7 to 0.79, suggesting that overall the models performed well to good, and the mean IoU scores between 0.53 to 0.66 with anything over 0.5 considered a good prediction.</p><p>Discovering what the model did not learn by visual (qualitative) assessment will help us to make improvements for future work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Hf3hQIOq7K_5pvkMpLMI3A.png" /><figcaption><em>Qualitative results showing seagrass predictions in lime green and JNCC/Newcastle ground truth points (green: seagrass, red: no seagrass)</em></figcaption></figure><p>Visual assessment suggests that all models:</p><ul><li>Performed poorly in locations where seagrass meadows are sparse. The SVM appearing to learn a little more than the random forest and weakly supervised U-Net.</li><li>Performed very well over dense seagrass locations, with the weakly supervised U-Net showing well defined edges in particular.</li><li>Struggled with false positives over coral intermixed with bare rock, mostly Gorgonian and massive corals. These corals can appear green and are spectrally easily confused with seagrass.</li><li>The SVM and random forest seems to have overfit to ridges/slopes from the geomorphology layer that is intended to teach the model that seagrass grows mostly on flat substrates, while coral can grow on slopes and forms ridges.</li></ul><h3>Discussion and recommendations</h3><p>We had many challenges to overcome for this work with many great learning opportunities. By experimenting with atmospheric, glint and water column correction we aimed to transform the Sentinel-2 imagery to show the true reflectance of the seabed. The cloud-free Sentinel-2 image selected for this study had high levels of sun glint due to high winds. Sun glint correction should improve the imagery, but noise can be introduced and therefore negatively impact the data going into model training. A couple of approaches to improve input imagery would be: (i) find glint free (or as close to glint free) imagery as possible or (ii) create a composite image with <a href="https://www.youtube.com/watch?v=TMzOq7kPy8M&amp;t=1519s">median pixel averaging techniques</a>.</p><p>Classification of dense seagrass was more successful than sparse meadows. The model was not shown enough sparse seagrass labels to learn from because they were difficult to identify when manually labelling. And, the sparse seagrass class is more difficult to predict because those pixels often contain a mix of seagrass and coral, sand, and/or macroalgae. Therefore, it would be interesting to experiment with separate classes for seagrass densities (low, med, high) using a multiclass model or two separate seagrass models (dense and sparse) to specialise the model and give the model a better chance to learn sparse seagrass spectral patterns.</p><p>The model could be improved with more labelled data. To overcome shortages of labelled data I would recommend more acquisition of in-situ seagrass data, data discoverability and collaboration. We have shown that collaborating with other organisations and academia offers data and technical knowledge sharing.</p><p>A big thank you to everyone who has contributed to this work in defining methodology and developing the skills for marine habitat mapping work.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*pad0oNdUfX_LWVeY" /><figcaption>Photo by <a href="https://unsplash.com/@jetlag?utm_source=medium&amp;utm_medium=referral">David Troeger</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=fd499edc75cd" width="1" height="1" alt=""><hr><p><a href="https://medium.com/uk-hydrographic-office/collaborative-seagrass-mapping-from-sentinel-2-satellite-imagery-fd499edc75cd">Collaborative Seagrass Mapping from Sentinel-2 Satellite Imagery</a> was originally published in <a href="https://medium.com/uk-hydrographic-office">UK Hydrographic Office</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[30 Days of Natural Language Processing]]></title>
            <link>https://datalass1.medium.com/30-days-of-natural-language-processing-3651c4e12990?source=rss-a90e89b93be6------2</link>
            <guid isPermaLink="false">https://medium.com/p/3651c4e12990</guid>
            <category><![CDATA[bbc-news]]></category>
            <category><![CDATA[nlp]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Rachel Keay]]></dc:creator>
            <pubDate>Thu, 21 Oct 2021 21:40:59 GMT</pubDate>
            <atom:updated>2021-10-21T22:24:18.852Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*nBHdx4YdZUQJ1wlK" /><figcaption>Photo by <a href="https://unsplash.com/@sincerelymedia?utm_source=medium&amp;utm_medium=referral">Sincerely Media</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>I set myself the challenge to learn natural language processing (NLP) in 30 days in a similar style to the <a href="https://www.100daysofcode.com/">100 days of code</a>. NLP is useful for all sorts of tasks, such as information retrieval e.g. Google, topic modelling, machine translation, text autocorrect, text autocomplete, and chat bots. I am particularly focused on text classification for some recent work-based data science. My guide was O’Reilly’s <a href="https://learning.oreilly.com/library/view/practical-natural-language/9781492054047/">Practical Natural Language Processing </a>by Sowmya Vajjala et al, which outlined key stages in the NLP pipeline:</p><ol><li><strong>Data acquisition </strong>e.g. scraped data from the web, text embedded in an image.</li><li><strong>Text cleaning</strong>; removing all the other non-textual information, such as mark-up, metadata, etc., and converting the text to the required encoding format.</li><li><strong>Pre-processing</strong>; A chance to really get to know the data. Frequent steps include stop word removal, stemming, lemmatization, removing digits/punctuation, lowercasing.</li><li><strong>Feature engineering</strong>, also referred to as feature extraction or text representation. The goal of feature engineering is to capture the characteristics of the text into a numeric vector that can be understood by the machine learning algorithms. It is fundamental to many information-retrieval operations, from scoring documents on a query to document classification and document clustering. It’s a mathematical model that represents text units as vectors e.g. one hot encoding, bag of words, word embeddings (word2vec).</li><li><strong>Modelling</strong>; machine learning, deep learning, active learning.</li><li><strong>Evaluation</strong>. There are two types of evaluation; intrinsic and extrinsic. Intrinsic measures the model performance on unseen data/labels, on a choice of quantitative metrics, and visual evaluation (such as a confusion matrix). Extrinsic is used to test the NLP deliverable against business objectives.</li><li><strong>Deployment</strong>; web service, API, software plugin.</li><li><strong>Monitoring</strong>; dashboard monitoring of model parameters and performance indicators.</li><li><strong>Model updating</strong>; iterate the whole process again with new data to keep the model current if required.</li></ol><p>After the first 10-days or so of general learning I focused on using the NLP pipeline to experiment with different text classification techniques.</p><h3>1. Data Acquisition &amp; Exploratory Data Analysis</h3><p>Working on a dataset is the best way to learn. I downloaded the <a href="https://www.kaggle.com/c/learn-ai-bbc">BBC News dataset from Kaggle</a> and read the training data csv as a pandas dataframe.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/423/1*8a33FmepOWF8jx6iXe3yRA.png" /></figure><p>The data did not require any cleaning prior to pre-processing, which in the real-world is a rarity! So I moved into some exploratory data analysis to learn more about the categories (aka classes) in my dataset. I explored each class % (representation) in the dataset and the number of unique words per class.</p><pre>df = pd.read_csv(&#39;learn-ai-bbc/BBC News Train.csv&#39;)<br>(df.groupby(&#39;Category&#39;).size().sort_values()/df.shape[0]).plot.bar()<br>plt.title(&#39;% of Categories&#39;)<br>plt.ylabel(&#39;%&#39;)<br>plt.xticks(rotation=45)<br>plt.tight_layout()<br>plt.show()</pre><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*u8fNE1iSF7wZ_tmqSVoylg.png" /></figure><pre>d = {}<br>for col in df[&#39;Category&#39;].unique():<br>    df_col = df[df[&#39;Category&#39;] == col]<br>    word_count = np.mean(df_col[&#39;Text&#39;]\<br>                          .apply(lambda x: len(set(x.split())))))<br>    d[col] = word_count</pre><p>{‘business’: 192.08,<br> ‘tech’: 258.46,<br> ‘politics’: 235.21,<br> ‘sport’: 189.77,<br> ‘entertainment’: 190.7}</p><p>There are 5 categories of news articles. The tech category has the lowest representation and the highest unique words (complexity!). The sport and business categories have the most documents in the corpus and the least unique words.</p><h3>Pre-processing Text Data</h3><p>The pre-processing I applied removed standard english language stopwords, such as can, does, for, have, that, what and another 300 words. I converted the text to lowercase, included only alphabet data, removed strings with only 1 character, and lemmatised words to their root. All this with python library <a href="https://spacy.io/usage/spacy-101">spaCy</a>’s small english nlp model trained on web text.</p><pre>nlp = spacy.load(&quot;en_core_web_sm&quot;)<br>def clean(doc):<br>    return &quot; &quot;.join(token.lemma_ for token in nlp(doc)\<br>                   if not token.is_stop and token.is_alpha\<br>                  and len(token) &gt; 1)</pre><pre>df[&#39;prepro&#39;] = df[&#39;Text&#39;].apply(clean)</pre><h3>Feature Engineering &amp; Modelling</h3><p>Computers understand data that is represented mathematically so at the feature engineering step we transform the textual data to Vector Space Models (VSM). The most common VSMs to start with are bag of words and tf-idf.</p><p>An important machine learning practice is to keep a hold-out test dataset to provide a final estimate of the machine learning model’s performance after it has been trained and validated. The test dataset is a separate csv (later submitted to Kaggle), and the training data is split into 80% training / 20% validation. The validation set is there to test models to identify which models generalise well. Throughout this work I used scikit-learn’s default parameters for simplicity (and they are actually really good!) and random_states for reproducibility.</p><p>I started with a logistic regression model:</p><pre>X_train, X_valid, y_train, y_valid = train_test_split(df[&#39;prepro&#39;], <br>                                                  df[&#39;Category&#39;],<br>                                                  test_size=0.20,<br>                                                  random_state=42)</pre><pre>pipe = Pipeline([(&#39;bow&#39;, CountVectorizer(binary=True)), <br>                 (&#39;clf&#39;, LogisticRegression(random_state=42))])<br>%time pipe.fit(X_train, y_train)<br>y_pred_training_data = pipe.predict(X_train)<br>print(f&quot;Accuracy Training Data: &quot;, accuracy_score(y_true=y_train, y_pred=y_pred_training_data))</pre><p>Scikit-learn pipeline function, vectorisation functions and machine learning comes in very handy and it take very few lines of code and seconds to train a bbc news NLP text classification model.</p><h3>Accuracy Assessment</h3><p>For assessing the accuracy of my model I quantitatively evaluated my model on the validation dataset using the accuracy metrics and scikit-learns classification report with precision, recall and f1 scores. As a visual reference I output a confusion matrix that displays the recall per class.</p><pre>def plot_confusion_matrix(cm, classes):<br>    cm = cm.astype(&#39;float&#39;) / cm.sum(axis=1)[:, np.newaxis] <br>    sn.heatmap(cm, annot=True, fmt=&#39;.2&#39;, cmap=&#39;Blues&#39;,    <br>               xticklabels=classes, yticklabels=classes)<br>    plt.ylabel(&#39;True label&#39;,fontsize=15)<br>    plt.xlabel(&#39;Predicted label&#39;,fontsize=15)<br>    plt.xticks(rotation=45)<br>    plt.tight_layout()<br>    plt.show()</pre><pre>y_pred = pipe.predict(X_valid) <br>classes = pipe.classes_<br>cm = confusion_matrix(y_true=y_valid, y_pred=y_pred)<br>plot_confusion_matrix(cm, classes)<br>print(&quot;Accuracy Test Data: &quot;, accuracy_score(y_true=y_valid, <br>                                             y_pred=y_pred))<br>print(classification_report(y_true=y_valid, y_pred=y_pred))</pre><p>On the validation data I achieved an average accuracy score of 0.9765 and average precision, recall and f1 of 0.98. The politics and tech classes achieved the lowest accuracies, as shown by the confusion matrix.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/432/1*2k-pqYyJB92-jq1atXM5Zw.png" /></figure><p>I further experimented with tf-idf vectorisation and other models: non-linear support vector machine (RBF kernel) and naïve bayes, to see if I could improve the politics and tech class predictions.</p><p>Overall, all models performed well on the business and sport classes, probably because they are well represented in the dataset and don’t have too many unique words (less complexity) compared to the politics and tech classes.</p><p>The next step is to choose the best two models, predict on the hold-out test dataset and send the predictions to Kaggle for the final accuracy score.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/303/1*GiRF7xMeO2LdRuW9OohbLg.png" /></figure><p>I chose the logistic regression with bag of words, and naïve bayes with bag of words. Logistic regression achieved 0.97551 and naïve bayes achieved 0.96462. Logistic regression appears to be the more consistent and reliable model.</p><h3>Other Learning</h3><p>I touched on a few other topics during my 30 days of NLP include:</p><ul><li>topic modelling with sklearn.decomposition Latent Dirichlet Allocation. An interesting blog post is: <a href="https://medium.com/nanonets/topic-modeling-with-lsa-psla-lda-and-lda2vec-555ff65b0b05">https://medium.com/nanonets/topic-modeling-with-lsa-psla-lda-and-lda2vec-555ff65b0b05</a></li><li>word embeddings such as the seminal neural network–based model “Word2vec”. It is really useful should I apply my model to data outside of the trained corpus.</li><li>Named Entity Recognition (NER) is a technique used to extract entities from a body of a text used to identify basic concepts within the text, such as people’s names, places, dates, etc. This could be really useful for omitting GDPR or geospatial data from a text corpus.</li></ul><h3>And finally…</h3><p>Coding every day for 1-hour is a great way to learn and set coding habitats. But, it was important not to over-commit and if I couldn’t do a day then that was okay… in the end I completed my 30 days of coding in 51 days! Hopefully I have shown how much I learned in my 30 (51) days of NLP :D</p><p>My code is <a href="https://github.com/datalass1/30-days-of-NLP">here</a>. And my tweets are <a href="https://twitter.com/datalass1">here</a>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*94gnOblWGPB_BLW7" /><figcaption>Photo by <a href="https://unsplash.com/@howier?utm_source=medium&amp;utm_medium=referral">Howie R</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3651c4e12990" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Atmospheric and Glint Correction of Sentinel-2 Imagery for Marine and Coastal Machine Learning]]></title>
            <link>https://medium.com/uk-hydrographic-office/atmospheric-and-glint-correction-of-sentinel-2-imagery-for-marine-and-coastal-machine-learning-ec0ea8734e23?source=rss-a90e89b93be6------2</link>
            <guid isPermaLink="false">https://medium.com/p/ec0ea8734e23</guid>
            <category><![CDATA[image-processing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[data-science]]></category>
            <category><![CDATA[marine]]></category>
            <category><![CDATA[sentinel-2]]></category>
            <dc:creator><![CDATA[Rachel Keay]]></dc:creator>
            <pubDate>Wed, 04 Nov 2020 16:59:57 GMT</pubDate>
            <atom:updated>2020-11-25T12:43:34.313Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Gr6Ef4YS4LBKbemu" /><figcaption>Photo by <a href="https://unsplash.com/@kushagrakevat?utm_source=medium&amp;utm_medium=referral">Kushagra Kevat</a> on <a href="https://unsplash.com/?utm_source=medium&amp;utm_medium=referral">Unsplash</a></figcaption></figure><p>The UK Hydrographic Office Data Science team research and develop machine learning for coastal and marine habitat mapping from satellite imagery. We mostly work with European Space Agency Sentinel-2 Level-1C satellite data, which is downloaded as radiometrically and geometrically corrected top-of-atmosphere (TOA) imagery.</p><p>TOA imagery has some issues:</p><ul><li>a certain ‘haziness’ is mostly caused by molecular and aerosol scattering in the atmosphere, meaning that TOA imagery contains a lot of Remote Sensing Reflectances (Rrs) values incorporating the atmosphere rather than solely land or water surface Rrs.</li><li>the ‘adjacency effect’: when high radiance values from one pixel are incorporated into another, resulting in reduced contrast making it difficult to discriminate between surface pixels. This effect is common in nearshore waters [1, 5].</li><li>and pixels of water surfaces experience an effect called sun glint: when light is directly reflected toward a satellite sensor, resulting in bright white pixels. Sun glint intensity is a function of image resolution, wave size and orientation, solar elevation and image obliquity.</li></ul><p>Atmospheric correction (AC) refers to the process of removing contributions of atmospheric scattering and sun glint [2]. We need to perform AC for retrieval of correct representations of land and water Rrs to input into training and testing our marine and coastal habitat machine learning models. Therefore, my aim is to explore and compare the suitability of popular AC/sun glint algorithms using unsupervised k-means clustering. Clustering is a common exploratory data analysis technique used to visualise and gain intuition about the structure of the data. It is expected that if there is still noise from the atmosphere and sun glint in corrected imagery, I will be able to visualise and assess the extent of it from the clustering output.</p><p>I have selected three AC algorithms:</p><ol><li><strong>European Space Agency (ESA) Sen2Cor </strong>(version 2.8) [3]: an algorithm designed specifically for Sentinel-2 imagery that uses scene classification data and LibRadtran radiance transfer model look-up tables for AC. Sen2Cor uses land pixels to derive parameters for corrections, and therefore may not always be suitable for water-based applications [1] but is tested because it is ESA’s default atmospheric correction.</li><li><strong>Chavez’s Dark Object Subtraction (DOS) </strong>[4]: a simple correction that assumes that within an image some pixels should have a value of zero. DOS is performed by subtracting the relative minimum pixel value in each band.</li><li><strong>The Royal Belgian Institute of Natural Sciences (RBINS) ACOLITE </strong>(version 20190326.0) [5]: a processor designed for Landsat and Sentinel-2 imagery for coastal and inland water applications. ACOLITE is served up as a python package that works using a GUI or CLI. ACOLITE performs Rayleigh scattering correction using the 6S radiative transfer model and the dynamic dark spectrum filtering (DSF) method for aerosol correction. DSF is known to largely avoid amplification of glint and adjacency effects in the AC [7].</li></ol><p>And two sun glint correction algorithms:</p><ol><li><strong>Hedley et al 2005</strong> [6]: a popular glint removal algorithm that assumes brightness over water surfaces in the near-infrared (NIR) band is sun glint and that sun glint in the visible light bands are linearly related; the NIR brightness is used to ascertain how much to reduce the values in each visible band, which will remove sun glint from the image.</li><li><strong>ACOLITE glint correction</strong> [7]: Glint correction assumes a zero water-leaving reflectance in either the short-wave infrared band (SWIR) or the NIR band and is computed for other bands using the Fresnel reflectance at the water surface look-up-tables [7].</li></ol><p>The atmospheric/glint corrections are performed on an area of interest over east Tortola, British Virgin Islands, Caribbean. The Sentinel-2 Level-1C image is atmospherically/glint corrected, clipped to the limits over east Tortola and land/cloud masking performed using a simple thresholding technique. Finally, a 5-class unsupervised k-means clustering is performed on each AC/glint corrected image.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BguncFLxbo5SXyX00VlseA.jpeg" /><figcaption>Image by ESA Sentinel-2 imagery and UK Hydrographic Office © Crown copyright 2020 UK Hydrographic Office</figcaption></figure><p>Performing AC aims to reduce haziness in the image and provide greater contrast of surface and water Rrs. Observations of the AC images and histograms above are as follows:</p><ul><li>the DOS and ACOLITE DSF AC images appear darker and RGB histograms have lower values compared to the original image.</li><li>the Sen2Cor image, RGB histogram and k-means output is very similar to the original image.</li><li>the DOS and ACOLITE DSF k-means images show an increase in the dark blue class (representing dark pixels), while the salt and pepper effect of the green class (representing light pixels) reduces.</li></ul><p>DOS and ACOLITE DSF AC results in better removal of haziness as shown by the decrease in the lighter pixels. This improves the distinction of light pixels near-shore and dark pixels in deep-water locations, which can be interpreted as the successfully correction of scattering in the atmosphere.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2XNjfMwQ99TGR4d7xJpcfg.jpeg" /><figcaption>Image provided by UK Hydrographic Office © Crown copyright 2020 UK Hydrographic Office</figcaption></figure><p>Hedley et al sun glint correction is performed on the DOS and Sen2Cor images and requires pixels over deep water to calibrate the AC. To perform ACOLITE AC with glint correction the user setting <em>glint_correction </em>is set as <strong>True</strong>,<strong> </strong><em>glint_force_band</em> is set to <strong>1600</strong> (short-wave infrared) and I experimented with the <em>glint_mask_rhos_threshold </em>(default 0.05). Observations of the glint corrected images and histograms above are as follows:</p><ul><li>The DOS and Sen2Cor with Hedley glint correction removes some but not all sun glint as shown by the turquoise class in the deep-water locations.</li><li>The ACOLITE DSF with glint removal does a good job of removing glint over water, although some pixels appear so dark they are classed as the land class. There also appears better defined near-shore class clusters as shown by the turquoise and green class.</li><li>The ACOLITE DSF glint correction with a threshold of 0.05 (default) identified some cirrus cloud (shown in the north-west of the image that was missed from masking) and some bright shallow water areas as glint, as shown by the dark brown class.</li><li>The ACOLITE DSF glint correction with a threshold of 0.07 removed more glint in the deeper water and did not identify as much cirrus cloud nor shallow water as glint compared to threshold of 0.05.</li></ul><p>The ACOLITE DSF glint correction with threshold 0.07 appears to outperform the other glint corrections. The ACOLITE DSF glint correction when set at a lower threshold (0.05) mistakenly identified some cirrus cloud for glint which had been missed from masking, which is useful information to improve the masking algorithm.</p><p>By assessing the impact of AC and glint correction algorithms on the structure of the image data this study can inform algorithmic decision-making for marine and coastal habitat mapping. Machine learning is data driven and the final model will only be as good or bad as the data that goes into is. Improvements to this work include comparison to other high regarded AC algorithms (e.g. C2RCC, Polymer) and statistical analysis. A robust statistical analysis of how effective AC would require ground truth Rrs values, collected using a hand-held or shipborne spectrometer, to compare and evaluate AC and glint corrected pixels to.</p><p>For any future ACOLITE users out there, I found a lot of useful information about ACOLITE in the forum: <a href="https://odnature.naturalsciences.be/remsem/acolite-forum/">https://odnature.naturalsciences.be/remsem/acolite-forum/</a> and User Manual <a href="https://odnature.naturalsciences.be/downloads/remsem/acolite/acolite_manual_20190326.0.pdf">https://odnature.naturalsciences.be/downloads/remsem/acolite/acolite_manual_20190326.0.pdf</a></p><p>And a big thank you to <a href="https://medium.com/u/8f0e287aee6f">Scottkaczor</a> for contributing to this work!</p><p><strong>References</strong></p><p>[1] Warren, M., Simis, S., Martinez-Vicente, V., et al. (2019). <em>Assessment of atmospheric correction algorithms for the Sentinel-2A MultiSpectral Imager over coastal and inland waters.</em> Remote Sens. Environ. 225, 267–289.</p><p>[2] Mobley, C. (2020). <em>The Atmospheric Correction Problem.</em> <a href="https://oceanopticsbook.info/view/remote-sensing/the-atmospheric-correction-problem">https://oceanopticsbook.info/view/remote-sensing/the-atmospheric-correction-problem</a></p><p>[3] ESA. (2019). <em>Sen2cor Configuration and User Manual. </em><a href="http://step.esa.int/thirdparties/sen2cor/2.8.0/docs/S2-PDGS-MPC-L2A-SUM-V2.8.pdf">http://step.esa.int/thirdparties/sen2cor/2.8.0/docs/S2-PDGS-MPC-L2A-SUM-V2.8.pdf</a></p><p>[4] Chavez, P. S. (1988). <em>An Improved Dark-Object Subtraction Technique for Atmospheric Scattering Correction of Multispectral Data.</em> Remote Sensing of Environment, vol. 24, pp. 450–479.</p><p>[5] Royal Belgian Institute of Natural Sciences. (2020). <em>OD Nature Remote Sensing and Ecosystem Modelling team</em>. <a href="https://odnature.naturalsciences.be/remsem/software-and-data/acolite">https://odnature.naturalsciences.be/remsem/software-and-data/acolite</a></p><p>[6] Hedley, J. D., Harborne, A. R., Mumby, P. J. (2005)<em>. Simple and robust removal of sun glint for mapping shallow-water benthos</em>. Int. J. Remote Sens., 26 (10), pp. 2107–2112.</p><p>[7] Vanhellemont, Q. (2019).<em> Adaptation of the dark spectrum fitting atmospheric correction for aquatic applications of the Landsat and Sentinel-2 archives.</em> Remote Sensing of Environment 225, 175–192.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ec0ea8734e23" width="1" height="1" alt=""><hr><p><a href="https://medium.com/uk-hydrographic-office/atmospheric-and-glint-correction-of-sentinel-2-imagery-for-marine-and-coastal-machine-learning-ec0ea8734e23">Atmospheric and Glint Correction of Sentinel-2 Imagery for Marine and Coastal Machine Learning</a> was originally published in <a href="https://medium.com/uk-hydrographic-office">UK Hydrographic Office</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI for Good Global Summit 2019: AI for Space]]></title>
            <link>https://datalass1.medium.com/ai-for-good-global-summit-2019-space-and-geospatial-interest-d64466b5b65a?source=rss-a90e89b93be6------2</link>
            <guid isPermaLink="false">https://medium.com/p/d64466b5b65a</guid>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[ai-for-good]]></category>
            <category><![CDATA[space]]></category>
            <dc:creator><![CDATA[Rachel Keay]]></dc:creator>
            <pubDate>Sat, 01 Jun 2019 19:46:47 GMT</pubDate>
            <atom:updated>2019-06-01T20:18:18.569Z</atom:updated>
            <content:encoded><![CDATA[<p>On Wednesday 29th to Friday 31st May 2019 I attended the ITU, XPRIZE and ACM organised <a href="http://(https//aiforgood.itu.int/)">AI for Good Global Summit </a>. The goals of the AI for Good Global Summit are to connect AI innovators with problem owners, to identify practical applications of AI to accelerate progress toward the <a href="http://(https//sustainabledevelopment.un.org/?menu=1300)">UN Sustainable Development Goals</a>, and to ensure trusted, safe and inclusive development of AI technologies and equitable access to their benefits.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*__2ucg1YXTLna-DxjMg5ag.jpeg" /><figcaption>UN Sustainable Development Goals to meet by 2030</figcaption></figure><p>The Summit held 5 action-oriented breakthrough sessions designed to generate AI for Good projects; AI Education and Learning, Good Health and Wellbeing, AI for Human Dignity and Inclusive Societies, Scaling AI for Good, and AI for Space.</p><p>As a Junior Data Scientist working at the <a href="https://www.gov.uk/government/organisations/uk-hydrographic-office">UK Hydrographic Office</a> I went to the <a href="https://aiforgood.itu.int/programme/bt-5/">AI for Space</a> session because my machine learning work is focused on Earth Observation (EO) data. The track brought together AI and Space stakeholders from government, academia, civil society and industry to evaluate the current state of play for AI deployment, capabilities and barriers of data prediction, insight and access. With the aim to form a common consensus on how to approach issues such as equitable data accessibility, algorithmic and data bias, trust, accountability and governance to create spin-out projects to enable beneficial AI in the Space sector.</p><h3>Super-charging Space Science</h3><p>Keynote speaker Wenjian Zhang, Assistant Secretary-General of the <a href="https://public.wmo.int/en">World Meteorological Organisation (WMO) </a>starts with statistical evidence that better weather forecasting is reducing human losses. Yet, there is increasing global economic loss due to rich and vulnerable mega-cities being damaged by extreme weather events and category 4–5 storms of 244 occurrences per year and increasing. What he wanted to know was “where, when and how strong?” and can we create an AI system that could make high accuracy predictions of weather 2-weeks ahead? The <a href="http://www3.weforum.org/docs/WEF_Global_Risks_Report_2019.pdf">World Economic Forum Global Risk Report 2019 </a>identified extreme weather events as a top issue.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/850/1*Gy_JqY_R8o7xXwbi7GdRXg.png" /><figcaption>World Economic Forum Global Risks Perception Survey 2018–2019</figcaption></figure><p>Pierre-Philippe Mathieu, Earth Observation Data Scientist at the <a href="https://m.esa.int/ESA">European Space Agency</a> explained that 150 terabytes of ESA data is distributed every-day and data is used to scientifically evaluate ice melting, sea level rise, global air pollution, global urban footprints and much more.</p><p>Romaric Redon, DataLab manager at AIRBUS Defence and Space works with computer vision and time-series analysis for forestry monitoring, and predicting earthquakes (using correlations of electron densities and earthquakes) while stressing the need for more open collaboration.</p><h3>Universal Access to Space and Data</h3><p>Bradley Gram-Hansen, AI researcher at University of Oxford discussed his work on <a href="https://arxiv.org/abs/1901.00861">Mapping Informal Settlements in Developing Countries using Machine Learning and Low Resolution Multispectral Satellites</a>. He recommended excellent resources for open data, tools and platforms, software and libraries; <a href="https://data.humdata.org/">Humanitarian Data Exchange</a>, Google Dataset Search (an API for instant analysis of increasingly standardised formats of data), <a href="https://github.com/mapbox/robosat">Mapbox semantic segmentation tool</a>, <a href="https://earthengine.google.com/">Google Earth Engine</a>, GDAL, Geopandas, PostGreSQL, QGIS, docker and PyCharm.</p><p>Einar Bjorgo, Director of Satellite Analysis and Applied Research at UNOSAT described work with the <a href="https://www.unglobalpulse.org/">UN GlobalPulse</a> (harnessing big data for development and humanitarian action) and <a href="https://unitar.org/">UNITAR</a> for accurately mapping Syrian settlements in war zones. Einar highlights the power of human augmentation with AI.</p><h3>It’s a Matter of Trust</h3><p>Can satellite imagery be used as proof in a trial? How can you trust the “black-box” of deep learning models? How does the AI community better explain itself, particularly concerning human in the loop accidents such as the self-driving Uber fatality in Arizona 2018. The truth may be that if something bad happens with my algorithm, it’s my fault…we have to be prepared to take responsibility.</p><p>Alison Lowndes, Artificial Intelligence DevRel EMEA at NVIDIA Ltd spoke about federated learning, driver-less cars as mission critical; we can do anything if we can get this right, game theory and multi-agent reinforcement learning, imitation learning, and the awesome tech that is <a href="https://developer.nvidia.com/embedded/buy/jetson-nano-devkit">NVIDIA’s Jetson Nano supercomputer</a>. Finally, indicating that AI is amazing and will be the future with the example of 12-year old Artash who produced work using machine learning to predict the risk of asteroids colliding with the earth. Alison is also a founder trustee of the charity <a href="http://www.avif.org.uk/">AVIF</a> for sustainable development in Kenya.</p><p>Samuel Harper, Head Global Business Systems at World Wildlife Fund works with initiatives such as #PandaSat and whale avoidance systems that use satellites and tagging for observing species movements. It is important that this data does not fall into the hands of poachers and hunters.</p><p>Yarin Gal, Professor at University of Oxford introduced discussed aleatoric uncertainty, epistemic uncertainty, and connecting deep learning to Bayesian probability theory for better interpretation of uncertainty.</p><h3>A New Era of Collaboration</h3><p>Hamed Alemohammad, Chief Data Scientist at <a href="https://www.radiant.earth/">Radiant Earth Foundation </a>discussed two interesting projects; global landcover classification map, and major African crop type. He introduced the <a href="https://github.com/radiantearth/stac-spec">SpatioTemporal Asset Catalog (STAC) specification</a> aiming to standardize the way geospatial assets are exposed online and queried.</p><p>David Jensen, Head of Environmental Cooperation for Peacebuilding and Co-Director of MapX, Post-Conflict and Disaster Management Branch at Policy and Programme Division, UN Environment is using Google Earth Engine for detecting water loss globally, which would have taken 600 years to process in 2003.</p><h3>Summary of AI for Space</h3><p>The talks I highlight are by no means the only ones of AI for Space; they were the most relevant for my work and interests! All the speakers were so engaging and enthusiastic. The overall conclusions I have taken from the track are:</p><ul><li>There is a skills shortage. For example, to correctly analyse a problem and interpret results in a humanitarian crisis response you need to know what data you have and what your model is doing. We need more EO Data Scientists.</li><li>The data needs to standardised, open and quickly accessible. There is terabytes of data to look under the “planetary macroscope” and with increasing constellations of satellites to provide fuller narratives of earth.</li><li>A call for more citizen science: we have a responsibility to involve everyone going into the future, to use sensors on their phones for data collection/ground-truth/labelling, coding, and in conversations of bias and trust.</li><li>AI has the ability to expose explicit and implicit bias that has existed in systems (judicial, surveillance, social benefits etc) for generations. When bias is exposed we can make a call to create multi-disciplinary teams of inclusion to create better AI systems.</li><li>Far out: We are going to colonise Mars and Moon. Information growth at an exponential rate (Moore’s law) is exceeding it’s container, Earth. Elon Musk’s SpaceX communications satellites, Starlink, are deployed not only because the technology now exists but because there are limitations of fibre optics; they are at a <a href="https://royalsociety.org/science-events-and-lectures/2015/05/communication-networks/">capacity crunch</a> (a limit in physics dubbed by the Royal Society 2015), see this <a href="https://twitter.com/DrPhiltill/status/1133876121114697728">Dr Phil Metzger’s tweet</a> for more. It seems reasonable that natural human expansion will take us to space and new planets in order to protect the planet we have.</li></ul><figure><img alt="" src="https://cdn-images-1.medium.com/max/540/1*YaAjADPHUuqMVnmdz_9ajw.jpeg" /><figcaption>Pale Blue Dot; the ‘Overview Effect’ felt by Astronauts</figcaption></figure><p>Anousheh Ansari, CEO, XPRIZE, Space Ambassador and first female private space explorer opened and closed the AI for Space breakthrough track. At a session on another day called ‘The Common Road Ahead’ she quoted Carl Sagan:</p><blockquote>“We can judge our progress by the courage of our questions and the depth of our answers, our willingness to embrace what is true rather than what feels good.”</blockquote><p>Being able to see the planet, putting things in perspective, seeing our world as border-less, preserve our amazing world, space is unifying, and if Nations decide there is a higher priority it can be done.</p><p>Other notable moments of the Summit include:</p><ul><li>Cedric Villani, AI adviser to French President Macron and Mathematics Fields medal winner with his three key words: experimentation, sharing and sovereignty.</li><li>Jojo Mayer, Nerve drummer giving a brief synopsis on the emergence of rhythm culture and its relationship to technology and communication.</li><li><a href="https://ellipsis-environmental.com/">Ellipsis Environmental Ltd</a>, Elevating Perspectives is a technology driven impact venture driving change with data. Using drones and machine learning to identify, reduce and measure the impact of material pollution such as plastics along coastlines.</li><li>Madeline Ashby and Ken MacLeod discuss ‘Imagining the future: Why society needs science fiction’.</li><li>Simon Pierro, World’s Leading AI &amp; iPad magician.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=d64466b5b65a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>