Karnel discriminated analysis