nn_option_pricing.training#

Training and inference utilities for the pricing neural network.

Functions

predict(model, x_scaled[, target_scaler, ...])

Predict option prices with a trained model.

set_seed(seed)

Set random seeds for reproducible NumPy and PyTorch experiments.

train_model(df, config[, device])

Train a feed-forward neural network on Black-Scholes prices.

Classes

TrainingArtifacts(model, scaler, ...)

Objects produced by a training run.