np.log1p &check_random_state(seed)

1.np.log1p:https://blog.csdn.net/qq_36523839/article/details/82422865(数据平滑处理)

  1. check_random_state(seed):
    parameters:seed :
    None | int | instance of RandomState
    If seed is None, return the RandomState singleton used by np.random. If seed is an int, return a new RandomState instance seeded with seed. If seed is already a RandomState instance, return it. Otherwise raise ValueError.

猜你喜欢

转载自blog.csdn.net/weixin_43055882/article/details/85229117