Coverage report: 42%

Files Functions Classes

coverage.py v7.6.1, created at 2024-08-13 22:17 +0000

File statements missing excluded coverage
src/__init__.py 0 0 0 100%
src/sensai/__init__.py 17 0 0 100%
src/sensai/catboost.py 44 44 0 0%
src/sensai/clustering/__init__.py 3 0 0 100%
src/sensai/clustering/clustering_base.py 110 72 0 35%
src/sensai/clustering/greedy_clustering.py 112 78 0 30%
src/sensai/clustering/sklearn_clustering.py 15 5 0 67%
src/sensai/columngen.py 78 52 0 33%
src/sensai/data/__init__.py 3 0 0 100%
src/sensai/data/dataset.py 37 10 0 73%
src/sensai/data/io_data.py 173 74 0 57%
src/sensai/data_transformation/__init__.py 3 0 0 100%
src/sensai/data_transformation/dft.py 569 224 0 61%
src/sensai/data_transformation/sklearn_transformer.py 49 18 0 63%
src/sensai/data_transformation/value_transformation.py 19 13 0 32%
src/sensai/distance_metric.py 171 109 0 36%
src/sensai/ensemble/__init__.py 1 0 0 100%
src/sensai/ensemble/ensemble_base.py 52 33 0 37%
src/sensai/ensemble/models.py 24 16 0 33%
src/sensai/evaluation/__init__.py 6 0 0 100%
src/sensai/evaluation/crossval.py 156 94 0 40%
src/sensai/evaluation/eval_stats/__init__.py 3 0 0 100%
src/sensai/evaluation/eval_stats/eval_stats_base.py 196 95 0 52%
src/sensai/evaluation/eval_stats/eval_stats_classification.py 404 249 0 38%
src/sensai/evaluation/eval_stats/eval_stats_clustering.py 130 57 0 56%
src/sensai/evaluation/eval_stats/eval_stats_regression.py 182 77 0 58%
src/sensai/evaluation/eval_util.py 534 424 0 21%
src/sensai/evaluation/evaluator.py 243 84 0 65%
src/sensai/evaluation/evaluator_clustering.py 36 36 0 0%
src/sensai/evaluation/metric_computation.py 37 37 0 0%
src/sensai/feature_importance.py 139 93 0 33%
src/sensai/featuregen/__init__.py 2 0 0 100%
src/sensai/featuregen/feature_generator.py 416 161 0 61%
src/sensai/featuregen/feature_generator_registry.py 68 9 0 87%
src/sensai/geoanalytics/__init__.py 0 0 0 100%
src/sensai/geoanalytics/_globalmaptiles.py 90 90 0 0%
src/sensai/geoanalytics/geo_clustering.py 163 163 0 0%
src/sensai/geoanalytics/geo_coords.py 111 111 0 0%
src/sensai/geoanalytics/geopandas/__init__.py 1 0 0 100%
src/sensai/geoanalytics/geopandas/coordinate_clustering.py 70 38 0 46%
src/sensai/geoanalytics/geopandas/coordinate_clustering_ground_truth.py 58 45 0 22%
src/sensai/geoanalytics/geopandas/coordinates.py 28 15 0 46%
src/sensai/geoanalytics/geopandas/geometry.py 36 25 0 31%
src/sensai/geoanalytics/geopandas/graph.py 46 26 0 43%
src/sensai/geoanalytics/local_coords.py 104 104 0 0%
src/sensai/geoanalytics/map_tiles.py 41 41 0 0%
src/sensai/hyperopt.py 295 227 0 23%
src/sensai/lightgbm.py 47 47 0 0%
src/sensai/local_search.py 384 278 0 28%
src/sensai/minizinc.py 102 102 0 0%
src/sensai/multi_model.py 17 17 0 0%
src/sensai/naive_bayes.py 53 42 0 21%
src/sensai/nearest_neighbors.py 249 176 0 29%
src/sensai/normalisation.py 54 15 0 72%
src/sensai/pytorch_lightning/__init__.py 1 1 0 0%
src/sensai/pytorch_lightning/pl_models.py 61 61 0 0%
src/sensai/sklearn/__init__.py 2 0 0 100%
src/sensai/sklearn/sklearn_base.py 218 61 0 72%
src/sensai/sklearn/sklearn_classification.py 35 7 0 80%
src/sensai/sklearn/sklearn_regression.py 55 11 0 80%
src/sensai/sklearn_quantile.py 69 69 0 0%
src/sensai/tensor_model.py 175 118 0 33%
src/sensai/tensorflow/__init__.py 2 0 0 100%
src/sensai/tensorflow/tf_base.py 76 53 0 30%
src/sensai/tensorflow/tf_mlp.py 19 12 0 37%
src/sensai/torch/__init__.py 5 0 0 100%
src/sensai/torch/torch_base.py 452 134 0 70%
src/sensai/torch/torch_data.py 386 128 0 67%
src/sensai/torch/torch_enums.py 57 17 0 70%
src/sensai/torch/torch_eval_util.py 19 19 0 0%
src/sensai/torch/torch_models/__init__.py 3 0 0 100%
src/sensai/torch/torch_models/lstnet/lstnet_models.py 102 73 0 28%
src/sensai/torch/torch_models/lstnet/lstnet_modules.py 108 85 0 21%
src/sensai/torch/torch_models/mlp/mlp_models.py 42 0 0 100%
src/sensai/torch/torch_models/mlp/mlp_modules.py 34 3 0 91%
src/sensai/torch/torch_models/residualffn/residualffn_models.py 27 0 0 100%
src/sensai/torch/torch_models/residualffn/residualffn_modules.py 84 15 0 82%
src/sensai/torch/torch_modules.py 6 0 0 100%
src/sensai/torch/torch_opt.py 571 114 0 80%
src/sensai/torch/torchtext.py 51 51 0 0%
src/sensai/tracking/__init__.py 1 0 0 100%
src/sensai/tracking/azure_tracking.py 29 29 0 0%
src/sensai/tracking/clearml_tracking.py 36 36 0 0%
src/sensai/tracking/mlflow_tracking.py 57 57 0 0%
src/sensai/tracking/tracking_base.py 107 38 0 64%
src/sensai/util/__init__.py 11 0 0 100%
src/sensai/util/aggregation.py 48 27 0 44%
src/sensai/util/cache.py 435 320 0 26%
src/sensai/util/cache_azure.py 407 407 0 0%
src/sensai/util/cache_mysql.py 70 53 0 24%
src/sensai/util/datastruct.py 216 46 0 79%
src/sensai/util/deprecation.py 16 2 0 88%
src/sensai/util/dtype.py 20 7 0 65%
src/sensai/util/hash.py 15 10 0 33%
src/sensai/util/helper.py 28 5 0 82%
src/sensai/util/io.py 130 96 0 26%
src/sensai/util/jscode.py 98 98 0 0%
src/sensai/util/logging.py 185 113 0 39%
src/sensai/util/math.py 25 25 0 0%
src/sensai/util/multiprocessing.py 36 20 0 44%
src/sensai/util/pandas.py 49 21 0 57%
src/sensai/util/pickle.py 143 96 0 33%
src/sensai/util/plot.py 189 145 0 23%
src/sensai/util/profiling.py 34 24 0 29%
src/sensai/util/sequences.py 92 32 0 65%
src/sensai/util/string.py 215 86 0 60%
src/sensai/util/test.py 28 28 0 0%
src/sensai/util/time.py 41 27 0 34%
src/sensai/util/typing.py 3 0 0 100%
src/sensai/util/version.py 21 9 0 57%
src/sensai/vector_model.py 366 85 0 77%
src/sensai/vectoriser.py 204 204 0 0%
src/sensai/xgboost.py 27 27 0 0%
Total 12023 6931 0 42%

No items found using the specified filter.