The use of intelligent algorithms for n- \(\gamma \) discrimination is currently a new research direction. In this paper, the Improved FGA-LDA algorithm is proposed by combining traditional discrimination method with machine learning. Firstly, this paper improves the traditional frequency gradient analysis (FGA) method and defines a brand new discrimination factor. Secondly, this paper combines the Improved FGA method with Linear Discriminant Analysis (LDA) algorithm to realize intelligent n- \(\gamma \) discrimination. This method utilizes the LDA algorithm to realize feature projection, which can retain the effective information while reducing the feature dimension and improve the classification performance. In order to verify the superiority of the proposed algorithm, two different radioisotope neutron sources(241Am-Be and 252Cf) and a pure gamma source (137Cs) are used to validate the proposed algorithm. Throughout the energy domain, the Improved FGA-LDA algorithm has figure of merit (FOM) values of 1.033 and 1.200 for the 241Am-Be and 252Cf neutron source datasets, respectively, demonstrating that it is able to effectively discriminate between neutrons and gamma rays. In the high-energy domain ( \(E_{p}\) \(\ge \) 50 keV), the Improved FGA-LDA algorithm improves its FOM value from 1.364 to 1.807 for the 241Am-Be dataset, and from 1.534 to 1.820 for the 252Cf dataset. In the case of using mixed data, the discrimination effect of Improved FGA-LDA algorithm is excellent. The experimental results show that the Improved FGA-LDA algorithm has a better discrimination effect and at the same time can be applied to different mixed neutron and gamma radiation fields.