Learning opinions by observing actions