Giter VIP home page Giter VIP logo

filtration_curves's People

Contributors

albert-sharma avatar lobray avatar merelkuijs avatar pseudomanifold avatar szhorvat avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

filtration_curves's Issues

'weight' attribute of dataset

Thanks for your excellent works!
Can you provide the raw data url of dataset?
There is an attribute called 'weight' in MUTAG data, and it is different from TUDataset, how do you reweight it?
I tried OllivierRicci method, but there answer is not as good as yours.
Thanks again!

Issue + fix when running poetry install

Running poetry install inside the filtration_curves folder will install all dependencies successfully, except python-igraph (0.8.3):

Updating dependencies
Resolving dependencies... (4.5s)

Package operations: 34 installs, 1 update, 0 removals

  • Installing numpy (1.24.3)
  • Installing scipy (1.9.3)
  • Installing qdldl (0.1.7)
  • Installing six (1.16.0)
  • Installing contourpy (1.1.0)
  • Installing cycler (0.11.0)
  • Installing ecos (2.0.12)
  • Installing fonttools (4.40.0)
  • Installing joblib (1.2.0)
  • Installing kiwisolver (1.4.4)
  • Installing networkx (2.8.8)
  • Installing osqp (0.6.3)
  • Installing packaging (23.1)
  • Installing pillow (9.5.0)
  • Installing pyparsing (3.0.9)
  • Installing python-dateutil (2.8.2)
  • Installing pytz (2023.3)
  • Installing scs (3.2.3)
  • Updating setuptools (67.2.0 -> 67.8.0)
  • Installing texttable (1.6.7)
  • Installing threadpoolctl (3.1.0)
  • Installing cvxpy (1.3.1)
  • Installing cython (0.29.35)
  • Installing matplotlib (3.7.1)
  • Installing networkit (10.1)
  • Installing pandas (1.5.3)
  • Installing pot (0.9.0)
  • Installing python-igraph (0.8.3): Failed

  ChefBuildError

  Backend subprocess exited when trying to invoke get_requires_for_build_wheel
  
  error in python-igraph setup command: use_2to3 is invalid.
  

  at ~/.local/share/pypoetry/venv/lib/python3.10/site-packages/poetry/installation/chef.py:147 in _prepare
      143│ 
      144│                 error = ChefBuildError("\n\n".join(message_parts))
      145│ 
      146│             if error is not None:
    → 147│                 raise error from None
      148│ 
      149│             return path
      150│ 
      151│     def _prepare_sdist(self, archive: Path, destination: Path | None = None) -> Path:

Note: This error originates from the build backend, and is likely not a problem with poetry but with python-igraph (0.8.3) not supporting PEP 517 builds. You can verify this by running 'pip wheel --use-pep517 "python-igraph (==0.8.3)"'.

  • Installing python-louvain (0.16)
  • Installing scikit-learn (1.2.2)

Running poetry add python-igraph@latest afterwards resolves this issue by installing a newer python-igraph version. I assume this works because the newer setup file is compatible with the setuptools version we install through poetry. I'm making this assumption based on the error message: error in python-igraph setup command: use_2to3 is invalid.

Example commands given in the README.md still work, but give slightly different results:
BZR_MD: 76.01 +- 1.10 (mine) vs. 75.61 +- 1.13 (yours)
MUTAG: 87.21 +- 0.70 (mine) vs. 87.31 +- 0.66 (yours)

To fix this issue permanently, I think you'd have to upgrade the required python-igraph version, or downgrade the required setuptools version. According to this Stack Overflow thread, setuptools>=58 doesn't support use_2to3.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.