class_docstr: HOG1D transform.
  
  This class is to calculate the HOG1D transform of a
  dataframe of time series data. Works by splitting
  the time series num_intervals times, and calculate
  a histogram of gradients within each interval.
  
  Parameters
  ----------
      num_intervals   : int, length of interval.
      num_bins        : int, num bins in the histogram.
      scaling_factor  : float, a constant that is multiplied
                        to modify the distribution.
class_docstr_tok: ["HOG1D","transform",".","This","class","is","to","calculate","the","HOG1D","transform","of","a","dataframe","of","time","series","data",".","Works","by","splitting","the","time","series","num_intervals","times",",","and","calculate","a","histogram","of","gradients","within","each","interval",".","Parameters","--","--","--","--","--","num_intervals",":","int",",","length","of","interval",".","num_bins",":","int",",","num","bins","in","the","histogram",".","scaling_factor",":","float",",","a","constant","that","is","multiplied","to","modify","the","distribution","."]
code: def __init__(self, num_intervals=2, num_bins=8, scaling_factor=0.1):
      self.num_intervals = num_intervals
      self.num_bins = num_bins
      self.scaling_factor = scaling_factor
      super().__init__()
  
file_path: sktime/sktime/transformations/panel/hog1d.py
imports: import math
  import numbers
  import numpy
  import pandas
  from sktime.datatypes._panel._convert import from_nested_to_2d_array
  from sktime.transformations.base import BaseTransformer
label_desc: Use image node_id 1 to create a new HOG1DTransformer object from inherited base classes: BaseTransformer with example: obj = HOG1DTransformer(num_intervals, num_bins, scaling_factor)