• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

jakirkham / dask-distance
100%
master: 100%

Build:
Build:
LAST BUILD BRANCH: fix_license_typo
DEFAULT BRANCH: master
Repo Added 24 Sep 2017 03:15AM UTC
Files 5
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

LAST BUILD ON BRANCH temp
branch: temp
CHANGE BRANCH
x
Reset
  • temp
  • add__atleast_2d
  • add__bool_dist
  • add__concatenate
  • add__pycompat
  • add_accumulate
  • add_atop_ravel
  • add_bool_dist
  • add_bool_dist_title
  • add_braycurtis
  • add_canberra
  • add_cdist
  • add_chebyshev
  • add_cityblock
  • add_compat
  • add_correlation
  • add_cosine
  • add_dice
  • add_euclidean
  • add_hamming
  • add_izip
  • add_jaccard
  • add_kulsinski
  • add_mahalanobis
  • add_minkowski
  • add_pdist
  • add_rogerstanimoto
  • add_russellrao
  • add_seuclidean
  • add_sokalmichener
  • add_sokalsneath
  • add_sqeuclidean
  • add_squareform
  • add_wminkowski
  • add_yule
  • adj_cdist_asarray
  • adj_hamming
  • adj_hamming_sum
  • broadcast_uv_wrapper
  • ci_run_flake8
  • cmp_many_bool_arrays
  • comb_bool_cmp
  • cond_def_pdist_kwargs
  • d_zeros_array_squareform
  • dist_more_metrics
  • dist_use_kwargs
  • dists_doc_more_kwargs
  • drop_broadcast_repeat
  • drop_cdist_fin_rchk
  • drop_dask_ver_chck
  • drop_dice_docs_dot
  • enforce_1d_bool_arrs
  • fix_euclidean_doc
  • fix_license_typo
  • fix_mahalanobis_doc_typo
  • fix_pdist_bug
  • fix_pdist_metric_def
  • fix_ravel_chks
  • fix_seuclidean_equ
  • fix_utils_tst_name
  • flake8_fixes
  • master
  • opt_dist_ident
  • opt_gen_pdist_diag
  • opt_gen_pdist_diag_2
  • opt_gen_pdist_diag_recrsv
  • opt_pdist_diag
  • opt_squareform
  • pdist_doc_more_kwargs
  • pdist_grp_cdist_comps
  • pdist_knwn_shape
  • pdist_norm_arr
  • pdist_store_mask
  • pdist_use_pycompat_range
  • ravel_no_concat
  • rchk_lst_z_squareform
  • ref_broadcast_uv
  • ref_math_expr
  • rename_uv_mtx
  • req_numpy_dask
  • req_scipy_tsts
  • rfrsh_dim_check
  • simp_cdist_apply
  • sp_case_ravel
  • sty_fix__cdist_apply
  • support_1pt_pdist
  • tidy_formulae
  • tst_2d_more_shapes
  • tst_cdist_shapes
  • tst_wrong_lengths
  • tsts_w_kw
  • tweak_cdist_conv
  • tweak_tst_comp
  • use_cookiecutter
  • use_mathjax_docs
  • use_minkowski_dist_mat
  • use_rel_imp
  • v0.1.0
  • v0.2.0
  • vendor_indices
  • wrap_braycurtis_doc

pending completion
539

push

travis-ci

jakirkham
Vectorize away for-loop in pdist internal

Eliminate the `for`-loop and condition checking with `pdist`'s wrapper
function. Instead make use of boolean arrays and `nonzero` to extract
the relevant indices to compute over. Also make use of NumPy's
`apply_along_axis` to replace the `for`-loop with a vectorized NumPy
operation. Speeds up computation a bit for the diagonal blocks where
many of pairs of coordinates do not need the metric computed.

324 of 324 relevant lines covered (100.0%)

3.98 hits per line

Relevant lines Covered
Build:
Build:
324 RELEVANT LINES 324 COVERED LINES
3.98 HITS PER LINE
Source Files on temp
Detailed source file information is not available for this build.

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
539 temp Vectorize away for-loop in pdist internal Eliminate the `for`-loop and condition checking with `pdist`'s wrapper function. Instead make use of boolean arrays and `nonzero` to extract the relevant indices to compute over. Also make use of NumPy's ... push 08 Oct 2017 08:04AM UTC jakirkham travis-ci pending completion  
538 temp Vectorize away for-loop in pdist internal Eliminate the `for`-loop and condition checking with `pdist`'s wrapper function. Instead make use of boolean arrays and `nonzero` to extract the relevant indices to compute over. Also make use of NumPy's ... push 08 Oct 2017 07:52AM UTC jakirkham travis-ci pending completion  
See All Builds (544)
  • Repo on GitHub
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc