-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
33 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
# Machine Learning | ||
|
||
In the project, I used linear regression on the training dataset to be able to create the best theta. Below is an overview of the architecture of the implemented machine learning model. | ||
|
||
![ml-architecture-overview]() | ||
|
||
The system takes 4 inputs while creating one output, the final (additional) cost. The inputs are tied to one action which allows for the data to be taken from the action after executing. | ||
|
||
## Training Data | ||
|
||
The application is able to track and store the relevant data needed to create an model, based off of multiple session of training. The data is stored in the ```/ProjectBoss/project-boss-ml-data.csv``` file. | ||
|
||
Inside ```Source/ProjectBoss/Boss/GOAP/GOAPAIController.cpp```, the GOAP sequences are tracked and stored until end of play, where the data is then parsed from the sequences and then saved to the file. | ||
|
||
### User Participation | ||
If the user has not enabled participation on the main menu, to track and store their data, then no new training data will be appended after a play session. If participation is enabled, then the enemy should learn and train to the player's style. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters