Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Read by thought-leaders and decision-makers around the world. Phone Number: +1-650-246-9381 Email: pub@towardsai.net
228 Park Avenue South New York, NY 10003 United States
Website: Publisher: https://towardsai.net/#publisher Diversity Policy: https://towardsai.net/about Ethics Policy: https://towardsai.net/about Masthead: https://towardsai.net/about
Name: Towards AI Legal Name: Towards AI, Inc. Description: Towards AI is the world's leading artificial intelligence (AI) and technology publication. Founders: Roberto Iriondo, , Job Title: Co-founder and Advisor Works for: Towards AI, Inc. Follow Roberto: X, LinkedIn, GitHub, Google Scholar, Towards AI Profile, Medium, ML@CMU, FreeCodeCamp, Crunchbase, Bloomberg, Roberto Iriondo, Generative AI Lab, Generative AI Lab VeloxTrend Ultrarix Capital Partners Denis Piffaretti, Job Title: Co-founder Works for: Towards AI, Inc. Louie Peters, Job Title: Co-founder Works for: Towards AI, Inc. Louis-François Bouchard, Job Title: Co-founder Works for: Towards AI, Inc. Cover:
Towards AI Cover
Logo:
Towards AI Logo
Areas Served: Worldwide Alternate Name: Towards AI, Inc. Alternate Name: Towards AI Co. Alternate Name: towards ai Alternate Name: towardsai Alternate Name: towards.ai Alternate Name: tai Alternate Name: toward ai Alternate Name: toward.ai Alternate Name: Towards AI, Inc. Alternate Name: towardsai.net Alternate Name: pub.towardsai.net
5 stars – based on 497 reviews

Frequently Used, Contextual References

TODO: Remember to copy unique IDs whenever it needs used. i.e., URL: 304b2e42315e

Resources

Our 15 AI experts built the most comprehensive, practical, 90+ lesson courses to master AI Engineering - we have pathways for any experience at Towards AI Academy. Cohorts still open - use COHORT10 for 10% off.

Publication

Better GPT-4 Prompting For Interactive Python Plotly GIS Maps
Data Visualization   Latest   Machine Learning

Better GPT-4 Prompting For Interactive Python Plotly GIS Maps

Last Updated on July 13, 2024 by Editorial Team

Author(s): John Loewen, PhD

Originally published on Towards AI.

Mapping historical shipwreck data from Harvard data setBetter GPT-4 Prompting For Interactive Python Plotly GIS Maps

There are some terrific sources for data sets out there on the internet, including historical shipwreck data.

One of the weekly updates I receive as part of expanding my knowledge on available datasets comes from Data is Plural:

This site provides a weekly newsletter on interesting data sets.

In the most recent version (2024–07–10), there is a dataset on ancient shipwrecks (from Harvard University). This data set containse records from approximately 1500BC to 1500AD and is focused around the Mediterranean Sea and northern Europe. Super cool!

I was curious if I could upload this dataset to GPT-4 and have it give me some Python code that places each piece of point data onto a map.

The answer? Yes, it can. But not without some careful prompting. Here’s the steps I went through, so that you don’t have to.

To start off with, I just wanted to see if GPT-4 could interpret the data set in a meaningful way. A generic prompt to see if it can generate GIS map code.

Prompt to GPT-4: Using the attached dataset, give me the python code for a global map that displays each shipwreck as a point on the map.

GPT-4 Response:

OK, that’s a chart — interestingly — each point is accurate… Read the full blog for free on Medium.

Join thousands of data leaders on the AI newsletter. Join over 80,000 subscribers and keep up to date with the latest developments in AI. From research to projects and ideas. If you are building an AI startup, an AI-related product, or a service, we invite you to consider becoming a sponsor.

Published via Towards AI


Take our 90+ lesson From Beginner to Advanced LLM Developer Certification: From choosing a project to deploying a working product this is the most comprehensive and practical LLM course out there!

Towards AI has published Building LLMs for Production—our 470+ page guide to mastering LLMs with practical projects and expert insights!


Discover Your Dream AI Career at Towards AI Jobs

Towards AI has built a jobs board tailored specifically to Machine Learning and Data Science Jobs and Skills. Our software searches for live AI jobs each hour, labels and categorises them and makes them easily searchable. Explore over 40,000 live jobs today with Towards AI Jobs!

Note: Content contains the views of the contributing authors and not Towards AI.