docstr: Format kwargs for `fit` method.
  
  Parameters
  ----------
  fit_kwargs
      dictionary of Kwargs to format. See `fit` method for details.
  
  Returns
  -------
  Formatted kwargs.
docstr_tok: ["Format","kwargs","for","`","fit","`","method",".","Parameters","--","--","--","--","--","fit_kwargs","dictionary","of","Kwargs","to","format",".","See","`","fit","`","method","for","details",".","Returns","--","--","--","-","Formatted","kwargs","."]
code: def format_fit_kwargs(self, fit_kwargs: Dict) -> Dict:
      """Format kwargs for `fit` method.
  
      Parameters
      ----------
      fit_kwargs
          dictionary of Kwargs to format. See `fit` method for details.
  
      Returns
      -------
      Formatted kwargs.
      """
      return dict(
          step_size_range=fit_kwargs.get(
              "step_size_range", (1e-8, 1.0)
          ),
          n_iter_no_change=fit_kwargs.get("n_iter_no_change", 25),
          tol=fit_kwargs.get("tol", 1e-6),
          verbose=fit_kwargs.get("verbose", 0),
          n_step_sizes=fit_kwargs.get("n_step_sizes", 16),
          max_iter=fit_kwargs.get("max_iter", 1000),
      )
  
imports: import warnings
  from typing import Callable, Dict, Optional, Tuple
  import numpy
  import torch
  from sklearn.linear_model import SGDOneClassSVM
  from sklearn.utils.extmath import safe_sparse_dot
  from tqdm import tqdm
  from typing_extensions import Self
  from alibi_detect.od.pytorch.base import TorchOutlierDetector
  from alibi_detect.utils.pytorch.losses import hinge_loss
  from alibi_detect.utils.pytorch.kernels import GaussianRBF
  from alibi_detect.utils._types import TorchDeviceType
label_desc: Use image node_id 3 for calling the BgdSVMTorch obj's underlying member method code with example usage: obj.format_fit_kwargs(fit_kwargs) and returns: dict