Research Article
Analysis of Single-Pilot Intention Modeling in Commercial Aviation
Algorithm 1
The training of the single-pilot intention model based on BiLSTM.
Input: Dataset: dataset | Output: BiLSTM Model: bilstm_model | flight_intent_labels, operation_sequences ← load dataset | intent_dictionary ← operation_sequences | foroperation_sequenceinoperation_sequences : do | X ← wordEmbedding(intent_dictionary, operation_sequence) | y ← categorical(flight_intent_label) | end for | bilstm_model ← build_bilstm(MiniBatchSize, NumHiddenUnits, layer_size) | loss, out ← build_output(bilstm_output, in_size, out_size) | solver ← AdamOptimizer(loss, LearnRate) | forepochinepochs: do | forMiniBatch_X, MiniBatch_yinget_MiniBatch(X, y, MiniBatchSize) | do | bilstm_model.run(loss, feed=input: MiniBatch_X, target: MiniBatch_y) | bilstm_model.run(solver, feed=input: MiniBatch_X, target: MiniBatch_y) | end for | end for | returnbilstm_model |
|