Git Product home page Git Product logo

Comments (5)

feltenberger avatar feltenberger commented on May 3, 2024

Hi,

Thanks for the question. The code in the notebook is really just a proof of concept to guide in the creation of full landscapes. The code you want to look at for expansion is in expansion.py (here). That's the code that takes only a small subset of all patents for inference.

If the notebook isn't getting through the L1 and L2 expansion, what's probably happening is that the levels of expansion are just too large to fit into memory or to be serialized. You could try removing the serialization sections of the code, but when you re-run it it's going to re-query and do all that work again instead of caching it locally.

Hope that's helpful.

Thanks.

from patents-public-data.

sfd9898 avatar sfd9898 commented on May 3, 2024

Hello,

Yes, it's getting through the L1 and L2 expansion. (I can see the l1_patents_df and l2_patents_df). But it's not clear to me where in the code the pruning is happening?

Or would you iterate through the L1 and L2 patents with the model and predict the class of each patent?

Thanks!

from patents-public-data.

sfd9898 avatar sfd9898 commented on May 3, 2024

Hello, just to close out. I did end up iterating through the entire L1 and L2 and it seemed to work well.

Thanks!

from patents-public-data.

feltenberger avatar feltenberger commented on May 3, 2024

from patents-public-data.

peiyu-wang avatar peiyu-wang commented on May 3, 2024

Hi @sfd9898 , do you think you can help on this one #47?
The model gets deleted on cloud storage, I really want to try the model. I will be super appreciated if you can share the local copy of the models to me if you still have it. Thanks a lot!

from patents-public-data.

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.