from typing import Tuple


def default_hyperparameter_denormalizer(n_factors_norm: float,
                                        reg_weight_norm: float
                                        ) -> Tuple[int, float]:
    """Takes hyperparameter values normalized from default interval to (0; 1] interval,
    and returns actual values for a model.
    Implements :py:obj:`HyperparameterDenormalizer` type.

    :param n_factors_norm: Number of factors [1; 100] -> [0.01; 1]
    :param reg_weight_norm: Regularization constant [0.001; 0.01] -> [0.01; 1]
    :return: Denormalized values of number of factors and regularization constant
    """
    return round(n_factors_norm * 100), reg_weight_norm / 10