v6-crosstab-py

Contingency table algorithm

https://github.com/vantage6/v6-crosstab-py

Science Score: 54.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
  • Academic publication links
    Links to: zenodo.org
  • Committers with academic emails
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (14.9%) to scientific vocabulary
Last synced: 7 months ago · JSON representation ·

Repository

Contingency table algorithm

Basic Info
  • Host: GitHub
  • Owner: vantage6
  • License: mit
  • Language: Python
  • Default Branch: main
  • Size: 10.1 MB
Statistics
  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • Open Issues: 4
  • Releases: 6
Created about 2 years ago · Last pushed over 1 year ago
Metadata Files
Readme License Citation

README.md


vantage6

[![Release](https://github.com/vantage6/vantage6/actions/workflows/release.yml/badge.svg)](https://github.com/vantage6/vantage6/actions/workflows/release.yml) [![Codacy Badge](https://app.codacy.com/project/badge/Grade/a22f3bcea6f545fc832fdb810bb825a5)](https://app.codacy.com/gh/vantage6/v6-crosstab-py/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade) [![DOI](https://zenodo.org/badge/779196318.svg)](https://zenodo.org/badge/latestdoi/779196318)

v6-crosstab-py

This algorithm creates a contingency table showing the relationship between two or more variables. The docker image is available at:

bash docker pull harbor2.vantage6.ai/algorithms/crosstab

It is designed to be run with the vantage6 infrastructure for distributed analysis and learning. The base code for this algorithm has been created via the v6-algorithm-template generator.

Documentation

The documentation is hosted here.

You can run the documentation locally by running:

bash cd docs pip install -r requirements.txt make livehtml

Docker image

The Docker image that contains this algorithm can be retrieved with:

docker pull harbor2.vantage6.ai/algorithms/crosstab

Dockerizing your algorithm

To finally run your algorithm on the vantage6 infrastructure, you need to create a Docker image of your algorithm.

Automatically

The easiest way to create a Docker image is to use the GitHub Actions pipeline to automatically build and push the Docker image. All that you need to do is push a commit to the main branch.

Manually

A Docker image can be created by executing the following command in the root of your algorithm directory:

bash docker build -t [my_docker_image_name] .

where you should provide a sensible value for the Docker image name. The docker build command will create a Docker image that contains your algorithm. You can create an additional tag for it by running

bash docker tag [my_docker_image_name] [another_image_name]

This way, you can e.g. do docker tag local_average_algorithm harbor2.vantage6.ai/algorithms/average to make the algorithm available on a remote Docker registry (in this case harbor2.vantage6.ai).

Finally, you need to push the image to the Docker registry. This can be done by running

bash docker push [my_docker_image_name]

Note that you need to be logged in to the Docker registry before you can push the image. You can do this by running docker login and providing your credentials. Check this page For more details on sharing images on Docker Hub. If you are using a different Docker registry, check the documentation of that registry and be sure that you have sufficient permissions.

Owner

  • Name: vantage6
  • Login: vantage6
  • Kind: organization
  • Email: vantage6@iknl.nl

Citation (CITATION.cff)

# This CITATION.cff file was generated with cffinit.
# Visit https://bit.ly/cffinit to generate yours today!

cff-version: 1.2.0
title: vantage6 contingency table algorithm
message: >-
  If you use this software, please cite it using the
  metadata from this file.
type: software
authors:
  - given-names: Bart
    family-names: Beusekom
    name-particle: van
    email: b.vanbeusekom@iknl.nl
    affiliation: IKNL
    orcid: 'https://orcid.org/0000-0002-2183-2901'
  - given-names: Frank
    family-names: Martin
    email: f.martin@iknl.nl
    affiliation: IKNL
    orcid: 'https://orcid.org/0000-0002-5897-1569'
  - given-names: Hasan
    family-names: Alradhi
    email: h.alradhi@iknl.nl
    affiliation: IKNL
    orcid: 'https://orcid.org/0000-0001-7887-3926'
identifiers:
  - type: doi
    value: https://zenodo.org/badge/latestdoi/779196318
    description: DOI of the code published on zenodo
repository-code: 'https://github.com/vantage6/v6-crosstab-py'
url: 'https://vantage6.ai/'
abstract: >+
  An algorithm that calculates a contingency table for a given dataset.

keywords:
  - crosstable
  - contingency table
  - data analysis
  - vantage6
  - privacy enhancing technology
  - personal health train
license: MIT

GitHub Events

Total
  • Delete event: 1
  • Pull request event: 1
  • Create event: 1
Last Year
  • Delete event: 1
  • Pull request event: 1
  • Create event: 1

Committers

Last synced: about 1 year ago

All Time
  • Total Commits: 35
  • Total Committers: 1
  • Avg Commits per committer: 35.0
  • Development Distribution Score (DDS): 0.0
Past Year
  • Commits: 35
  • Committers: 1
  • Avg Commits per committer: 35.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Bart van Beusekom b****m@i****l 35
Committer Domains (Top 20 + Academic)
iknl.nl: 1

Issues and Pull Requests

Last synced: 11 months ago

All Time
  • Total issues: 6
  • Total pull requests: 4
  • Average time to close issues: 28 days
  • Average time to close pull requests: 14 days
  • Total issue authors: 2
  • Total pull request authors: 2
  • Average comments per issue: 0.17
  • Average comments per pull request: 0.5
  • Merged pull requests: 3
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • bartvanb (5)
  • frankcorneliusmartin (1)
Pull Request Authors
  • bartvanb (5)
  • frankcorneliusmartin (2)
Top Labels
Issue Labels
bug (1)
Pull Request Labels

Dependencies

.github/workflows/release.yaml actions
  • actions/checkout v4 composite
  • docker/login-action v3 composite
Dockerfile docker
  • harbor2.vantage6.ai/infrastructure/algorithm-base latest build
docs/requirements.txt pypi
  • furo ==2022.12.7
  • sphinx ==5.3.0
  • sphinx-autobuild *
  • sphinx-autodoc-typehints *
  • sphinx-click ==4.4.0
  • sphinxcontrib-plantuml *
requirements.txt pypi
  • pandas *
  • vantage6-algorithm-tools *
setup.py pypi
  • vantage6-algorithm-tools *