technology logo
technology logo

"Fake News Detection System" Kit by Nishu Kumari

share link

by nishudubey2000 dot icon Updated: Oct 13, 2022

Guide Kit Guide Kit  

I have created this solution as a part of the 24hr AI challenge. I have used the base kandi kit for fake news detection and train the dataset on political dataset. This solution will help the user to validate whether the news is fake or real and for this i used political dataset. A type of yellow journalism, fake news encapsulates pieces of news that may be hoaxes and is generally spread through social media and other online media. This is often done to further or impose certain ideas and is often achieved with political agendas. Such news items may contain false and/or exaggerated claims, and may end up being viralized by algorithms, and users may end up in a filter bubble. So, to solve this problem i have build a model that accurately classify a piece of news as REAL or FAKE. For training my model i used a political dataset. Using sklearn, we build a TfidfVectorizer on our dataset. Then, we initialize a PassiveAggressive Classifier and fit the model. In the end, the accuracy score and the confusion matrix tell us how well our model fares. Implemented a TfidfVectorizer, initialized a PassiveAggressiveClassifier, and fitted my model. I ended up obtaining an accuracy of 93.21% in magnitude. I have also added a demo link on https://drive.google.com/file/d/1U3BsAfd9zWifgbpH6zOOyYd_23TbSpbr/view?usp=sharing

scikit-learnby scikit-learn

Python doticonstar image 53572 doticonVersion:1.2.2doticon
License: Permissive (BSD-3-Clause)

scikit-learn: machine learning in Python

Support
    Quality
      Security
        License
          Reuse

            scikit-learnby scikit-learn

            Python doticon star image 53572 doticonVersion:1.2.2doticon License: Permissive (BSD-3-Clause)

            scikit-learn: machine learning in Python
            Support
              Quality
                Security
                  License
                    Reuse

                      pandasby pandas-dev

                      Python doticonstar image 37439 doticonVersion:v2.0.0rc1doticon
                      License: Permissive (BSD-3-Clause)

                      Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more

                      Support
                        Quality
                          Security
                            License
                              Reuse

                                pandasby pandas-dev

                                Python doticon star image 37439 doticonVersion:v2.0.0rc1doticon License: Permissive (BSD-3-Clause)

                                Flexible and powerful data analysis / manipulation library for Python, providing labeled data structures similar to R data.frame objects, statistical functions, and much more
                                Support
                                  Quality
                                    Security
                                      License
                                        Reuse

                                          numpyby numpy

                                          Python doticonstar image 23036 doticonVersion:v1.24.2doticon
                                          License: Permissive (BSD-3-Clause)

                                          The fundamental package for scientific computing with Python.

                                          Support
                                            Quality
                                              Security
                                                License
                                                  Reuse

                                                    numpyby numpy

                                                    Python doticon star image 23036 doticonVersion:v1.24.2doticon License: Permissive (BSD-3-Clause)

                                                    The fundamental package for scientific computing with Python.
                                                    Support
                                                      Quality
                                                        Security
                                                          License
                                                            Reuse

                                                              matplotlibby matplotlib

                                                              Python doticonstar image 17111 doticonVersion:v3.7.1doticon
                                                              no licences License: No License (null)

                                                              matplotlib: plotting with Python

                                                              Support
                                                                Quality
                                                                  Security
                                                                    License
                                                                      Reuse

                                                                        matplotlibby matplotlib

                                                                        Python doticon star image 17111 doticonVersion:v3.7.1doticonno licences License: No License

                                                                        matplotlib: plotting with Python
                                                                        Support
                                                                          Quality
                                                                            Security
                                                                              License
                                                                                Reuse

                                                                                  seabornby mwaskom

                                                                                  Python doticonstar image 10513 doticonVersion:v0.12.2doticon
                                                                                  License: Permissive (BSD-3-Clause)

                                                                                  Statistical data visualization in Python

                                                                                  Support
                                                                                    Quality
                                                                                      Security
                                                                                        License
                                                                                          Reuse

                                                                                            seabornby mwaskom

                                                                                            Python doticon star image 10513 doticonVersion:v0.12.2doticon License: Permissive (BSD-3-Clause)

                                                                                            Statistical data visualization in Python
                                                                                            Support
                                                                                              Quality
                                                                                                Security
                                                                                                  License
                                                                                                    Reuse

                                                                                                      notebookby jupyter

                                                                                                      Jupyter Notebook doticonstar image 9914 doticonVersion:v7.0.0a18doticon
                                                                                                      License: Permissive (BSD-3-Clause)

                                                                                                      Jupyter Interactive Notebook

                                                                                                      Support
                                                                                                        Quality
                                                                                                          Security
                                                                                                            License
                                                                                                              Reuse

                                                                                                                notebookby jupyter

                                                                                                                Jupyter Notebook doticon star image 9914 doticonVersion:v7.0.0a18doticon License: Permissive (BSD-3-Clause)

                                                                                                                Jupyter Interactive Notebook
                                                                                                                Support
                                                                                                                  Quality
                                                                                                                    Security
                                                                                                                      License
                                                                                                                        Reuse
                                                                                                                          Jupyter Notebook doticonstar image 0 doticonVersion:Currentdoticon
                                                                                                                          no licences License: No License (null)

                                                                                                                          DevStack Solution Internship Program "Data Science Intern" Task-1 on Fake news detection system using python and machine learning

                                                                                                                          Support
                                                                                                                            Quality
                                                                                                                              Security
                                                                                                                                License
                                                                                                                                  Reuse

                                                                                                                                    DSIP-TASK-1-Data-Science-Internship-by Kumarinishu

                                                                                                                                    Jupyter Notebook doticon star image 0 doticonVersion:Currentdoticonno licences License: No License

                                                                                                                                    DevStack Solution Internship Program "Data Science Intern" Task-1 on Fake news detection system using python and machine learning
                                                                                                                                    Support
                                                                                                                                      Quality
                                                                                                                                        Security
                                                                                                                                          License
                                                                                                                                            Reuse

                                                                                                                                              See similar Kits and Libraries