Infinite mixture model demo with adaptation  mechanism