From 16367dab9248d3aa2660e0b5cafdce25e8f7067c Mon Sep 17 00:00:00 2001 From: Alexander Kabui Date: Tue, 15 Mar 2022 14:08:39 +0300 Subject: Feature/refactored pca (#79) * compute zscore function * test case for computing zscore * function to compute pca * generate scree plot data * generate new pca trait data from zscores and eigen_vec * remove redundant functions * generate factor loading table data * generate pca temp dataset dict * variable naming and error fixes * unit test for processing factor loadings * minor fixes for generating temp pca dataset * pass datetime as argument to generate_pca temp dataset function * add unittest for caching pca datasets * cache temp datasets * ignore missing imports for sklearn * mypy fixes * pylint fixes * refactor tests for pca * remove ununsed imports * fix for generating pca traits vals * mypy and code refactoring * pep8 formatting and add docstrings * remove comments /pep8 formatting * sort eigen vectors based on eigen values * minor fix for zscores * fix for rounding variance ratios * refactor tests * rename module to pca * rename datasets to traits * fix failing tests * fix caching function * fixes return x and y coordinates for scree plot * expand exception scope * fix for deprecated numpy.matrix function * fix for failing tests * pep8 fixes * remove comments * fix merge conflict * pylint fixes * rename module name to test_pca--- mypy.ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'mypy.ini') diff --git a/mypy.ini b/mypy.ini index 9efa803..7497c17 100644 --- a/mypy.ini +++ b/mypy.ini @@ -34,4 +34,7 @@ ignore_missing_imports = True ignore_missing_imports = True [mypy-pytest.*] +ignore_missing_imports = True + +[mypy-sklearn.*] ignore_missing_imports = True \ No newline at end of file -- cgit v1.2.3