An open API service indexing awesome lists of open source software.

https://github.com/alexweininger/aurora-classifier

Perceptron machine learning algorithm that classifies images as either containing aurora or not containing aurora.
https://github.com/alexweininger/aurora-classifier

Last synced: 7 months ago
JSON representation

Perceptron machine learning algorithm that classifies images as either containing aurora or not containing aurora.

Awesome Lists containing this project

README

          

# How to use

## Dependencies

- Python 3
- pandas
- matplotlib
- csv

## histograms.py

There are two programs involved with this application. The first `histgrams.py` generates the histograms from the images and outputs a text file containing the histograms on each line. You do not need to run `histgrams.py` unless you want to change the images tested. The lines are prepended with whether or not the image contains an aurora (for validation and testing). The `output_stretch.txt` file is already generated and you do not need to run `histgrams.py` again. If you want to change the images tested, put them into the respective folders in the `training_images` directory.

## perceptron.py

This is the main program of this application. To run simply type `py perceptron.py`. The final accuracy is printed at the end of the programs execution. This test is run off different images than the training data.