classify samples