Giter VIP home page Giter VIP logo

fakenews's Issues

feat: evaluating data's statistical variance

It seems like the data I have been using during development may contain an excessive amount of similar, albeit not identical, headlines. This loss of variance when large portions of the input headlines are in fact identical does not affect the generator directly, since all these occurances are correctly represented in the transition matrix, however, it also increases the amount of generated headlines identical or very similar to the source data.

This might be desirable in some scenarios, but not if you want to have a varied output. Thus, some tool for calculating thet statistical variance of the source data would be appreciated. ๐Ÿ”ฌ๐Ÿ“Š

Please implement a realnews generator

I want the fake news generator to generate real news.

  • Implement real news?
  • Also implement clickbait headlines?
  • Can this fakenews generator also be a CLI text editor?

feat: some solution to avoid generating headlines identical to the source data

When the source data is either too small or has too little variation and the order-value is too large; overfitting will occur and generated headlines will start looking very similar if not even identical to counterparts in the source data.

Some way or another, I'd like to at the very least make the user aware of the likeness. Some options I've though of so far:

  • Add option to limit generated data with a likeness-threshold value, for example: "only generate headlines that are at most 75% identical to one of the source headlines."
  • Add the calculated likeness-value to the output so that the user can decide their relevance for themselves.

The ability to censor the output should perhaps not be part of the fakenews.py module itself to enforce modularity and to avoid forcing costly operations for every user. Checking a headline's likeness to the source data will likely be a fairly complex problem and may thus increase overhead significantly.

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.