You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When sampling from a distribution it seems that the sample! from StatsBase is a more efficient method to use as opposed to the sampling functions based on the Distributions package. This requires us to replace instances of sampling with the sample function.
This requires:
Remove Distributions from Project.toml and RLinearAlgebra.jl
Add StatsBase to Project.toml and import StatsBase: sample!
Replace any sampling procedures with the sample function.
The text was updated successfully, but these errors were encountered:
When sampling from a distribution it seems that the
sample!
from StatsBase is a more efficient method to use as opposed to the sampling functions based on theDistributions
package. This requires us to replace instances of sampling with the sample function.This requires:
Distributions
fromProject.toml
andRLinearAlgebra.jl
Project.toml
andimport StatsBase: sample!
The text was updated successfully, but these errors were encountered: