pydruglogics.execution.Executor module

pydruglogics.execution.Executor.execute(train_params: Dict[str, Any] | None = None, predict_params: Dict[str, Any] | None = None) None

Execute training and/or prediction based on the provided parameters.

pydruglogics.execution.Executor.predict(*args, **kwargs)
pydruglogics.execution.Executor.timed_execution(func)

Decorator to log the time taken by a function and provide detailed logging.

pydruglogics.execution.Executor.train(*args, **kwargs)