Overview
This program demonstrates how to classify NASA exoplanets based on their characteristics using the NASA Exoplanet API. The program fetches data from the API and performs clustering using the K-Means algorithm to group exoplanets into different categories.
Requirements
C++ compiler
cURL library for making API requests
JSON library for parsing API response
DRAFT:
Overview This program demonstrates how to classify NASA exoplanets based on their characteristics using the NASA Exoplanet API. The program fetches data from the API and performs clustering using the K-Means algorithm to group exoplanets into different categories.
Requirements C++ compiler cURL library for making API requests JSON library for parsing API response
Installation Install cURL library:
sudo apt-get install libcurl4-openssl-dev
Install JSON library (e.g., nlohmann/json):Compile the program:
g++ exoplanet_classification.cpp -o exoplanet_classification -lcurl
Usage
Example json
Reference NASA Exoplanet Archive API