Switch Net 4 neural network

General FreeBASIC programming questions.
Luxan
Posts: 222
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: Switch Net 4 neural network

Post by Luxan »

Your Sparse Net certainly incorporates a few extras, like the anti aliased line drawing.

At present my mind is probably over fitted to previous knowledge and pruning new
knowledge; a long learning curve is predicted.

At least until such time as there are fewer out standing tasks to complete.
dafhi
Posts: 1646
Joined: Jun 04, 2005 9:51

Re: Switch Net 4 neural network

Post by dafhi »

the code's messy, and the network functionality is limited. i wouldn't spend too much time on it
Luxan
Posts: 222
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: Switch Net 4 neural network

Post by Luxan »

Thank you for informing me.

If possible, I keep to the readily available functions and operators of the underlying language,
it's generally easier to determine what's going on with the code that way.
Also FreeBasic has quite good documentation.
During the development phase I Iterate through many code samples, keeping most of these so that
I can trace back and reiterate in a slightly different way; always being mindful of the structure and
letting the syntax checking capabilities of FreeBasic guide me.
I haven't quite gotten around to using constructors, these appear to be new with FreeBasic,
I don't recall qb or qb45 having these .

In my cabinet I have the assembly language reference book for the x86 and Z80, these are also written in
a clear and concise manner. Elsewhere I have the hardware description for a FFT chip, this only uses a
few registers to implement all of the control and memory addressing.

And I also use the free Maxima CAS , however I still attempt to keep everything comprehensible in my
code; not always easy.
dafhi
Posts: 1646
Joined: Jun 04, 2005 9:51

Re: Switch Net 4 neural network

Post by dafhi »

nice! i've begun work on single-threaded parallelization.

also have some tooling ideas to help people interested in graphics
Luxan
Posts: 222
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: Switch Net 4 neural network

Post by Luxan »

Single-threaded parallelisation, using Freebasic , sounds ambitious .
dafhi
Posts: 1646
Joined: Jun 04, 2005 9:51

Re: Switch Net 4 neural network

Post by dafhi »

from a well known alpha-blending technique

[2023 Oct 19] basis

Code: Select all

blue = (blue * [0 to 255]) and &HFF00

with masking for combined Red Blue

Code: Select all

col = ((col and &HFF00FF) * [0 to 255] ) and &HFF00FF00
Luxan
Posts: 222
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: Switch Net 4 neural network

Post by Luxan »

So, we've explored your development of the switchnet 4 , from the initial concept through to
code that produces sensible results.

If I go back to the original illustration of switchnet 4, where the standard fast WHT is shown,
and I use that in the code will I retain the functionality of your evolved code ?
dafhi
Posts: 1646
Joined: Jun 04, 2005 9:51

Re: Switch Net 4 neural network

Post by dafhi »

doubt it - i haven't looked at any of my versions in what feels like ages.

give me a day or so
Luxan
Posts: 222
Joined: Feb 18, 2009 12:47
Location: New Zealand

Re: Switch Net 4 neural network

Post by Luxan »

Star Trek "The search for Spock"

Scotty:
The more they overthink the plumbing, the easier it is to stop up the drain.


Kruge:
No tricks, Kirk. You have one minute.

Luxan
You have ....
dafhi
Posts: 1646
Joined: Jun 04, 2005 9:51

Re: Switch Net 4 neural network

Post by dafhi »

30 seconds?

[update 2 - cleared 22 lines]
Page 1 is a good starting point. it's performant and not 'too' compilcated
Post Reply