Ok, I've decided to revive the old tavli project that I had left somewhere in the middle.
Now, maybe I'll leave it again before finishing, but there is a bright side (isn't there always...if you really really look ;-)
So, I now have subversion server running and I am happily exploring how the things work both from the linux side and also from that other OS you (I mean YOU) are using :P
And finally, C++ had me scratching my head once again.
In that neural network project I was talking about (tavli) I have defined a type like this:
typedef float real;
so, I go ahead and use real everywhere. The point of all this being that whenever I feel I'll alter the definition (say from float to double) and all that it would be needed is a re-compilation. Now, the application saves the weights of the neurons to a file.
I've decided to switch from float to double. Filesize didn't change. Weird huh?
I went to 'long double'. Still no filesize change. Ok, something was obvious wrong.
How was I to have the higher accuracy when the std::fstream was handling floating numbers the same no matter what I've tried?
Anyway, to cut a long story short. Here is the solution:
file_op.precision( std::numeric_limits<real>::digits10 );
You have to tell the fstream object what accuracy you want. Dumb if you ask me. (Not that you are asking me :P)
Thursday, May 03, 2007
Sunday, January 21, 2007
Hugh Laurie Golden Globe 2006 acceptance speech
| Hugh Laurie his first Golden Globe for his part as Gregory House in House, M.D. in 2006. This is his acceptance speech. Well done :-) | |
Friday, October 20, 2006
House MD tossing a Vicoden into the air
| House MD is my latest tv addiction. Brilliant writting, acting. | |
Saturday, August 19, 2006
Pretty girl time...
| Well, I was watching a movie on tv and this girl caught my eye. "The in Crowd" was the movie (mediocre thriller wannabe), and Susan Ward is the beauty. Here, have a clip... :-) | |
Friday, August 18, 2006
Summer is moving on....
Well, summer is almost over...
I got a QTek S200 to play with in my vacation. Cool thingy.
Oh, and I am currently half-doing (*grin*) a kde screensaver.
I got a QTek S200 to play with in my vacation. Cool thingy.
Oh, and I am currently half-doing (*grin*) a kde screensaver.
Sunday, July 09, 2006
Sunday, June 11, 2006
Thursday, May 04, 2006
Wednesday, November 02, 2005
Slow week anyone? :-)
Ok, so it was not only a slow day...it turns out it is a slow week.
Anyways, slowness and all, I come across the weirdest spam-email ever (..that I've noticed)
QUOTE
Good day, commander,
You are very good, thank you!
Swanson
Bye
QUOTE
Anyone can get it? What is it trying to sell here? I don't get it.
Geez, I must be getting older...I can't even "get" spam now...
Anyways, slowness and all, I come across the weirdest spam-email ever (..that I've noticed)
QUOTE
Good day, commander,
You are very good, thank you!
Swanson
Bye
QUOTE
Anyone can get it? What is it trying to sell here? I don't get it.
Geez, I must be getting older...I can't even "get" spam now...
Saturday, October 29, 2005
Slow day
Slow day today.
I got up late. No mood for coding. Just silly browsing and ircing.
Maybe later it will come to me...
I got up late. No mood for coding. Just silly browsing and ircing.
Maybe later it will come to me...
Friday, October 28, 2005
NN doesn't want to learn plakoto...
This is starting to get on my nerves. I just recently got into Neural Network programming and I am trying to make a few NNs that will evaluate correctly game boards of backgammon. There are three different game types of backgammon in Greece.
Man, it does not want to learn how to play this game. I've tried everything. I increased the hidden layers neurons from 40 to 80. I went higher to 120 and 160. I let it train for 10 million games. No good. Always below average on strength of play.
There must be a bug either in coding or even conceptually. I won't give up. I'll get it.
- Fevga
- Plakoto
- Portes
Man, it does not want to learn how to play this game. I've tried everything. I increased the hidden layers neurons from 40 to 80. I went higher to 120 and 160. I let it train for 10 million games. No good. Always below average on strength of play.
There must be a bug either in coding or even conceptually. I won't give up. I'll get it.
Subscribe to:
Posts (Atom)
