Command line parameters of the framework. TODO
Parameter | Description | Example |
---|---|---|
n_samples |
Number of samples for each target class. If not provided, all samples will be generated. |
|
parameters |
Visualization specific parameters in json format. |
|
parametersFile |
File with visualization specific parameters in json format. |
|
./visualize.py breastCancer blobs _output/breastCancer/blobs --quantize
./visualize.py breastCancer radial _output/breastCancer/radial --n_samples 100 --quantize --parametersFile config/radial_default.json
./visualize.py breastCancer faces _output/breastCancer/faces --groups med --n_samples 100 --quantize
./visualize.py nutrients blobs _output/nutrients/blobs
./visualize.py nutrients radial _output/nutrients/radial --n_samples 10 --quantize --parametersFile config/radial_default.json
./visualize.py nutrients faces _output/nutrients/faces --groups med --n_samples 100 --quantize
Source: https://osf.io/cpfwj
./visualize.py recipes blobs _output/recipes/blobs
./visualize.py recipes radial _output/recipes/radial --n_samples 100 "--parameters={ \"colorMapPath\": \"data/ingredientsMap.csv\"}"
Example:
./visualize.py spotify blobs _output/spotify/blobs --normalize
./visualize.py spotify radial _output/spotify/radial --quantize --n_samples 100 --parametersFile config/radial_default.json
./visualize.py spotify faces _output/spotify/faces --groups med --n_samples 100 --normalize
Takes spotify dataset (with normalization) and visualize it like blobs. Images are saved into "output" folder.
Examples:
./average.py _output/breastCancer/radial
./average.py _output/recipes/radial
./average.py _output/spotify/blobs
./average.py _output/spotify/radial
./visualize.py breastCancer radial _output/breastCancer/radial --n_samples 100 --quantize --groups med --parametersFile config/radial_default.json
python visualize.py nutrients radial _output/nutrients/radial --quantize --n_samples 100 --groups med --parametersFile config/radial_default.json
Takes folders in "output" folder and makes average of all image in this subfolder.