Giter Club home page Giter Club logo

taxocom's People

Contributors

donalee avatar

Stargazers

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

Watchers

 avatar

taxocom's Issues

Error while executing run_taxocom.sh

Please help !! At first I thought it's the issue of mismatch of terms in terms.txt & seed_taxo. So I manually corrected all and system is able to read but again I got the issue.
####################
Starting cell * with 323 docs.
Starting training using file ../data/auto/root_seed_taxo/docs.txt
Loading embedding from file ../data/auto/root_seed_taxo/embeddings.txt
Category name file: ../data/auto/root_seed_taxo/child_names.txt
Target category charging : charging Smart products EV plugs cables connectors stations Charger
Target category Battery : Battery sustainable swapping models service interoperability
Target category bidirectional : bidirectional charging home charger CCS Smart products EV plugs cables connectors stations Charger
Target category wireless : wireless parking electrified roadways network inductive

[Main] Finish locally discriminative embedding - 3.5880656242370605 seconds
Traceback (most recent call last):
File "main.py", line 71, in
main(args)
File "main.py", line 58, in main
recur(input_corpus, root_dir, '*', args.filter_tau, args.n_locterms, args.betas, 0)
File "main.py", line 23, in recur
child_names = run_clustering(input_corpus, filter_tau, betas, node_name, node_dir, level)
File "/home/fidev/taxocom/code/clustering.py", line 101, in run_clustering
doc_clusters = dataset.get_doc_clusters(term_clusters, term_rel_scores)
File "/home/fidev/taxocom/code/dataset.py", line 185, in get_doc_clusters
term_assignment[term_id] = clus_id
IndexError: list assignment index out of range
Compress the output taxonomy
#################

Issue in data generation

Hi,
I followed the steps suggested in readme file specific to "data", the code runs well and all the files are generated in the input folder but with very limited or no data.
Please help with detailed steps to create docs.txt & terms.txt as they have been used as an input.
Thanks in advance!! Please help.
Regards,
Gaurav

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.