Skip to content

66 separate nns for throttle and direction#68

Open
schmidt1139 wants to merge 12 commits into63-troubleshoot-nn-setupfrom
66-separate-nns-for-throttle-and-direction
Open

66 separate nns for throttle and direction#68
schmidt1139 wants to merge 12 commits into63-troubleshoot-nn-setupfrom
66-separate-nns-for-throttle-and-direction

Conversation

@schmidt1139
Copy link
Owner

This PR contains the extra training scripts and utilities needed to conduct an experiment to train separate neural networks for bang-bang throttle control and thrust direction.

The user can choose from multiple loss functions, this just reports the
selected loss function in the plot name instead of MSE.
The user can express if they would like just a u network training/eval,
an alpha only network training, or all 3.
The user can express if they would like just a u network training/eval,
an alpha only network training, or all 3.
The params dictionary was previously just used for holding non-
dimensional parameters but now holds most of the simulation
parameters. Updated name to reflect this.
(For example - a u only NN will not have alpha comparison data to plot)
If the user elects to train on BCE with logits loss, the NN will be
trained to output the logits corresponding to the likelihood of
firing the thruster. This extra code handles the transformation to a
sigmoid probability and the control becomes 1 if the signal is
greater than 0.5.
@schmidt1139 schmidt1139 requested a review from MartinAstro July 8, 2025 02:44
@schmidt1139 schmidt1139 self-assigned this Jul 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants