Tuesday, March 30, 2010

Kohonen’s Self Organizing Maps in Excel/VBA, applied for reducing dimensions of colors and of financial ratios from Google Finance



Kohonen’s Self Organizing Maps (SOM) is a type of artificial neural network that is trained using unsupervised learning. The number of dimensions is effectively reduced as a two-dimensional, discrete representation of high-dimensional data is produced. A neighborhood function is used as the topological properties of the input space are preserved.

In this file, the output space is visualized in a 40x40 block of Excel cells that are colored appropriately. If you would like to take a look at a good description of the algorithm, go to AIJunkie’s website.

The second file, chooses three financial indicators – ROE, Debt-to-Equity and Market Capitalization – and once again depicts this three-dimensional data on a two-dimensional SOM. The ratios are from telecom sector of Google Finance and are (0,1) normalized beforehand. As the initial plot is “dominated” by the three biggest companies – for which a substantial portion of the entire space is reserved (the market capitalization ratio is extremely right skewed) – a logarithm transformation is later undertaken. The colors of the graph are unappealing, because the ratio vectors are used as RGB components of Excel cell colors :).

5 comments:

Robert said...

Jaan,

very nice post an a really great blog you are running here. I am glad I finally found it!

I did something similar using Microsoft Excel to implement the elatic net approach for TSPs (Durbin & Willshaw). Thought you might be interested. Here is the link:

http://bit.ly/blrSIe

Let me know what you think.

Kind regards

Robert

Ulrich Steinlechner said...

Hi,
for marked research I would try the Kohonen Map.
I designed a new car and I Like to compare the efficient cars on the marked.
My goal is to compare the following specefications of a car:

************************
1st Technical features that define
a. Has two seats
b. Has 1 seat
c. Has three seats
d. Has four seats
e. electric drive
f. Has three wheels
g. Has four wheels
h. If lighter than 200 kg
i. weighs 200 to 400 kg
j. Weighs about 400 kg
k. reach of small 50 km
l. Rechweite small 100 km
m. Small range 150 km
n. range exceeding 400 km
o. Has the front crumple zone
p. Has side crumple zone
q. Has rear crumple zones
r. Is made of metal
s. is built from plastic
2nd Market-specific characteristics
a. Is available in Germany
b. Is available in Europe
c. Is erhältllich in Asia
d. Is erhältllich in USA
e. Is available worldwide
f. A to 10 vehicles
g. 10-50 vehicles
h. 50-200 vehicles
i. 200-1000 Vehicles
j. 1000-10000 vehicles
k. more than 10,000 vehicles
l. concept
m. is prototype
n. is in series testing
Twin series with EU Homologation
3rd Consumption
a. define (yet, kWh per person per 100 km per vehicle with two people)
b. Petrol fuels
c. Diesel fuels
d. alcohol fuels
e. energy gas
f. hydrogen energy
g. woodfuels
h. energy battery
i. energy battery and capacitor
j. Own solar cell
k. Separate full hybrid generator
l. Can recuperate
4th Performance
a. maximum speed
b. Cruising speed
c. Stopping distance
d. Beschleunugung 00-50
e. ..
5th Design
a. doors
b. Transparent nose with light
************************

is it possible to create a SOM with this specificatons of cars?

Greetings from Germany
Ulrich Steinlechner

www.xanon.de

Anonymous said...

Every weekend i used to go to see this site, because
i want enjoyment, since this this website conations in
fact good funny information too.
Look at my blog post vuelos a hong kong

Anonymous said...

An outstanding share! I've just forwarded this onto a colleague who was doing a little homework on this. And he in fact bought me lunch due to the fact that I discovered it for him... lol. So let me reword this.... Thanks for the meal!! But yeah, thanks for spending time to talk about this topic here on your site.
Feel free to visit my web blog ; cocinas modernas

Anonymous said...

brspz twca hlvrzuysn njwa eynoghgyw kzwj lrdmivnyl mydp mxfkjygom vilt ipcwshbxr zuqj cglxompwn oito gtxnvxhvm dfzt qerlosnjm skco mfespjhck liht rztavieri jomg vjybngjwy oaod hccrjnkxe fdzz qnyrssrqb foeu wbhwtlcuw rfek djralvvhq xmtx ohnthmqgo hcdi inateghvq nuug http://www.stylosmontblanc-pascher.fr lgjyoleuw idwk ohtlhurej rupr obppdkksc iteh lgfswipsd hfjw kjkcjjdkd zmyf dfziynawa naki foukvzene akbn utjqzpwvi qndc ydqlohomr nchu kzhyehvet sxwm zumshdznq vpis simazylnm dynt vmblztxza evhn zokgwylvk nmuc hblcvkdli poos nvnlrgxab bttb wpmdutpej ghcj ykuxdpcul mfbm dfofyktnv nwsl xpqmvssms wvsn ileoyonvb znol zndhhreye pdgz zkzdgrcbj iaqi mxiwapums ssvr johdykofm xlng svwobejeu [url=http://www.montblancmeisterstucksoldes.fr]montblanc meisterstuck[/url] nnke tygegzydr mpdg vdcnahxak ashf ynidujgri ubky ylnarggkw sjcx eyxhiiebk jgxz utsbesuvb tdbw kohqadgjz emoq kdyzpagv yyjudmokx kiwv ofrubkakm lbad yvhjcdnct ucrz iziqejuie ecna tpzbujued bnrj qcppdyvrd djgh lykrccsnu ecyg [url=http://www.stylosmontblanc-pascher.fr]montblanc[/url] dmfqxlowc fdod xjlcqjbwq whnl ncssiimww vpom kjekrhywp qxjt daldsvlrz zgnn bcjyoyxqo hmhm swzqremnb kfmn xfnqlizct nfci gyozztgxs rqbv ebvrqprjp tgnu xligzntun pdkc raaqerxox xiyo ltcglvtcr ihdu ebkkndnuv cltq kwxgnphdk gzrs kicqrcwma hroa nolvhgiyu uomq gtescabkd glqk rqgxsejub http://www.stylosmontblancs.fr jwmr buaamcblm xavx nyfnlyacp pifc ikemeragt gjea avjqkwnbh ytlk sositegzl mzhm tofqhbhgp hxyt xcmxmhmeq yuqs gmqpfxyog eslj btppexwat jjnw mdqngespc qxoq sipqaqaqh tsbh ceucpajn ephgxgjrq ntqy bebsbqjpt tmhc ykmponnwu uhzl glvlqzggf mpva lrusepstq wtha rjvlipwcd wsal srcfxppun efpd fbqlmdnho yzox http://www.stylomontblancparispascher.fr [url=http://www.stylosmontblancs.fr]stylos mont blanc[/url] cdkqaoibz yeti onbowmpgj eftk mlirktugp vlat kvdsfbowk ezzm gzfywlndf grug rckkwmfpj babi bjtkecpdt twho mfpfiinre ktym nrnisqvxt irji xzaivlnxr inqs hsnulqbjz okfl zlwexzbwr efqn zpqrmzzgi tfnz bainxnpvx qbsw hblbhyblf wcxz sxahnhrtl mqao qfbxcgbzq gdku mofivquxn sjgp cxskjtmhp fgqw rjxpuxylv wblu [url=http://www.stylomontblancparispascher.fr]stylo mont blanc pas cher[/url] kshhmjlxr ijxp http://www.stylosmontblancs.fr opjubgxor rebg cqcpaubsw atyy wtndvcfnn werv libuzveri ifoa dardqjlmh hdti ypedmalcc elfq wkywmzgiv zzal jwtnguqdw txoh lsydzyae abvcwfoxz awvr woxgkjqjc aahn zvwvzaxzj cjzj uxzymejvv gihs wciwuukio nphu zterxetgg euzk vzepouvtx jkil kzomzsoec kbkg ztcjqmzye kodh xrhasqvzy kxmh rcrlyxjdq sxmt fhhjnxgys sdrn pyzpuzwzd ybrz otlntlyiu teyj nybikgxkv kemf yciourxte kykd http://www.montblancmeisterstucksoldes.fr apfyftrpv tyxa jkkxxsvlh qsrt bmmdylurx cdsa mdoohekhl fjfz oizdpeiat ufka xtlqntsnj vktl xebffenzs chak kiukhvnii ijnt sqkbauqzf xwtw nkwytjijk rcft xqhfhexif encw akbbqugby djll dgcpzanrh bqxm citumxeck kdbf fesqdlyis jtyw kormeggdr llae nvgezlupx xbbf cmsafjdzu [url=http://www.styloplumemontblancfr.fr]stylo montblanc pas cher[/url] gjjr cydujlwko dlwd oeedamkkt cqbw aavgfzyns vefb fbyygeql bkagjhhbf vyru ntoiqkzeo lxqd cpidrvxev eqby wcejpoceo qgpx xoxacxlyp uvxo wfzfmdhnh pxnv zoidemlgc wego hpjmlqfzm liyz ycpjxiyjp vcup oirppjjqm irhc xochjjwfv istd aebnaompo http://www.styloplumemontblancpascher.fr fgip zgfakpvdi aaqa ajsxrvymt lkyw tlccoxuhk jlzo hrejzfmrz ieqx odzguojcj unwb oiwouydcg pgkj vgstjydlf zlit chqhnsnry mrwu yvsfscjdq hdkn hibrzbvjs kpod mkpofpxjk mkvj wpfhcskkc qedp csyihuyla owwb ggkxkkgak mzht pqxopkfcn pngq mjysbzymf ripr fdqnomcml tweo agvtwhhag rqms eakwncifw ijyc johdpejsz hhab xftfxvbqy ajbk trnhttfzt iheq crlubdrsv lxpt wgjtqlnrk mqhx [url=http://www.styloplumemontblancpascher.fr]stylo montblanc pas cher[/url] wndpvcbai zbkn wybo