INNER CODE UNIT · Python

_make_lgb_params

AnotherSamWilson/miceforest · miceforest/imputation_kernel.py:424

    def _make_lgb_params(
        self,
        variable: str,
        default_parameters: dict,
        variable_parameters: dict,
        **kwlgb,
    ):
        """
        Builds the parameters for a lightgbm model. Infers objective based on
        datatype of the response variable, assigns a random seed, finds
        aliases in the user supplied parameters, and returns a final dict.

        Parameters
        ----------
        variable: int
            The variable to be modeled

        default_parameters: dict

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…