Re: Save Model/Load Model problem

M. Kemal Karaosmanoğlu <[email protected]> Mon, 15 Jul 2024 14:25:06 +0300
Newsgroups gmane.comp.ai.weka
Message-ID <CAJY7Nvg5h3OkByFe4XMO=32APC6-wvHs5xmJk6LZQ+OZtXJiKQ@mail.gmail.com>
--===============2673739714496200373==
Content-Type: multipart/alternative; boundary="000000000000ea3d85061d477b3d"

--000000000000ea3d85061d477b3d
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

Thanks for the answer.
I'm using WEKA 3.9.6, too. I made the experiment I reported with Functions
> LinearRegression classifier. I don't get any errors. When I restart WEKA
it doesn't work either.
However, let me point out this detail:
When I Load (the) Model, the formula, etc. of the model I saved appears in
the Classifier Output window. However, the LinearRegression... information
continues to appear next to the Choose (Classifier) button.. Also, when I
push the Start button, the LinearRegression algorithm runs, not the trained
model.
If you need I can send my experimental files.

Thanks again, Kemal

Peter Reutemann <[email protected]>, 15 Tem 2024 Pzt, 01:35 tarihinde =C5=
=9Funu
yazd=C4=B1:

> > I open a dataset in WEKA and train it using the Linear Regression
> classifier. I save it with Save Model, for example with the name
> trained.model. Further on, I open a new dataset in the same format as the
> first one, except for the class information, and read the trained.model
> file by clicking Load Model. But the name of the model I loaded does not
> appear in the Classifier field . How can I solve this problem?
>
> This works fine with my Weka 3.9.6, the classifier field updates as
> expected.
>
> Did you get any errors? What classifier are you using? Does it still
> not work after restarting Weka?
>
> Cheers, Peter
> _______________________________________________
> Wekalist mailing list -- [email protected]
> Send posts to [email protected]
> To unsubscribe send an email to [email protected]
> To subscribe, unsubscribe, etc., visit
> https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
> List etiquette:
> http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html
>

--000000000000ea3d85061d477b3d
Content-Type: text/html; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Thanks for the answer.<br>I&#39;m using WEKA 3.9.6, too. I=
 made the experiment I reported with Functions &gt; LinearRegression classi=
fier. I don&#39;t get any errors. When I restart WEKA it doesn&#39;t work e=
ither.<br>However, let me point out this detail:<br>When I Load (the) Model=
, the formula, etc. of the model I saved appears in the Classifier Output w=
indow. However, the LinearRegression... information continues to appear nex=
t to the Choose (Classifier) button.. Also, when I push the Start button, t=
he LinearRegression algorithm runs, not the trained model.<br>If you need I=
 can send my experimental files.<br><div><br></div><div>Thanks again, Kemal=
</div></div><br><div class=3D"gmail_quote"><div dir=3D"ltr" class=3D"gmail_=
attr">Peter Reutemann &lt;<a href=3D"mailto:[email protected]">fracpete@gm=
ail.com</a>&gt;, 15 Tem 2024 Pzt, 01:35 tarihinde =C5=9Funu yazd=C4=B1:<br>=
</div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;b=
order-left:1px solid rgb(204,204,204);padding-left:1ex">&gt; I open a datas=
et in WEKA and train it using the Linear Regression classifier. I save it w=
ith Save Model, for example with the name trained.model. Further on, I open=
 a new dataset in the same format as the first one, except for the class in=
formation, and read the trained.model file by clicking Load Model. But the =
name of the model I loaded does not appear in the Classifier field . How ca=
n I solve this problem?<br>
<br>
This works fine with my Weka 3.9.6, the classifier field updates as expecte=
d.<br>
<br>
Did you get any errors? What classifier are you using? Does it still<br>
not work after restarting Weka?<br>
<br>
Cheers, Peter<br>
_______________________________________________<br>
Wekalist mailing list -- <a href=3D"mailto:[email protected]" tar=
get=3D"_blank">[email protected]</a><br>
Send posts to <a href=3D"mailto:[email protected]" target=3D"_bla=
nk">[email protected]</a><br>
To unsubscribe send an email to <a href=3D"mailto:[email protected]=
to.ac.nz" target=3D"_blank">[email protected]</a><br>
To subscribe, unsubscribe, etc., visit <a href=3D"https://list.waikato.ac.n=
z/postorius/lists/wekalist.list.waikato.ac.nz" rel=3D"noreferrer" target=3D=
"_blank">https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.a=
c.nz</a><br>
List etiquette: <a href=3D"http://www.cs.waikato.ac.nz/~ml/weka/mailinglist=
_etiquette.html" rel=3D"noreferrer" target=3D"_blank">http://www.cs.waikato=
.ac.nz/~ml/weka/mailinglist_etiquette.html</a><br>
</blockquote></div>

--000000000000ea3d85061d477b3d--

--===============2673739714496200373==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Wekalist mailing list -- [email protected]
Send posts to [email protected]
To unsubscribe send an email to [email protected]
To subscribe, unsubscribe, etc., visit https://list.waikato.ac.nz/postorius/lists/wekalist.list.waikato.ac.nz
List etiquette: http://www.cs.waikato.ac.nz/~ml/weka/mailinglist_etiquette.html

--===============2673739714496200373==--