# Issue in loading the model from a stored file

**URL:** <https://discourse.julialang.org/t/issue-in-loading-the-model-from-a-stored-file/72062>\
**Category:** General Usage\
**Tags:** question, io\
**Created:** [November 25, 2021, 1:24pm UTC](https://discourse.julialang.org/t/issue-in-loading-the-model-from-a-stored-file/72062 "2021-11-25T13:24:31Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dharmaraja\_Muthukris](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/dharmaraja_muthukris/32/31108_2.png) [@Dharmaraja\_Muthukris](https://discourse.julialang.org/u/Dharmaraja_Muthukris)\
**Post date:** [November 25, 2021, 1:24pm UTC](https://discourse.julialang.org/t/issue-in-loading-the-model-from-a-stored-file/72062/1 "2021-11-25T13:24:31Z")

</div>

I saved a linear regression model as a .jdl file using JDL package. When I tried to retrieve and try predict with that model I get the following message. Please help me.

ERROR: MethodError: no method matching predict(::JLD.var"##StatsModels.TableRegressionModel{GLM.LinearModel{GLM.LmResp{Core.Array{Core.Float64,1}},GLM.DensePredChol{Core.Float64,LinearAlgebra.CholeskyPivoted{Core.Float64,Core.Array{Core.Float64,2}}}},Core.Array{Core.Float64,2}}#533", ::DataFrame)  
Closest candidates are:  
predict(::StatsModels.TableRegressionModel, ::Any; kwargs…) at C:\Users\Dharma Raja.julia\packages\StatsModels\m1jYD\src\statsmodel.jl:172  
predict(::StatsModels.TableRegressionModel, ::Any…; kwargs…) at C:\Users\Dharma Raja.julia\packages\StatsModels\m1jYD\src\statsmodel.jl:28
