Skip to content

WGLab/Integer_divsibility

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Integer_divsibility

This page contains three files, including Int_div_mod2, Int_div_mod3 and Fourier_series_regression, which are the code for the paper "Classification of integers based on residue classes via modern deep learning algorithms". All these three scripts incorporate data generation processes.

In particular, the "Int_div_mod2" and "Int_div_mod3" scripts outline a comprehensive examination of diverse deep learning architectures following distinct approaches to feature engineering. The outcome of this experimentation yielded results that were not only instinctive but also easily comprehensible. For a more in-depth analysis, we encourage readers to refer to the dedicated "Results" and "Discussion" sections in paper. Furthermore, for those inclined, our code can be readily modified and employed for personalized testing and exploration. This flexibility allows interested individuals to tailor the code to their specific requirements and objectives.

Furthermore, the paper incorporates a comprehensive exploration of the Fourier series regression method using ordinary least squares (OLS). This technique is extensively elucidated in Section 4.4 of the paper. The script "Fourier_series_regression" provides comprehensive implementations, and it can be easily modified for interested readers to explore different mod p classification problems.

Int_div_mod2

This python script contains all the testings of deep neual networks on mod 2 problem, including all the feature engineering listed in Table (1)(a) with the same order.

Int_div_mod3

This python script contains all the testings of deep neural networks on mod 3 problem, including all the feature engineering listed in Table (1)(b) with the same order.

Fourier_series_regression

This python script contains the implementation of Fourier series regression on mod 3 and mod 7 problems describled in Section 4.4.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published