Skip to content

GlassNet predictions are inconsistent after updating from 0.5.3 to 0.6.0 #33

Description

@Lexachoc

Hi,

I tested the GlassNet prediction results for the new version glasspy v0.6.0 with scikit-learn 1.7.1 as required for the new VITRIFY model if framework="sklearn".

I've noticed that GlassNet's prediction results differ noticeably:

GlassNet (GlassPy) v0.5.3 with scikit-learn 1.6.1 (in SciGlass Next)
Image

GlassNet (GlassPy) v0.6.0 with scikit-learn 1.7.1 (in SciGlass Next)

Image

I didn't realize that the version of scikit-learn could make such noticeable difference of about 5 to 20 °C until I did this update.
The dependencies list only specifies "scikit-learn>=1.5.0".

What do you sugguest?

Maybe we should freeze the version of scikit-learn that you used to train the GlassNet originally? Or should there be new scaler files (joblib files) created for the newer version of scikit-learn?

Or I'll just keep using scikit-learn 1.6.1, since I'm actually only using the default framework with onnxruntime.

But I'm still wondering if GlassNet's prediction results with scikit-learn 1.6.1 also differ from the original prediction (Which version did you use?)

UPDATE: The real cause is not the version of scikit-learn, but the file https://github.com/drcassar/glasspy/blob/v0.6.0/glasspy/data/load.py !

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions