Example 3: Example with a larger experimental data set#
import pandas
import numpy as np
import arviz as az
from pathlib import Path
from peak_performance import pipeline as pl
User information#
For this example with a larger data set, the general paths within the PeakPerformance repository have already been formulated below (it is recommended to clone the repository on your local machine).
path_raw_data = Path("..") / "example/example_larger_dataset"
path_template = Path("..")
Use the prepare_model_selection() function to create a copy of Template.xlsx in the directory stored in the path_raw_data variable.
pl.prepare_model_selection(path_raw_data, path_template)
Automated model selection (optional)#
Perform automated model selection with the following settings:

result, model_dict = pl.model_selection(path_raw_data)
Pipeline#
Start the data analysis pipeline with the following settings:

results = pl.pipeline(
path_raw_data = path_raw_data,
raw_data_file_format = ".npy",
)
results