This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | def mean_absolute_volatility_error(y_true: Union[List[float], np.ndarray], y_pred: Union[List[float], np.ndarray]) -> float: | |
| """ | |
| Calculate the mean absolute volatility error for the given true and predicted values. | |
| :param y_true: List or numpy array of true values | |
| :param y_pred: List or numpy array of predicted values | |
| :return: Mean absolute volatility error (in percentage) | |
| """ | |
| # Convert input lists to numpy arrays | |
| y_true, y_pred = np.array(y_true), np.array(y_pred) | 
      
      Loading
      
  Sorry, something went wrong. Reload?
      Sorry, we cannot display this file.
      Sorry, this file is invalid so it cannot be displayed.