Tag Archives: matlab

MATLAB: Sliding window – easy and painless

When doing advanced stuff such as image processing, it is very wasteful to re-invent a wheel. ┬áThis time this is about a very common operation as a sliding window operation. Imagine that we have an image I and a small … Continue reading

Posted in Uncategorized | Tagged , , , , | 1 Comment

MATLAB: Simple TF-IDF implementation

Term-Frequency word weighting scheme [WWW] is one of most used in normalization of document-term matrices in text mining and information retrieval. This down-weights the very frequent or called stop-words. The idea is that stop-words are very often non-informative e.g. “and”, … Continue reading

Posted in Uncategorized | Tagged , , , , , | 1 Comment

MATLAB: Random Forest classifier

I knew it. One day my nice metric and continuous data approaches are no more valid for classification/regression. This typically occurs when some categorical data (e.g. ‘yes/no’, ‘small/medium/large’) comes in. What about also missing attributes? What if final decision can … Continue reading

Posted in Uncategorized | Tagged , , | Leave a comment