Comments (2)
This was a curious issue
It looked as if after the Parameter objects were deserialized from persistence they hashed to a slightly different value even with the Native serializer (off by 1ish) and a more different value with the Binary serializer (off by 7ish)
Rather than having to go through the igbinary guys to see if it was a bug with their extension, I just designed the cache differently and now we don't have to worry about object hashes at all
You can try it out using the current dev-master branch, or you can wait for the next beta release in a few days
Thanks again for the great bug report
from ml.
Thank you for the great bug report
This is an interesting one
The bug appears after reconstituting a binary serialized neural network based estimator such as MLP or Logistic Regression with an Adaptive Optimizer (Adam, Momentum, etc.)
Indeed, everything works fine using the Native serializer, and a non-adaptive optimizer (Stochastic, Cyclical, etc.) work ok as well
My gut says that it's something with the igbinary extension (the extension doing the work under the hood)
Specifically, it might have a problem serializing/unserializing the \SplObjectStorage (a hash map structure that uses object hashes as keys)
For example, maybe the object hashes are not being preserved through the deep freeze
That cache you see on line 119 is an \SplObjectStorage that holds the per parameter running velocities and squared gradients needed for the adaptive calculation
\SplObjectStorage is one thing that all the Adaptive Optimizers have in common
I'm going to continue doing some research
from ml.
Related Issues (20)
- Question, which model users for Fraud Prediction HOT 2
- Incorrect SVC save/load methods implementation HOT 2
- psr/log old version is limiting the project to be used on modern frameworks HOT 2
- Which alogorithm can be used for search result ranking ? HOT 2
- Is "Transformer Architecture Marchine Learning Model" supported on RubixML ??? HOT 4
- Map method in Dataset doesn't exist HOT 2
- Multi Language Tokenization Support HOT 2
- WordCountVectorizer Memory Issue HOT 2
- TruncatedSVD() made PHP crash without any message HOT 3
- Evaluation of the cluster quality with indicators HOT 1
- Requirements not resolved to an installable set of packages HOT 3
- Softmax Classifier & partial training HOT 1
- Does Rubix ML support Natural Language Processing (NLP)? HOT 1
- Convert `Transformers\PrincipalComponentAnalysis` to NumPower
- Convert `Transformers\LinearDiscriminantAnalysis` to NumPower
- Convert `Transformers\TruncatedSVD` to NumPower
- Convert `Generators\Blob` to NumPower
- Convert `Generators\Circle` to NumPower
- Convert `Generators\HalfMoon` to NumPower
- Add numpower to the GitHub workflow pipeline
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ml.