A network intrusion detection algorithm based on normalized cut spectralclustering