Implement R.Layne's approach to do attribute classification