Effective weight function in graphs-based discriminant neighborhood embedding