Giter VIP home page Giter VIP logo

Comments (6)

necozay avatar necozay commented on June 25, 2024

What is the planned date for this release? I think we should have this up and running before the next TuLiP release.

from polytope.

johnyf avatar johnyf commented on June 25, 2024

My suggestion is to avoid making any changes for the initial polytope release, so that it is exactly the same with the old one. This way people using older code can adapt their imports and use the first version of polytope. There is no planned date, releasing it on PyPI requires just two commands (same as for testpypi), I agree that it should be released before (or together with) tulip. A motivation for releasing it right away is to reserve the name on PyPI. If there is consensus I can do that.

from polytope.

necozay avatar necozay commented on June 25, 2024

I just did a fresh install of tulip from the master branch, together with polytope from its master branch and the examples seem to work fine. We might want to decide on the dependencies before the release:

  • the minimum NumPy version polytope requires is currently 1.7 according to setup.py but I guess it should be compatible with earlier versions of NumPy as well.
  • polytope requires networkx; as far as I remember, we can make this optional. But if we feel that it is going to be required in the future, we might keep it as is as well.

from polytope.

johnyf avatar johnyf commented on June 25, 2024

There are 2 places that lightly use networkx:

  • plot_partition uses nx.to_numpy_matrix to accept graphs as input.
  • MetricPartition subclasses nx.Graph besides Partition. This because it abstracts the metric into a graph. Although currently this is not being used and the adj attribute is being used, after the initial release and when tulip.abstract.discretization.discretize is rewritten, I'd like to replace adj with operations on the graph itself. This is much more natural, if one thinks of it discretize becomes a graph rewriting function, and such an implementation is more robust to bugs because it will use the existing networkx methods. Moreover, it will avoid copying adjacency matrices and padding nodes, because it will just remove and add nodes iteratively. Also k-hop neighbor information (trans argument to discretize) will be easier to fetch.

from polytope.

slivingston avatar slivingston commented on June 25, 2024

For posterity, discussion about dependency versions for TuLiP in tulip-control/tulip-control#48 is relevant.

from polytope.

johnyf avatar johnyf commented on June 25, 2024

b2c9ccd is the initial release v0.1.0 and can be found on PyPI.

from polytope.

Related Issues (20)

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.