Hello jc99
I can see on your patch that you've changed some weights (loved to find that you've tried):
-SOM.FatorDeCorrecao:=1;
+SOM.FatorDeCorrecao:=3.5;
Does the above improve the example in your opinion?
I have doubled the Neurons in each direction (20x20)
and Ended up mostly with a result when one edge is rotatet to the rest.
by updateting the factor it happens less.
BTW: with (40x40) I almost never get a good result.
Though the results are somehow interesting from an artists point of view.
Some of the code is older than 20 years. We might have bits and pieces that are 30 years old... Anyway, I have been translating variable names, methods and comments to English for the past few years.
What code reformatting tool have you used? I might end using the same tool.
The internal JVC-Lazarus formater (Ctrl-D) though I am not happy with it, the formatter included to Delphi is much more tolerant to errors and new features. (but they left it out in the XE10.1 XE10.2 personal edition ...)
When you said that you had to change folder structure.... Huuummm... I'm able to compile in 3 environments out of the box: 2 environments are windows and 1 environment is linux. I'm also able to crosscompile the libs folder to Android with lamw (watched NN running on Android few days ago and loved). I'll add Android specific work soon.
I wonder if the folder problem is related to the SVN url I check in:
svn+ssh://<user>@svn.code.sf.net/p/cai/svncode/trunk
I drive a very strict security-system (using SRP with heise restric'tor)
only files placed in a specific folder or with a specific hash are allowed to run.
Also i don't like to search through many subfolder to clean the compiler-mess.
so i make a strict separation of Project(information)-Files, Source-code, datafiles (incl. FPDoc & PO), compiler-generated-files and executables
So my filestructure looks like:
+ Projects-Root
++-bin
| +-x86_64-win64 (here are the executables)
| +-i386-win32
| '- ... more $(TargetCPU)-$(TargetOS)
+-lib
| +-<Projectname or PackeageName>
| +-$(TargetCPU)-$(TargetOS) (here are the compiled units *.ppu *.o *.compiled ...
|
+-FPC (Here are the project-files for lazarus/FPC
+-D... (Here are the project-files for delphi (a directory for each version)
+-Source (Here and in subdirectories are the source-files)
+-Language (*.po *.mo - files for i18n)
+-FODoc ( *.xml for FPDoc-Documentation)
+-Data (Test-Datafiles, when released the Datafiles are in %programData%\<Vendorname>\<AppName> for global data or in %APPDATA%\<Vendorname>\<AppName> for userdata on WinXX
the nearly only file(s) in root are the <Projectname>.lpg (Lazarus-Group-files) <Projectname>_<DVer>.groupproj (Delphi-Group-files) <Projectname>_<DVer>.bdsgrp (Delphi-Group-files <=D2006)
I noticed also that you've made some user interface changes (UI isn't my strong):
- Orientation = pbVertical
+ Orientation = pbTopDown
That was just a test ...
Is there any other change that isn't reformatting in the code?
I think I changed some functionresults from
<FunctionName> := <Value>
to
I don't know if it's here or in another project I Changed some
<NumerticVal> := integer(Pointer(<something>))
to
<NumerticVal> := PtrInt(Pointer(<something>))
Happy Coding ,
JPSS
Thanks.