INNER CODE UNIT · Python

choice

AnotherSamWilson/miceforest · miceforest/default_lightgbm_parameters.py:56

                choice = np.exp(
                    random_state.uniform(
                        np.log(v[0]),
                        np.log(v[1]),
                        size=1,
                    )[0]
                )
            else:
                choice = random_state.uniform(
                    v[0],
                    v[1],
                    size=1,
                )[0]
            if isinstance(v[0], int):
                choice = int(choice)
        else:
            choice = parameters[p]
        parameters[p] = choice

View source record →

📰 Research Paper
Loading…
⏳ Fetching content…