Posts

Showing posts from September, 2018

Apriori algorithm implementation in R

Image
Introduction it is an algorithm for frequent itemset mining and  association rule learning  over transactional databases. It proceeds by identifying the frequent individual items in the database and extending them to larger and larger item sets as long as those itemsets appear sufficiently often in the database. The frequent itemsets determined by Apriori can be used to determine  association rules  which highlight general trends in the database ,  this has applications in domains such as  market basket analysis . This post is about the implementation of the apriori algorithm in R not to the detailed explanation of it. First, Download and install R Studio from  link  if it is not installed in your system. 1. First, install the required packages named - arules and apriori.    Go to Tools -> Install Packages --> arules/apriori 2. Importing your data set  The data import features can be accessed from the environment pane or from the file menu. The importer

Android Studio - Overview

Image
Nowadays Android is spreading its wings with more enhanced versions such as Android Nougat, Oreo. There are several IDE ( Xamarin ,  PhoneGap ) available which can be helpful to work with Android development. Android Studio is an official IDE for Android App Development. It allows us to write better code with an intelligent code editor which provides code completion for Java, Kotlin, c/c++ languages. You can download it from the  link . IDE The  toolbar  lets you carry out a wide range of actions, including running your app and launching Android tools. The  navigation bar  helps you navigate through your project and open files for editing. It provides a more compact view of the structure visible in the  Project  window. The  editor window  is where you create and modify the code. Depending on the current file type, the editor can change. For example, when viewing a layout file, the editor displays the Layout Editor. The  tool window bar  runs around the outside