tabular/src/autogluon/tabular/models/abstract/abstract_model.py
def save(self, path: str = None, verbose=True) -> str:
        """
        Saves the model to disk.
        Parameters
        ----------
        path : str, default None
            Path to the saved model, minus the file name.
            This should generally be a directory path ending with a '/' character (or appropriate path separator value depending on OS).
            If None, self.path is used.
            The final model file is typically saved to path + self.model_file_name.
        verbose : bool, default True
            Whether to log the location of the saved file.
        Returns
        -------
        path : str
            Path to the saved model, minus the file name.
            Use this value to load the model from disk via cls.load(path), cls being the class of the model object, such as model = RFModel.load(path)
        """
        if path is None:
            path = self.path
        file_path = path + self.model_file_name
        save_pkl.save(path=file_path, object=self, verbose=verbose)
        return path

        Saves the model to disk.
        Parameters
        ----------
        path : str, default None
            Path to the saved model, minus the file name.
            This should generally be a directory path ending with a '/' character (or appropriate path separator value depending on OS).
            If None, self.path is used.
            The final model file is typically saved to path + self.model_file_name.
        verbose : bool, default True
            Whether to log the location of the saved file.
        Returns
        -------
        path : str
            Path to the saved model, minus the file name.
            Use this value to load the model from disk via cls.load(path), cls being the class of the model object, such as model = RFModel.load(path)
        
Saves the model to disk.
Parameters

path : str, default None
Path to the saved model, minus the file name.
This should generally be a directory path ending with a '/' character (or appropriate path separator value depending on OS).
If None, self.path is used.
The final model file is typically saved to path + self.model_file_name.
verbose : bool, default True
Whether to log the location of the saved file.
Returns

path : str
Path to the saved model, minus the file name.
Use this value to load the model from disk via cls.load(path), cls being the class of the model object, such as model = RFModel.load(path)
Saves the model to disk . Parameters path : str default None Path to the saved model minus the file name . This should generally be a directory path ending with a ' / ' character ( or appropriate path separator value depending on OS ) . If None self . path is used . The final model file is typically saved to path + self . model_file_name . verbose : bool default True Whether to log the location of the saved file . Returns path : str Path to the saved model minus the file name . Use this value to load the model from disk via cls . load ( path ) cls being the class of the model object such as model = RFModel . load ( path )
def save(self, path: str = None, verbose=True) -> str:
        if path is None:
            path = self.path
        file_path = path + self.model_file_name
        save_pkl.save(path=file_path, object=self, verbose=verbose)
        return path
def save ( self , path : str = None , verbose = True ) -> str : if path is None : path = self . path file_path = path + self . model_file_name save_pkl . save ( path = file_path , object = self , verbose = verbose ) return path
Saves the model to disk.
Saves the model to disk .
"""
        Saves the model to disk.
        Parameters
        ----------
        path : str, default None
            Path to the saved model, minus the file name.
            This should generally be a directory path ending with a '/' character (or appropriate path separator value depending on OS).
            If None, self.path is used.
            The final model file is typically saved to path + self.model_file_name.
        verbose : bool, default True
            Whether to log the location of the saved file.
        Returns
        -------
        path : str
            Path to the saved model, minus the file name.
            Use this value to load the model from disk via cls.load(path), cls being the class of the model object, such as model = RFModel.load(path)
        """
self
path
str
verbose