dyngpt.tl.load_synthetic_data¶
- dyngpt.tl.load_synthetic_data(file_path, params_number=10, sample_number=3000, keep_index=[])[source]¶
Load and process synthetic data from a JSON file.
- Args:
file_path (str): Path to the JSON file containing synthetic data. params_number (int, optional): Number of parameter sets. Defaults to 10. sample_number (int, optional): Number of samples per parameter set. Defaults to 3000. keep_index (list, optional): Indices of features to keep in the output. Defaults to an empty list.
- Returns:
- tuple: A tuple containing:
np.ndarray: Processed synthetic samples.
np.ndarray: Corresponding parameter values.