Skip to content

REU at Texas State where ML was used to predict drone power consumption pre-flight

Notifications You must be signed in to change notification settings

ericaltenburg/TXStateREU

Repository files navigation

TXStateREU

Code for the Classifier Decision Tree machine learning model. Used to predict the maneuvers a given UAV was performing during a simulated flight based on data values passed through as .csv files.

Compiling

Compile the ClfDecisionTree.py in the terminal by typing python3 ./ClfDecisionTree.py

Issues

If you're having issues compiling, check to see if you have Python 3 installed. You can do so by opening the terminal and typing pip3 and hitting enter. If you encounter errors, follow the Python 3 with this link.

If Python 3 is installed and you are compiling with it, then another common error is:

ModuleNotFoundError: No module named 'XXXXX'

To fix this, type:

pip3 install *Module Name*

Github Commands

ALWAYS REMEMBER TO PULL BEFORE MAKING ANY CHANGES TO FILES. THIS ENSURES YOU ARE WORKING WITH THE MOST UP-TO-DATE VERSION OF THE FILE, AND IT WILL PREVET ANY MERGING ERRORS.
After modifying the files

This tells you information about midified files and the repository in general:

git status

Adds files to be pushed:

git add *file_name*

or to add multiple

git add *file_name1* *file_name2* *...*

or to add all of the changed files

git add --all

To commit:

git commit -m "Your message here"

Push changes to the repo:

git push
Getting the updated repo

Grabs changes:

git pull origin master
Issues with Github

If you make changes to a local file before pulling the most up-to-date version, then there will be a merging error. Assuming you want to override the changes you made, then do this command:

git stash
git pull origin master
git stash pop

About

REU at Texas State where ML was used to predict drone power consumption pre-flight

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published