Code Monkey home page Code Monkey logo

newsapplicationwithweka's Introduction

NewsApplicationWithWeka

This repository contains News Application that builded around Weka Machine Learning Library and implements MVVM architecture using Room, Firebase, Glide, Retrofit, Butterknife and LeakCanary.

Introduction

Main purpose of the project is creating serverless recommendation system using Weka Machine Learning Library. To achieve this goal we stored seen news in application and used Naive-bayes classification algorithm for getting types of these news. After getting list of news types, we get top headlines from News api and created Clusters from them using K-Means Clustering Algorithm and put classified news into this algorithm and get clusters which these items are belong. After getting clusters of our items, we recommend other items in these clusters.

Getting Started

We are using Database and Authentication features of firebase. Before using repository you need to connect your firebase project to application.

Firebase Google Sign In Setup
  • Go to the Firebase Console and navigate to your project:
  • Select the Auth panel and then click the Sign In Method tab.
  • Click Google and turn on the Enable switch, then click Save.
  • Click edit icon and get Web client id and paste it to local.properties file using "firebaseClientKey" key.
Firebase Database
  • Select the Database panel and then click the Rules Method tab.
{
  "rules": {
    "users": {
      "$uid": {
        ".read": "$uid === auth.uid",
        ".write": "$uid === auth.uid"
      }
    }
  }
}
  • Use above code as your rule.
News Api
  • https://newsapi.org/docs api used for getting all news.
  • Get your API-KEY and paste it to local.properties file using "newsApiKey" key.

Result

newsapplicationwithweka's People

Contributors

agahfurkan avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar

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.