class_docstr: A PPA class, inherited from Optimizer.
  
  This is the designed class to define PPA-related
  variables and methods.
  
  References:
      A. Mohamed et al. Parasitism – Predation algorithm (PPA): A novel approach for feature selection.
      Ain Shams Engineering Journal (2020).
class_docstr_tok: ["A","PPA","class",",","inherited","from","Optimizer",".","This","is","the","designed","class","to","define","PPA-related","variables","and","methods",".","References",":","A.","Mohamed","et","al",".","Parasitism","\u2013","Predation","algorithm","(","PPA",")",":","A","novel","approach","for","feature","selection",".","Ain","Shams","Engineering","Journal","(","2020",")","."]
docstr: Initialization method.
  
  Args:
      params: Contains key-value parameters to the meta-heuristics.
docstr_tok: ["Initialization","method",".","Args",":","params",":","Contains","key-value","parameters","to","the","meta-heuristics","."]
code: def __init__(self, params: Optional[Dict[str, Any]] = None) -> None:
      """Initialization method.
  
      Args:
          params: Contains key-value parameters to the meta-heuristics.
  
      """
  
      logger.info("Overriding class: Optimizer -> PPA.")
  
      super(PPA, self).__init__()
  
      self.build(params)
  
      logger.info("Class overrided.")
  
imports: from typing import Any, Dict, Optional, Tuple
  import numpy
  import opytimizer.math.distribution
  import opytimizer.math.general
  import opytimizer.math.random
  import opytimizer.utils.exception
  from opytimizer.core import Optimizer
  from opytimizer.core.space import Space
  from opytimizer.utils import logging
label_desc: Use image node_id 1 to create a new PPA object from inherited base classes: Optimizer with example: obj = PPA(params)