class_docstr: Generalized linear models implementation 
docstr: Correct params if they are not correct 
code: def correct_params(self):
      """Correct params if they are not correct"""
      if self.family in self.family_distribution:
          if (
              self.link
              not in self.family_distribution[self.family][
                  "available_links"
              ]
          ):
              # get default link for distribution if current invalid
              default_link = self.family_distribution[self.family][
                  "default_link"
              ]
              self.log.info(
                  f"Invalid link function {self.link} for {self.family}. Change to default "
                  f"link {default_link}"
              )
              self.params.update(link=default_link)
          # if correct isn't need
          self.family_link = self.family_distribution[self.family][
              "distribution"
          ](
              self.family_distribution[self.family]["available_links"][
                  self.link
              ]
          )
      else:
          # get default family for distribution if current invalid
          self.set_default()
  
imports: from copy import copy
  import numpy
  import statsmodels.api
  from statsmodels.genmod.families import Gamma, Gaussian, InverseGaussian
  from statsmodels.genmod.families.links import identity, inverse_power, inverse_squared, log
  from statsmodels.genmod.generalized_linear_model import GLM
  from statsmodels.tsa.ar_model import AutoReg
  from statsmodels.tsa.exponential_smoothing.ets import ETSModel
  from fedot.core.data.data import InputData, OutputData
  from fedot.core.operations.evaluation.operation_implementations.data_operations.ts_transformations import ts_to_table
  from fedot.core.operations.evaluation.operation_implementations.implementation_interfaces import ModelImplementation
  from fedot.core.operations.operation_parameters import OperationParameters
  from fedot.core.repository.dataset_types import DataTypesEnum
label_desc: Use image node_id 8 for calling the GLMImplementation obj's underlying member method code with example usage: obj.correct_params() without return types