scikit-learn / scikit-learn

Compare 5623288 ... +0 ... 442593a

Coverage Reach
linear_model/tests/test_logistic.py linear_model/tests/test_sgd.py linear_model/tests/test_ridge.py linear_model/tests/test_coordinate_descent.py linear_model/tests/test_sag.py linear_model/tests/test_least_angle.py linear_model/tests/test_base.py linear_model/tests/test_ransac.py linear_model/tests/test_sparse_coordinate_descent.py linear_model/tests/test_theil_sen.py linear_model/tests/test_passive_aggressive.py linear_model/tests/test_omp.py linear_model/tests/test_huber.py linear_model/tests/test_bayes.py linear_model/tests/test_perceptron.py linear_model/logistic.py linear_model/ridge.py linear_model/coordinate_descent.py linear_model/stochastic_gradient.py linear_model/least_angle.py linear_model/omp.py linear_model/base.py linear_model/bayes.py linear_model/ransac.py linear_model/theil_sen.py linear_model/huber.py linear_model/sag.py linear_model/passive_aggressive.py linear_model/setup.py linear_model/__init__.py linear_model/perceptron.py utils/tests/test_validation.py utils/tests/test_extmath.py utils/tests/test_sparsefuncs.py utils/tests/test_estimator_checks.py utils/tests/test_testing.py utils/tests/test_pprint.py utils/tests/test_utils.py utils/tests/test_multiclass.py utils/tests/test_class_weight.py utils/tests/test_cython_blas.py utils/tests/test_seq_dataset.py utils/tests/test_random.py utils/tests/test_shortest_path.py utils/tests/test_murmurhash.py utils/tests/test_fixes.py utils/tests/test_metaestimators.py utils/tests/test_deprecation.py utils/tests/test_show_versions.py utils/tests/test_fast_dict.py utils/tests/test_linear_assignment.py utils/tests/test_optimize.py utils/estimator_checks.py utils/testing.py utils/validation.py utils/_pprint.py utils/sparsefuncs.py utils/extmath.py utils/__init__.py utils/multiclass.py utils/fixes.py utils/linear_assignment_.py utils/metaestimators.py utils/_unittest_backport.py utils/optimize.py utils/class_weight.py utils/deprecation.py utils/mocking.py utils/_show_versions.py utils/random.py utils/setup.py utils/graph.py utils/_joblib.py utils/stats.py ensemble/tests/test_gradient_boosting.py ensemble/tests/test_forest.py ensemble/tests/test_bagging.py ensemble/tests/test_voting.py ensemble/tests/test_weight_boosting.py ensemble/tests/test_iforest.py ensemble/tests/test_gradient_boosting_loss_functions.py ensemble/tests/test_partial_dependence.py ensemble/tests/test_base.py ensemble/gradient_boosting.py ensemble/_hist_gradient_boosting/gradient_boosting.py ensemble/_hist_gradient_boosting/grower.py ensemble/_hist_gradient_boosting/loss.py ensemble/_hist_gradient_boosting/binning.py ensemble/_hist_gradient_boosting/predictor.py ensemble/forest.py ensemble/weight_boosting.py ensemble/bagging.py ensemble/_gb_losses.py ensemble/partial_dependence.py ensemble/iforest.py ensemble/voting.py ensemble/base.py ensemble/__init__.py ensemble/setup.py metrics/tests/test_classification.py metrics/tests/test_ranking.py metrics/tests/test_pairwise.py metrics/tests/test_common.py metrics/tests/test_score_objects.py metrics/tests/test_regression.py metrics/cluster/tests/test_supervised.py metrics/cluster/tests/test_unsupervised.py metrics/cluster/tests/test_common.py metrics/cluster/tests/test_bicluster.py metrics/cluster/supervised.py metrics/cluster/unsupervised.py metrics/cluster/bicluster.py metrics/cluster/__init__.py metrics/cluster/setup.py metrics/classification.py metrics/pairwise.py metrics/ranking.py metrics/scorer.py metrics/regression.py metrics/__init__.py metrics/base.py metrics/setup.py preprocessing/tests/test_data.py preprocessing/tests/test_encoders.py preprocessing/tests/test_label.py preprocessing/tests/test_imputation.py preprocessing/tests/test_discretization.py preprocessing/tests/test_common.py preprocessing/tests/test_function_transformer.py preprocessing/tests/test_base.py preprocessing/data.py preprocessing/_encoders.py preprocessing/label.py preprocessing/imputation.py preprocessing/_discretization.py preprocessing/_function_transformer.py preprocessing/base.py preprocessing/__init__.py preprocessing/setup.py tests/test_pipeline.py tests/test_impute.py tests/test_multiclass.py tests/test_dummy.py tests/test_naive_bayes.py tests/test_multioutput.py tests/test_base.py tests/test_isotonic.py tests/test_discriminant_analysis.py tests/test_calibration.py tests/test_random_projection.py tests/test_kernel_approximation.py tests/test_common.py tests/test_metaestimators.py tests/test_docstring_parameters.py tests/test_kernel_ridge.py tests/test_config.py tests/test_init.py tests/test_site_joblib.py tests/test_check_build.py model_selection/tests/test_validation.py model_selection/tests/test_search.py model_selection/tests/test_split.py model_selection/tests/common.py model_selection/_split.py model_selection/_validation.py model_selection/_search.py model_selection/__init__.py decomposition/tests/test_pca.py decomposition/tests/test_nmf.py decomposition/tests/test_dict_learning.py decomposition/tests/test_online_lda.py decomposition/tests/test_incremental_pca.py decomposition/tests/test_fastica.py decomposition/tests/test_sparse_pca.py decomposition/tests/test_kernel_pca.py decomposition/tests/test_truncated_svd.py decomposition/tests/test_factor_analysis.py decomposition/nmf.py decomposition/dict_learning.py decomposition/online_lda.py decomposition/fastica_.py decomposition/pca.py decomposition/factor_analysis.py decomposition/kernel_pca.py decomposition/sparse_pca.py decomposition/incremental_pca.py decomposition/truncated_svd.py decomposition/base.py decomposition/setup.py decomposition/__init__.py cluster/tests/test_k_means.py cluster/tests/test_hierarchical.py cluster/tests/test_dbscan.py cluster/tests/test_bicluster.py cluster/tests/test_optics.py cluster/tests/test_spectral.py cluster/tests/test_birch.py cluster/tests/test_affinity_propagation.py cluster/tests/test_mean_shift.py cluster/tests/test_feature_agglomeration.py cluster/tests/common.py cluster/k_means_.py cluster/hierarchical.py cluster/birch.py cluster/bicluster.py cluster/affinity_propagation_.py cluster/mean_shift_.py cluster/spectral.py cluster/optics_.py cluster/dbscan_.py cluster/_feature_agglomeration.py cluster/setup.py cluster/__init__.py datasets/tests/test_openml.py datasets/tests/test_svmlight_format.py datasets/tests/test_samples_generator.py datasets/tests/test_base.py datasets/tests/test_lfw.py datasets/tests/test_mldata.py datasets/tests/test_20news.py datasets/tests/test_rcv1.py datasets/tests/test_kddcup99.py datasets/tests/test_covtype.py datasets/tests/test_california_housing.py datasets/tests/test_common.py datasets/samples_generator.py datasets/openml.py datasets/base.py datasets/twenty_newsgroups.py datasets/lfw.py datasets/svmlight_format.py datasets/rcv1.py datasets/kddcup99.py datasets/mldata.py datasets/species_distributions.py datasets/covtype.py datasets/__init__.py datasets/california_housing.py datasets/olivetti_faces.py datasets/setup.py neighbors/tests/test_neighbors.py neighbors/tests/test_nca.py neighbors/tests/test_ball_tree.py neighbors/tests/test_kd_tree.py neighbors/tests/test_kde.py neighbors/tests/test_lof.py neighbors/tests/test_dist_metrics.py neighbors/tests/test_nearest_centroid.py neighbors/tests/test_quad_tree.py neighbors/base.py neighbors/nca.py neighbors/classification.py neighbors/kde.py neighbors/lof.py neighbors/nearest_centroid.py neighbors/regression.py neighbors/graph.py neighbors/setup.py neighbors/__init__.py neighbors/unsupervised.py tree/tests/test_tree.py tree/tests/test_export.py tree/tests/test_reingold_tilford.py tree/export.py tree/tree.py tree/_reingold_tilford.py tree/setup.py tree/__init__.py feature_extraction/tests/test_text.py feature_extraction/tests/test_image.py feature_extraction/tests/test_feature_hasher.py feature_extraction/tests/test_dict_vectorizer.py feature_extraction/text.py feature_extraction/image.py feature_extraction/dict_vectorizer.py feature_extraction/hashing.py feature_extraction/setup.py feature_extraction/__init__.py feature_extraction/stop_words.py feature_selection/tests/test_feature_select.py feature_selection/tests/test_rfe.py feature_selection/tests/test_from_model.py feature_selection/tests/test_mutual_info.py feature_selection/tests/test_base.py feature_selection/tests/test_chi2.py feature_selection/tests/test_variance_threshold.py feature_selection/univariate_selection.py feature_selection/rfe.py feature_selection/mutual_info_.py feature_selection/from_model.py feature_selection/base.py feature_selection/variance_threshold.py feature_selection/__init__.py manifold/tests/test_t_sne.py manifold/tests/test_spectral_embedding.py manifold/tests/test_locally_linear.py manifold/tests/test_isomap.py manifold/tests/test_mds.py manifold/t_sne.py manifold/locally_linear.py manifold/spectral_embedding_.py manifold/mds.py manifold/isomap.py manifold/setup.py manifold/__init__.py gaussian_process/kernels.py gaussian_process/tests/test_gpr.py gaussian_process/tests/test_kernels.py gaussian_process/tests/test_gpc.py gaussian_process/gpc.py gaussian_process/gpr.py gaussian_process/correlation_models.py gaussian_process/regression_models.py gaussian_process/__init__.py mixture/tests/test_gaussian_mixture.py mixture/tests/test_bayesian_mixture.py mixture/tests/test_mixture.py mixture/gaussian_mixture.py mixture/base.py mixture/bayesian_mixture.py mixture/__init__.py svm/tests/test_svm.py svm/tests/test_sparse.py svm/tests/test_bounds.py svm/base.py svm/classes.py svm/setup.py svm/bounds.py svm/__init__.py neural_network/tests/test_mlp.py neural_network/tests/test_rbm.py neural_network/tests/test_stochastic_optimizers.py neural_network/multilayer_perceptron.py neural_network/rbm.py neural_network/_stochastic_optimizers.py neural_network/_base.py neural_network/__init__.py covariance/tests/test_covariance.py covariance/tests/test_graphical_lasso.py covariance/tests/test_graph_lasso.py covariance/tests/test_robust_covariance.py covariance/tests/test_elliptic_envelope.py covariance/graph_lasso_.py covariance/robust_covariance.py covariance/shrunk_covariance_.py covariance/empirical_covariance_.py covariance/elliptic_envelope.py covariance/__init__.py compose/tests/test_column_transformer.py compose/tests/test_target.py compose/_column_transformer.py compose/_target.py compose/__init__.py impute.py cross_decomposition/pls_.py cross_decomposition/tests/test_pls.py cross_decomposition/cca_.py cross_decomposition/__init__.py naive_bayes.py pipeline.py multiclass.py discriminant_analysis.py semi_supervised/label_propagation.py semi_supervised/tests/test_label_propagation.py semi_supervised/__init__.py base.py multioutput.py dummy.py calibration.py kernel_approximation.py isotonic.py _build_utils/openmp_helpers.py _build_utils/__init__.py random_projection.py setup.py kernel_ridge.py __init__.py __check_build/__init__.py __check_build/setup.py _config.py experimental/tests/test_enable_hist_gradient_boosting.py experimental/enable_hist_gradient_boosting.py exceptions.py

No flags found

Use flags to group coverage reports by test type, project and/or folders.
Then setup custom commit statuses and notifications for each flag.

e.g., #unittest #integration

#production #enterprise

#frontend #backend

Learn more about Codecov Flags here.

Showing 1 of 1 files from the diff.

@@ -992,23 +992,14 @@
Loading
992 992
    timeout : int
993 993
        Time in seconds before timeout.
994 994
    """
995 -
    def _make_cwd_env():
996 -
        """Helper to prepare environment for the child processes"""
997 -
        sklearn_repo_folder = op.normpath(
998 -
            op.join(op.dirname(__file__), '../..'))
999 -
        env = os.environ.copy()
1000 -
        pythonpath = "{src}{sep}tests{pathsep}{src}".format(
1001 -
            src=sklearn_repo_folder, sep=os.sep, pathsep=os.pathsep)
1002 -
        env['PYTHONPATH'] = pythonpath
1003 -
        return sklearn_repo_folder, env
1004 -
1005 995
    fd, source_file = tempfile.mkstemp(suffix='_src_test_sklearn.py')
1006 996
    os.close(fd)
1007 997
    try:
1008 998
        with open(source_file, 'wb') as f:
1009 999
            f.write(source_code.encode('utf-8'))
1010 1000
        cmd = [sys.executable, source_file]
1011 -
        cwd, env = _make_cwd_env()
1001 +
        cwd = op.normpath(op.join(op.dirname(sklearn.__file__), '..'))
1002 +
        env = os.environ.copy()
1012 1003
        kwargs = {
1013 1004
            'cwd': cwd,
1014 1005
            'stderr': STDOUT,

Everything is accounted for!

No changes detected that need to be reviewed.
What changes does Codecov check for?
Lines, not adjusted in diff, that have changed coverage data.
Files that introduced coverage data that had none before.
Files that have missing coverage data that once were tracked.

2 Commits

Files Coverage
sklearn -<.01% 95.68%
Project Totals (383 files) 95.68%
Loading