API¶
DynGPT¶
|
Pre-train the neural network model for state transition network. |
|
Fine-tune the neural network model using a specified training configuration. |
|
Solve the state transition network using a trained neural network model. |
|
Infer the underlying dynamic parameters of a state transition network from observed data. |
Tools: tl¶
|
Update the basic configuration with values from the default configuration. |
|
Update the basic configuration with parameters from a dynamic model configuration file. |
|
Load and process synthetic data from a JSON file. |
|
Compute statistical metrics for sampled data. |
|
Calculate statistical metrics and the Kullback-Leibler divergence between neural network-generated samples |
Plotting: pl¶
|
Plot the loss values over epochs. |
|
Plot a comparison of statistical properties (mean, standard deviation, and Kullback-Leibler divergence) between simulation and DynGPT results for a given set of data. |
|
Plot a comparison of observed and predicted distributions, using 2D histograms and bar plots to visualize the differences between data and model predictions. |
|
Plot the posterior distributions of inferred parameters, along with optional true values for comparison. |
|
Plot a 2D histogram on the given axes with custom color mapping and labels. |
|
Plot a boxplot with customization options for states and formatting. |
|
Plot a scatter plot of two datasets on the given axes, with the option to customize appearance and labels. |
|
Plot a density estimate (using kernel density estimation). |
|
Plot a jointplot of two variables with kernel density estimation. |
|
Plot a histogram of data1 and overlays a kernel density estimate for data2. |