Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update autogmm-joss #606

Merged
merged 82 commits into from
Dec 14, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
82 commits
Select commit Hold shift + click to select a range
90157c8
Latent distribution test size (#366)
alyakin314 Aug 4, 2020
641136a
v0.3 (#379)
bdpedigo Aug 4, 2020
0f4441d
clear notebook output for inference tutorials (#381)
bdpedigo Aug 5, 2020
7ea46b0
Set maximum MPL version, reduce LDT tutorial runtime (#402)
bdpedigo Aug 24, 2020
dcb7047
Documentation fixes (#408)
j1c Aug 27, 2020
39dce2c
Enable passing of embeddings to LatentDistributionTest (#411)
bdpedigo Sep 1, 2020
ca40013
Tutorial fixes (#416)
loftusa Sep 3, 2020
25e3556
GraphMatch inherits from BaseEstimator (#420)
loftusa Sep 4, 2020
69c4d4b
Add diag_aug option to MASE and OMNI (#404)
j1c Sep 8, 2020
85e523c
Added subgraph to docs, added tutorial notebook (Addresses #305) (#322)
gkang7 Sep 11, 2020
23f5415
Update requirements to scipy >= 1.4. (#428)
PerifanosPrometheus Sep 11, 2020
a07feb5
Remove ari return from fit_predict and predict in base.py (#438)
CaseyWeiner Sep 14, 2020
5d0aa9a
Bulk License and Compliance (#463)
Sep 16, 2020
c8a569c
Suitably dynamic versioning (#467)
Sep 17, 2020
fd0be43
Add note about merger to README (#469)
bdpedigo Sep 17, 2020
5359c1d
Fixes Documentation Build Warnings #291 (#426)
pauladkisson Sep 18, 2020
ec1a43d
Consolidated our dependencies (#470)
Sep 18, 2020
34174e3
Fix the title (#475)
pauladkisson Sep 22, 2020
95a71c4
Draft PR: Build Pipeline (#471)
Sep 22, 2020
02cbe18
Sounds like the refs name will be a full path (#476)
Sep 22, 2020
963bf1a
I'm not sure which is failing, and I'm also not convinced we need the…
Sep 22, 2020
6aa758e
Adding `pull_request_target` to the list of events that should fire off
Sep 24, 2020
8298880
Remove * imports in simulations (#431)
kareef928 Sep 24, 2020
dc5e6ba
Fixes Add `n_iter_` attribute after fit to GraphMatch #342 (#432)
dtborders Sep 24, 2020
7877d2f
Adds the Option to Concatenate Embeddings of Directed Graphs (#433)
spencer-loggia Sep 24, 2020
4ef123c
Add a link for the descriptions of `palette` (#427)
Jingyan230 Sep 24, 2020
5c6f385
fix some formatting issues I somehow missed
bdpedigo Sep 24, 2020
e397c23
Added n_features_in_ to three of the embedded class estimators (conti…
zeou1 Sep 27, 2020
5778da6
Fix to Remove * imports in subgraph, utils (#488)
dfrancisco1998 Sep 27, 2020
24a3d00
THE GRAND RENAMING HAS BEGUN (#481)
Sep 28, 2020
2e418ce
Update build.yml
Sep 28, 2020
df4b2aa
Publishing 0.1.0 prerelease to PyPI
Sep 28, 2020
a33795b
Add CODEOWNERS (#500)
bdpedigo Sep 28, 2020
1d0956a
Run build on PR
Sep 29, 2020
b9547d8
Update version.txt
Sep 29, 2020
c9436a1
remove star import in test latent position test (#494)
bdpedigo Oct 1, 2020
bbbc68a
create align module (#419)
alyakin314 Oct 5, 2020
ac3f416
Padded sgm (#509)
asaadeldin11 Oct 2, 2020
c5463a5
Update test_match.py
asaadeldin11 Oct 2, 2020
516e50c
simplify padded tests
asaadeldin11 Oct 2, 2020
79edff3
Update test_match.py
asaadeldin11 Oct 2, 2020
c256e0e
tutorial fixes
asaadeldin11 Oct 3, 2020
9c6272b
fixes for build checks
asaadeldin11 Oct 4, 2020
4624131
addressing review
asaadeldin11 Oct 5, 2020
f48ce2f
Update tutorial.rst
asaadeldin11 Oct 5, 2020
9c8ed21
Added an extra line to the README to trigger a new build
Oct 13, 2020
ae659d8
Removed an extra line in the README to trigger a new build
Oct 13, 2020
7367c67
Intersphinx woes (#530)
bdpedigo Oct 13, 2020
13577bf
Update gmp.py (#534)
asaadeldin11 Oct 18, 2020
11b37d9
fixes Move mug2vec to embed module #502 (#549)
AnshuTrivedi Oct 21, 2020
30836c4
Update issue templates
Oct 21, 2020
e365ce3
Update feature_request.md
bdpedigo Oct 21, 2020
8f2e106
Update feature_request.md
bdpedigo Oct 21, 2020
ed1be59
Update feature_request.md
bdpedigo Oct 21, 2020
6e8ec99
Update feature_request.md
bdpedigo Oct 21, 2020
f874b9a
Disabling blank issues
Oct 23, 2020
51d05d5
Moving (almost as-is) Node2Vec from topologic
Oct 23, 2020
9dba538
Addressing some of the PR feedback as well as adding preconditions/as…
Oct 23, 2020
a00c9e2
Divisive Cluster (#398)
tliu68 Oct 27, 2020
660055a
Fix path issue, lose unused QAPLIB files (#535)
asaadeldin11 Oct 28, 2020
c3ea3d9
Add mypy.ini and mypy error fixes (#532)
j1c Nov 2, 2020
b86d8c3
Update CODEOWNERS (#569)
bdpedigo Nov 3, 2020
35eeb90
Preprocessing graph cuts (#572)
Nov 4, 2020
8d7d29f
Standardize docs (#525)
pauladkisson Nov 6, 2020
dc9c3b0
Updating joblib version to fix #582 (#583)
jonmclean Nov 12, 2020
e076114
Temporarily have scipy quadratic_assignment live in graspologic (#542)
asaadeldin11 Nov 13, 2020
e38d654
singular_values_ attribute for MultipleASE class (#559)
pauladkisson Nov 15, 2020
dc1226c
Add doc status shield/link (#522)
bdpedigo Nov 16, 2020
59f9b4f
Add function to remap categorical labelings (#529)
bdpedigo Nov 16, 2020
52af6e8
Create pull_request_template.md (#588)
bdpedigo Nov 18, 2020
d5ae48d
Add pypi badge and update codecov badge (#587)
PSSF23 Nov 18, 2020
fb425fc
Fix code block & typos (#591)
PSSF23 Nov 20, 2020
bd96319
Adding MASE Tutorial (#491)
pauladkisson Nov 23, 2020
676ffcc
Out of sample ASE (#518)
loftusa Nov 23, 2020
a7b34eb
add titles to heatmaps (#593)
loftusa Nov 23, 2020
80506c9
Leiden and modularity (#578)
Nov 30, 2020
a1866ce
Clustering Tutorials (#516)
CaseyWeiner Dec 5, 2020
38c7086
Update documentation location to RTD (#600)
bdpedigo Dec 7, 2020
6f562cf
Pairplot with gmm functionality fixing #382 (#541)
dfrancisco1998 Dec 8, 2020
339bdf3
Create a simple tutorial for `Aligning` (#573)
Jingyan230 Dec 9, 2020
5bc9d10
LPT/LDT implemented as a function (#547)
kareef928 Dec 10, 2020
81e32ea
better comments in OOS tutorial (#605)
loftusa Dec 11, 2020
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 26 additions & 0 deletions .devops/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# Continuous Integration for `graspologic`

Microsoft requires - and it's simply good policy - that we run continuous scans
of our builds checking for any accidental commits of credentials, as well as
keeping track of all of our dependencies, looking for security issues as well
as any legal concerns.

However, using Azure DevOps for our entire build restricts visibility into the
steps we require be completed for a viable build. This makes processing
PRs a Microsoft-first process, instead of enabling our wonderful contributing
community to be able to see the actual build failures as they occur, instead of
relying on a Microsoft employee to convey the error conditions to them.

To achieve this, we broke our CI process into two primary processes:
1. Community build (via Github Actions)
2. Compliance and security build (via Azure DevOps)

We want to ensure we're up front about all our processes, so these build specification
files are committed into the repository for community inspection.

Of the steps included in `Compliance and Security` (Component Governance and Credential Scan),
the only part that should be possible to fail a build is Credential Scan.

Unfortunately, this will require an approved Microsoft employee to determine the actual
feedback around it, but hopefully this isolation of black box failures to an individual
task will help mitigate most problems.
25 changes: 25 additions & 0 deletions .devops/scan-and-register.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
jobs:
- job: cred_scan
displayName: Credential Scan
pool:
vmImage: "windows-latest"
steps:
- task: CredScan@3
displayName: 'Run CredScan'
inputs:
outputFormat: sarif
debugMode: false
- job: component_governance
displayName: Component Governance
pool:
vmImage: "ubuntu-latest"
steps:
- task: UsePythonVersion@0
inputs:
versionSpec: '3.8'
- script: |
pip install -U pip setuptools
pip install -r requirements.txt
pip freeze > requirements.txt
- task: ms.vss-governance-buildtask.governance-build-task-component-detection.ComponentGovernanceComponentDetection@0
displayName: 'Component Detection'
16 changes: 16 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# graspologic package
# /graspologic/align @alyakin314 @bdpedigo
# /graspologic/cluster @bdpedigo @j1c
# /graspologic/datasets @bdpedigo
# /graspologic/embed @j1c @bdpedigo
# /graspologic/inference @alyakin314 @bdpedigo
# /graspologic/match @asaadeldin11 @bdpedigo
# /graspologic/models @bdpedigo @j1c
# /graspologic/pipeline @j1c @bdpedigo
# /graspologic/plot @j1c @bdpedigo
# /graspologic/subgraph @j1c
# /graspologic/utils/ @j1c @bdpedigo

# tutorials

# tests
25 changes: 0 additions & 25 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

33 changes: 33 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---
name: Bug report
about: Bug reports help us improve! Thanks for submitting yours!
title: "[BUG] "
labels: bug
assignees: ''

---

## Expected Behavior
Tell us what should happen

## Actual Behavior
Tell us what happens instead

## Example Code
Please see [How to create a Minimal, Reproducible example](https://stackoverflow.com/help/minimal-reproducible-example) for some guidance on creating the best possible example of the problem
```python

```

## Full Traceback
```pytb
Paste the full traceback in case there is an exception

```

## Your Environment
* Python version:
* graspologic version:

## Additional Details
Any other contextual information you might feel is important.
2 changes: 2 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
blank_issues_enabled: false

24 changes: 24 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: enhancement
assignees: ''

---

## Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

## Describe the solution you'd like
A clear and concise description of what you want to happen.

## Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

## Provide references (if applicable)
If your feature request is related to a published algorithm/idea, please provide links to
any relevant articles or webpages.

## Additional context
Add any other context or screenshots about the feature request here.
10 changes: 10 additions & 0 deletions .github/ISSUE_TEMPLATE/usage-question.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
---
name: Usage Question
about: Ask us a question about graspologic and graphs!
title: "[Question]"
labels: question
assignees: ''

---

This is our forum for asking whatever network question you'd like! No need to feel shy - we're happy to talk about graphs!
7 changes: 2 additions & 5 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<!--
Thanks for contributing a pull request! Please ensure you have taken a look at
the contribution guidelines: https://github.com/neurodata/graspy/blob/master/CONTRIBUTING.md#pull-request-checklist
the contribution guidelines: https://github.com/microsoft/graspologic/blob/dev/CONTRIBUTING.md
-->

#### Reference Issues/PRs
Expand All @@ -11,9 +11,6 @@ you resolved, so that they will automatically be closed when your pull request
is merged. See https://github.com/blog/1506-closing-issues-via-pull-requests
-->


#### What does this implement/fix? Explain your changes.

#### What does this implement/fix? Briefly explain your changes.

#### Any other comments?

25 changes: 25 additions & 0 deletions .github/build/set_version.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

"""
Build script that will check some environment variables set by Github during build.
See: https://help.github.com/en/actions/configuring-and-managing-workflows/using-environment-variables#default-environment-variables
If the branch is master or dev, it will generate the appropriate content for version.txt. If it isn't, it returns nothing. Note that the version.txt file is set by bash, not by this file.
"""

import os
from graspologic.version.version import __semver

ref_key = "GITHUB_REF"
run_id_key = "GITHUB_RUN_ID"
prerelease_ref = "refs/heads/dev"
release_ref = "refs/heads/main"
publish_refs = [prerelease_ref, release_ref]

environ = os.environ

if ref_key in environ and run_id_key in environ:
ref = environ[ref_key]
run_id = environ[run_id_key]
if ref == prerelease_ref:
print(f"{__semver}.dev{run_id}")
elif ref == release_ref:
print(f"{__semver}")
105 changes: 105 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,105 @@
name: graspologic CI
on: [push, pull_request]
jobs:
build-documentation:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: "Run Documentation Generation"
run: |
sudo apt install pandoc
pip install -U pip setuptools
pip install -r requirements.txt
sphinx-build -W -a docs/ docs/_build/html
code-format-check:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Run Format Check
run: |
pip install -U pip setuptools
pip install -r requirements.txt
black --check --diff ./graspologic ./tests
mypy-type-check:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: "[Optional] Run Type Validation Checks"
run: |
pip install -U pip setuptools
pip install -r requirements.txt
mypy ./graspologic
test-coverage:
runs-on: ubuntu-latest
continue-on-error: true
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Run Test Coverage
run: |
pip install -U pip setuptools
pip install -r requirements.txt
python -m pytest --co --cov=graspologic
unit-and-doc-test:
runs-on: ${{matrix.os}}
continue-on-error: true
strategy:
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
python_version: [3.6, 3.7, 3.8]
steps:
- uses: actions/checkout@v2
- name: Set up Python ${{matrix.python_version}}
uses: actions/setup-python@v1
with:
python-version: ${{matrix.python_version}}
- name: Run Unit Tests and Doctests
run: |
pip install -U pip setuptools
pip install -r requirements.txt
pytest tests # note: should be pytest graspologic tests, but we're skipping doctests for now and re-enabling them in another PR
publish:
runs-on: ubuntu-latest
needs: [build-documentation, code-format-check, unit-and-doc-test]
if: github.ref=='refs/heads/main' || github.ref=='refs/heads/dev'
steps:
- uses: actions/checkout@v2
- name: Set up Python 3.8
uses: actions/setup-python@v1
with:
python-version: 3.8
- name: Install dependencies
run: |
python -m pip install --upgrade pip setuptools wheel twine
pip install -r requirements.txt
- name: Materialize Fixed Version
run: |
python .github/build/set_version.py > graspologic/version/version.txt
cat graspologic/version/version.txt
- name: Build with setuptools
run: |
python setup.py build sdist
- name: Publish with twine
env:
TWINE_USERNAME: ${{ secrets.PYPI_USERNAME }}
TWINE_PASSWORD: ${{ secrets.PYPI_PASSWORD }}
run: |
twine upload dist/*
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,5 @@ docs/bpedigo/ase_clustering.py
notebooks/bpedigo

*.DS_Store
.idea
*.iml
30 changes: 0 additions & 30 deletions .travis.yml

This file was deleted.

Loading