Skip to content
Snippets Groups Projects

GMM implementation in Python

Merged
Yannick DAYERrequested to merge
py-gmm into pure-python
3 open threads

Implementation of GMM machine and trainer in Python using dask arrays

Edited by Yannick DAYER

Merge request reports

Pipeline #56879 passed

Pipeline passed for 6bafc7c7 on py-gmm

Test coverage 90.00% (21.00%) from 5 jobs

Merged by Amir MOHAMMADIAmir MOHAMMADI Dec 13, 2021 (Dec 13, 2021 10:40am UTC)

Loading

Pipeline #56884 passed

Pipeline passed for 32ee5e62 on pure-python

Test coverage 90.00% (21.00%) from 5 jobs
Deployed to py‎pi‎ Jun 15, 2022
Deployed to sta‎ble‎ Jun 15, 2022
Deployed to be‎ta‎ Feb 7, 2022

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • Yannick DAYER added 1 commit

    added 1 commit

    • e1f88a91 - Precomputing g_norms, tests fixes, h5py load/save.

    Compare with previous version

  • Yannick DAYER added 1 commit

    added 1 commit

    Compare with previous version

  • Yannick DAYER added 1 commit

    added 1 commit

    Compare with previous version

  • Yannick DAYER added 1 commit

    added 1 commit

    • c1c236c7 - [conda] copy meta.yaml from bob.devtools template.

    Compare with previous version

  • Yannick DAYER added 1 commit

    added 1 commit

    • 7ba8a59d - Remove __init__.py from test folder.

    Compare with previous version

  • Yannick DAYER added 3 commits

    added 3 commits

    • db5666d6 - Using float instead of numpy's float
    • fecf22bc - Revert to nose tests as pytest fails on ci.
    • d83ad159 - [requirements] Add h5py

    Compare with previous version

  • Yannick DAYER added 1 commit

    added 1 commit

    • bc735cf2 - Add back __init__.py in test folder.

    Compare with previous version

  • Yannick DAYER resolved all threads

    resolved all threads

  • Yannick DAYER unmarked as a Work In Progress

    unmarked as a Work In Progress

  • Yannick DAYER assigned to @amohammadi and unassigned @ydayer

    assigned to @amohammadi and unassigned @ydayer

  • 39 44 - numpy {{ numpy }}
    40 45 - dask {{ dask }}
    41 46 - dask-ml {{ dask_ml }}
    47 - h5py {{ h5py }}
    42 48 run:
    43 49 - python
    44 50 - setuptools
    45 51 - boost
    46 52 - {{ pin_compatible('numpy') }}
    47 53 - {{ pin_compatible('dask') }}
    48 54 - {{ pin_compatible('dask-ml') }}
  • added 1 commit

    • c07f0ce4 - Always keep state in numpy arrays instead of dask arrays

    Compare with previous version

  • Yannick DAYER added 1 commit

    added 1 commit

    • ebaae076 - Remove Gaussians class; use means, variances attr.

    Compare with previous version

  • Yannick DAYER added 2 commits

    added 2 commits

    • 35f48f18 - Removing Gaussians class tests
    • 22a73ed1 - Add the test_em tests to test_gmm

    Compare with previous version

  • Yannick DAYER added 3 commits

    added 3 commits

    • 615a5061 - fix GMM_ML test and legacy files loading
    • 243367ac - Use `resource_filename` instead of `datafile`
    • e72e3598 - Allow skipping Reynolds adaptation for MAP GMM

    Compare with previous version

  • Yannick DAYER added 1 commit

    added 1 commit

    • d702d3d6 - Fix unsupported numpy array as `out` parameter.

    Compare with previous version

  • Amir MOHAMMADI added 11 commits

    added 11 commits

    • d702d3d6...092c914e - 9 commits from branch pure-python
    • b4921b3d - Merge branch 'pure-python' into py-gmm
    • 3d5a0df6 - persist the state of GMM between each training iteration

    Compare with previous version

  • Yannick DAYER added 2 commits

    added 2 commits

    • 54fff114 - Move KMeansTrainer into KMeansMachine
    • ded8a6e9 - Adapt GMMMachine to new KMeansMachine.

    Compare with previous version

  • Amir MOHAMMADI added 1 commit

    added 1 commit

    Compare with previous version

  • Yannick DAYER added 3 commits

    added 3 commits

    • 807ca422 - Remove divide by zero for later ignored value.
    • fb7b686b - Added GMM dask tests, renamed tests
    • 8bf560b0 - Added a k-means test for machine parameters

    Compare with previous version

  • Yannick DAYER added 1 commit

    added 1 commit

    Compare with previous version

  • 1 1 import bob.extension
    2
    3 from . import cluster
    2 from .mixture import linear_scoring
  • 36 34 .. autosummary::
    37 35
    38 36 bob.learn.em.cluster.KMeansMachine
    37 bob.learn.em.mixture.GMMStats
    38 bob.learn.em.mixture.GMMMachine
    39 39
    40 40 ..
    41 41 TODO uncomment when implemented
    42 bob.learn.em.Gaussian
    43 bob.learn.em.GMMStats
    44 bob.learn.em.GMMMachine
  • I'm going to merge this so that future reviews would be easier.

  • Amir MOHAMMADI mentioned in commit 32ee5e62

    mentioned in commit 32ee5e62

  • Please register or sign in to reply
    Loading