Prerequisites
matplotlib
- Figure
- Axes
- Scatter plot
- Histogram
pandas
numpy
- Data labels and features
- Logscale
Example Usage
./display_data.py all –data-file ../synthetic-data/cgl-demo-1.csv
Parameters
usage: ./display_data.py [-h] [--data-file DATA_FILE] [--features FEATURES [FEATURES ...]]
[--label LABEL]
[{label-vs-features,feature-histograms,all}]
Create Data Plots
positional arguments:
{label-vs-features,feature-histograms,all}
desired action
optional arguments:
-h, --help show this help message and exit
--data-file DATA_FILE, -d DATA_FILE
csv file of data to display
--features FEATURES [FEATURES ...], -f FEATURES [FEATURES ...]
column names for features
--label LABEL, -l LABEL
column name for label
Last Updated 01/09/2024