In philosophy , empiricism is a theory which believes that all knowledge comes from experience . In philosophy , empiricism is a theory of knowledge which asserts that knowledge comes via sensory experience .