Example Based Feature Extraction Algorithm