# Set seed GLMNet.jl

**URL:** <https://discourse.julialang.org/t/set-seed-glmnet-jl/112071>\
**Category:** Modelling & Simulations\
**Tags:** question, package\
**Created:** [March 25, 2024, 9:22am UTC](https://discourse.julialang.org/t/set-seed-glmnet-jl/112071 "2024-03-25T09:22:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mariana](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/mariana/32/15064_2.png) [@Mariana](https://discourse.julialang.org/u/Mariana)\
**Post date:** [March 25, 2024, 9:22am UTC](https://discourse.julialang.org/t/set-seed-glmnet-jl/112071/1 "2024-03-25T09:22:41Z")

</div>

Hello!

I’m using [GLMNet.jl](https://juliahub.com/ui/Packages/General/GLMNet) to obtain a logistic regression model.

How can I set a seed so that every time I run function `glmnetcv` with the same parameters I get the same result?

Thank you!
