Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -458,7 +458,7 @@ def calibration(
def _get_loss_for_price_based_calibration(
*, prices, strikes, expiries, forwards, is_call_options,
discount_rates, dividend_rates, optimizer_arg_handler, dtype):
"""Creates a loss function to be used in volatility-based calibration."""
"""Creates a loss function to be used in price-based calibration."""

def _price_transform(x):
return tf.math.log1p(x)
Expand Down