Coder Social home page Coder Social logo

lucaspetry / news-similarity Goto Github PK

View Code? Open in Web Editor NEW
7.0 7.0 1.0 49.59 MB

Source code for the paper "Mining Journals to the Ground: An Exploratory Analysis of Newspaper Articles"

Python 100.00%
bag-of-words clustering doc2vec named-entity-recognition news similarity tf-idf

news-similarity's Introduction

Hey there! I'm Lucas!

Linkedin Badge Scholar Badge Researchgate Badge ORCID Badge

I currently work at Mercado Livre as a Data Scientist.

My career/research interests include:

  • Computer Vision
  • Natural Language Processing
  • Geographical Information Science
  • Software Development

news-similarity's People

Contributors

cahmilk avatar lucaspetry avatar viniciusmctf avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

baajur xiamenwcy

news-similarity's Issues

IndexError: index 8821 is out of bounds for axis 0 with size 8813

Hi @lucaspetry I have a weird error while running python3 exp_replication.py:

...
Computing replication for technique NEL ...
Computing/loading distances for technique NEL ...
Computing/loading distances for technique NEL ... DONE!
Traceback (most recent call last):
  File "exp_replication.py", line 172, in <module>
    replication, obs = get_replication(news, sim_matrix, threshold)
  File "exp_replication.py", line 37, in get_replication
    if sim_matrix[idx][idx2] >= threshold:
IndexError: index 8821 is out of bounds for axis 0 with size 8813

I just imported data/database_postgres_binary.backup with pgAdmin4, and then run python3 exp_replication.py

what can it be?

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.