Rumale v0.12.0 Release Notes

Release Date: 2019-06-01 // almost 5 years ago
  • 💥 Breaking changes

    • For reproductivity, Rumale changes to not repeatedly use the same random number generator in the same estimator. In the training phase, estimators use a copy of the random number generator created in the initialize method. Even with the same algorithm and the same data, the order of random number generation may make slight differences in learning results. By this change, even if the fit method is executed multiple times, the same learning result can be obtained if the same data is given.
    svc = Rumale::LinearModel::SVC.new(random_seed: 0)
    svc.fit(x, y)
    a = svc.weight_vec
    svc.fit(x, y)
    b = svc.weight_vec
    err = ((a - b)**2).mean