Wednesday, February 18, 2015

Pokemon auto player for TAS

Hey,
I have uploaded some old script for automatically catching pokemons on pokemon yellow using gameboy advance emulator.

This script: 
1) uses autoit v3 
2) to play pokemon yellow 
3) on gameboy advance 
4) it can calculate max stat and stat at any level (using equations from bulbapedia or serebii, i cant remember from where). 
5) return the stat of a caught pokemon using "ocr" 
6) return the name and level of a seen pokemon. 
7) i am positivly willing to add any more needed functions or support more emulators if required by the community.

See the code here:

Sunday, April 28, 2013

SMT - Statistical Machine Translation

Hi,
I added here a presentation I made about statistical machine translation last year. I found this helpful while implementing the models.

Monday, May 7, 2012

PelegLib

Hi,
I decided to implement some Computational Geometry I learn. This topic interests me.

This is the rep:

enjoy

Thursday, April 12, 2012

Python wrapper for WEBM library

Hi all,
Here a wrapper to the WEBM format codec. I found the source code for WEBM encoding and decoding  in the internet (dont really remember where), I took the compiled lib and the headers and compiled it into a dll (created vpxmt.dll from vpxmt.lib).
Then, I used gccxml (compiled in my cygwin env) and some changed python files from ctypes.wrap to import the library to python.
It requires python only (I tested it on python 2.7). The rest of the things are in the source control.

Ofir.

Saturday, January 14, 2012

Optimization for Decision Tree

Hi,
I noticed that when using Decision Trees to learn about some training examples, and there are 2 examples with same attributes but different classification, we can improve the performance of the tree creation.
Actually, when we are using the regular algorithm (with gain calculations) we get gain equals to zero. The regular algorithm doesn't check if the gain is zero, so the tree is fully opened until there are no attributes left, and we have our 2 examples with different classification.  
My suggestion is to stop developing the tree if we reach gain = 0, and return a node with the default value (most common classification in the given examples of the current level).

Ofir.

Monday, April 18, 2011