Linear Classification Algorithm