### Gravatar

#### Gerhard Hagerer

I am a Computer Science Master. Be careful, I talk binary.

### StackOverflow

### Categories

### Archives

### Tags

### My Social Bookmarks

- An error has occurred; the feed is probably down. Try again later.

# Tag Archives: code

## Python: Get Indices of List Elements According to Filter Condition

Python (without additional libraries or toolkits like numpy) is still lacking a convenient method to access indices of list elements according to a manually defined filter. We know this functionality from Matlab or numpy. This function makes these toolkits very … Continue reading

## Refreshing lists via drag/pull gesture in Android

From modern Android apps we know the ability to refresh list contents by pulling a list downwards so far until a refresh animation on the top of the list appears: Actually I found that tutorials how to implement this tend … Continue reading

## Matlab Solution for a simple constrained optimization problem

Recently I worked on a homework regarding an easy constrained optimization problem. The problems were stated as follows: I solved it by using a quite simple straight forward matlab code. Due to many comments in it I won’t explain it … Continue reading

## Perceptron Learning Algorithm implemented

Here is a Matlab implementation of a Perceptron learning algorithm I had to do as homework for my Machine Learning lecture recently. It takes a training dataset x=[x1,y1,x2,y2,…] plus according labels z=[z1,z2,…], whereby zi=+1 or -1. The routine yields [w,b], … Continue reading