developerWorks: Weave a Neural Net with Python | Linux Today

developerWorks: Weave a Neural Net with Python

Written By
Web Webster
Web Webster
Jun 21, 2004

“Hot things cool, obviously. The house gets messy,
frustratingly. In much the same way, messages are distorted.
Short-term strategies for reversing these things include,
respectively, reheating, cleaning, and the Hopfield net. This
article introduces you to the last of these three, an algorithm
that can, within certain parameters, undo noise. A very simple
Python implementation, net.py, will show you how its basic parts
fit together, and why a Hopfield net can sometimes retrieve a
pattern from its distortion. This implementation, while limited,
will still enable you to perform a number of instructive and
revealing experiments on the Hopfield net.

“I assume that you are reading this because you have some
computational problem. You have been advised that some neural net
algorithm might provide a solution. Specifically, the suggestion is
that you might employ a Hopfield net. I suppose further that you
need a precis of the idea so you can decide whether the suggestion
is feasible and warrants more exploration. The following broadly
sketched application of the Hopfield net may get you started
solving your problem…”


Complete Story

Web Webster

Web Webster

Web Webster has more than 20 years of writing and editorial experience in the tech sector. He’s written and edited news, demand generation, user-focused, and thought leadership content for business software solutions, consumer tech, and Linux Today, he edits and writes for a portfolio of tech industry news and analysis websites including webopedia.com, and DatabaseJournal.com.

Linux Today Logo

LinuxToday is a trusted, contributor-driven news resource supporting all types of Linux users. Our thriving international community engages with us through social media and frequent content contributions aimed at solving problems ranging from personal computing to enterprise-level IT operations. LinuxToday serves as a home for a community that struggles to find comparable information elsewhere on the web.

Property of TechnologyAdvice. © 2026 TechnologyAdvice. All Rights Reserved

Advertiser Disclosure: Some of the products that appear on this site are from companies from which TechnologyAdvice receives compensation. This compensation may impact how and where products appear on this site including, for example, the order in which they appear. TechnologyAdvice does not include all companies or all types of products available in the marketplace.