app/package/model_pkg/conversion_rate_model/v1/model.py
def _model_definition(self,
                          config=None):
        """Function to define and compile the model

        Args:
            config: dict with model hyperparameters

        Returns:
            model object
        """
        if self.model is None:
            self.model = LinearRegression()
Function to define and compile the model

        Args:
            config: dict with model hyperparameters

        Returns:
            model object
        
Function to define and compile the model
Function to define and compile the model
def _model_definition(self,
                          config=None):
        if self.model is None:
            self.model = LinearRegression()
def _model_definition ( self , config = None ) : if self . model is None : self . model = LinearRegression ( )
Function to define and compile the model
Function to define and compile the model
"""Function to define and compile the model

        Args:
            config: dict with model hyperparameters

        Returns:
            model object
        """
None
self
config
dict with model hyperparameters
dict with model hyperparameters