Skip to content

General methods for machine learning for digital biomarker discovery.

Notifications You must be signed in to change notification settings

MuhangTian/Model-Development

 
 

Repository files navigation

Stats Models

T-Test Tutorial

  1. User get array (or numpy array) of data from pre-processed module, then pass into t_test() class, t_test() can have either 1 data or 2 data. For instance, t_test(data1) and t_test(data1, data2) both works depending on whether user want to test one sample or two samples
  2. Call functions on t_test() class to get desired values
# For one sample t-test, call below function to get t-test statistic based on a population mean that user wants to test
t_test(data1).one_sample_t_test(mean, 'two-sided')      # For two-sided test
t_test(data1).one_sample_t_test(mean, 'less')           # For one-sided, less than
t_test(data1).one_sample_t_test(mean, 'greater')        # For one-sided, greater than 

# For two sample t-test, call below function to get t-test statistic based on side of the test
t_test(data1, data2).two_sample_t_test('two-sided')     # For two-sided test
t_test(data1, data2).two_sample_t_test('less')          # For one-sided, less than
t_test(data1, data2).two_sample_t_test('greater')       # For one-sided, greater than

# For paired sample t-test, simply call below function to get t-test statistic
t_test(data1, data2).paired_sample_t_test()

ML Models

ml_regression.py: contain 5 most popular machine learning regression functions, implemented using scikit-learn standard library

unsupervised_clustering.py: contain most popular unsupervised learning clustering functions, implemented using scikit-learn standard library

DL Models

About

General methods for machine learning for digital biomarker discovery.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 69.2%
  • Jupyter Notebook 30.8%