Browsed by
Tag: object-oriented

Object-Oriented for the CVM (Continued), and an Oops!

Object-Oriented for the CVM (Continued), and an Oops!

Why Shifting to the Object-Oriented Coding Approach REALLY IS Important:   Well, I hate having to admit it. Mud on my face; all that. But I made a pretty significant Whoops! back this last winter when I posted a “Verification and Validation” document (hah!) to arXiv.     The Sad Story of My Previous Ineptitude   Well, there’s nothing like hearing about someone else’s screw-up in order to make us feel better about our own life, so here goes. I’d…

Read More Read More

Looking at Friends and Neighbors: A Node’s Point-of-View (2-D Cluster Variation Method)

Looking at Friends and Neighbors: A Node’s Point-of-View (2-D Cluster Variation Method)

Looking around from a Node’s Point-of-View:   As we move from procedural code to object-oriented Python for a Cluster Variation Method (CVM) grid, our perspective shifts. We now need to look at the world from a node’s point-of-view. It’s a lot like updating one’s relationship status in Facebook – except that after updating our own (node) status, we need to not only update the values for all of our own configuration variables, but then we need to travel around the…

Read More Read More

Transition to Object-Oriented Python for the Cluster Variation Method

Transition to Object-Oriented Python for the Cluster Variation Method

The Cluster Variation Method – A Topographic Approach:   Object-oriented programming is essential for working with the Cluster Variation Method (CVM), especially if we’re going to insert a CVM layer into a neural network. The reason is that approaching free energy minima via changing node states requires dealing with node, net, and grid topographies. If we’re going to be at all strategic in moving towards free energy minima, then we can’t just pick nodes at random. We need to know…

Read More Read More