Overview of this Lecture / week
Part of data preparation is exploring and investigating the data. You can discover a lot of information about what is happening in your data by using a variety of different visualisation techniques and looking at the data in different ways.
This week we will have a look at Text Mining and the main steps involved in doing this. You will explore techniques for Test Mining in the Machine Learning module.
Click here to download notes for Week 4 – Text Mining.
Click here to download notes for Week 4 – Forecasting.
Videos of Notes
Video of Text Mining and Word Cloud in R. (ignore webpage at beginning of video. Everything is on this page)
See Task 2 for link to sample code
Task 1 – Load a data set into SAS Enterprise Miner and explore the data
Find a data set from a data set repository. For example A Plethora of Data Set Repositories
There are lots and lots of these.
Find one of these repositories, find a data set, download it, load it into SAS EM and Aanalyse the data (same as last week)
Task 2 – Text Mining & Word Cloud in R
Or check out my blog post on Creating a WordCloud using Python
Task 3 – Optional
Use the code (and if needed expand it) to analyse 3 or 4 webpages from a company
or (maybe do both if you can)
Use this code (and if needed expand it) to analyse and/or compare some news stories from newspaper websites
Work together individually or in pairs.
Discuss the usefulness of WordClouds and how they can give you interesting insights on the topics covered on those websites.
Does the pattern of words match what you would expect ?
What if you could add a Time Series element to the WordCloud. For example, for a particular news topics (general elections) how the coverage changes during the weeks when the parties and candidates are campaigning? A series of WordClouds might be able to show who the themes changes and evolve throughout the campaign. This will be similar for different Marketing strategies.
A company can see if certain words or phrases are appearing on their websites and related materials. By making changes to these, what impact will it have?
Task 4 – Forecasting
Go to my notes pages on Forecasting using Python.
Follow and complete all the steps
Task 5 – Optional
Research and find a data set that is suitable for Forecasting.
Follow the steps from my Python examples to see if you can Forecast values using the same approaches and algorithms.
You may need to make some changes to the code based on the data set used.
What to prepare for next week
Make sure you are keeping up with all the lab exercises.
We will be back using SAS Enterprise Miner next week.
Additional Reading Materials