Learn R Programming

LSTMfactors (version 1.0.0)

plot.LSTM: Plot LSTM Classification Probability Distribution

Description

This function generates a bar plot of the classification probabilities predicted by the pre-trained LSTM for determining the number of factors. The plot displays the probability distribution across different numbers of factors, with each bar representing the probability for a specific number of factors. The maximum number of factors that the network can evaluate is 10. The function also annotates each bar with its probability value.

Usage

# S3 method for LSTM
plot(x, ...)

Value

None. This function is used for side effects (plotting).

Arguments

x

An object of class LSTM, representing the results to be plotted.

...

Additional arguments to be passed to the plotting function.

See Also

LSTM