Sequential pattern mining with uncertain data