BIA_T08_Clustering_exercise.Rmd 870 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
---
title:  'Tutorial 8: Clustering'
output: html_notebook
editor_options: 
  chunk_output_type: inline
---

This file is part of the lecture Business Intelligence & Analytics (EESYS-BIA-M), Information Systems and Energy Efficient Systems, University of Bamberg.


```{r Load libraries}
library(dplyr)
library(lubridate)
library(psych)
library(cluster)
library(readr)
```

```{r Read and prepare data}
# read data
consumption <- 
customer <- 
logins <- 
survey <- 
portal_points <- 

# convert data

# aggregate and calculate data

# Join data together

```

```{r Clustering 1 - A first try with extreme values}

```

```{r Clustering 2 - A second try with untransformed data}

```

```{r Clustering 3 - A third try with transformed data}

```

```{r Determine the right number of clusters}

```

```{r Clustering 4 - Using an hierarchical clustering approach}

```