A Neural-Based Approach to Determine Ambiguity Groups in Electrical Systems