Giter Club home page Giter Club logo

Comments (10)

xiaonanl avatar xiaonanl commented on May 24, 2024

Ok, even if the learn flag was off, the network will still learn something though very minor. Can't really see from dwt but the test results are different. But the learning when only learn flag is off is much smaller than when both prjn and learn flag are off.

from emergent.

rcoreilly avatar rcoreilly commented on May 24, 2024

I just experimented with ra25 and hip examples, and both obey the Off flag, as in the code below. And the IsOff() method checks both the prjn Off flag and both the send and recv layer Off flags.

However, it is also definitely the case that when you turn it off, any residual DWt values will still show up in the display.

So something strange is happening. we probably need to sit down and debug together.

// DWt computes the weight change (learning) -- calls DWt method on sending projections
func (ly *Layer) DWt() {
	for _, p := range ly.SndPrjns {
		if p.IsOff() {
			continue
		}
		p.(LeabraPrjn).DWt()
	}
}

// WtFmDWt updates the weights from delta-weight changes -- on the sending projections
func (ly *Layer) WtFmDWt() {
	for _, p := range ly.SndPrjns {
		if p.IsOff() {
			continue
		}
		p.(LeabraPrjn).WtFmDWt()
	}
}

from emergent.

xiaonanl avatar xiaonanl commented on May 24, 2024

from emergent.

xiaonanl avatar xiaonanl commented on May 24, 2024

from emergent.

rcoreilly avatar rcoreilly commented on May 24, 2024

can you add print statements in the DWt method after the IsOff() continue statement to verify that it is going into that code? something is very strange if so as those are really basic functions!

from emergent.

rcoreilly avatar rcoreilly commented on May 24, 2024

ps I will be avail after the eeg meeting to go over

from emergent.

xiaonanl avatar xiaonanl commented on May 24, 2024

from emergent.

rcoreilly avatar rcoreilly commented on May 24, 2024

print with name of prjn: fmt.Printf("dwt on: %v\n", pj.Nm)

yep I'll come back to cns

from emergent.

xiaonanl avatar xiaonanl commented on May 24, 2024

from emergent.

xiaonanl avatar xiaonanl commented on May 24, 2024

Closing this one as well.

from emergent.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.