Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
56 changes: 28 additions & 28 deletions project/data/gephy/digraph.gml
Original file line number Diff line number Diff line change
Expand Up @@ -13207,8 +13207,8 @@ graph [
]
edge [
source 58
target 42
weight 1.0
target 67
weight 32.0
]
edge [
source 58
Expand Down Expand Up @@ -13417,8 +13417,8 @@ graph [
]
edge [
source 58
target 67
weight 32.0
target 42
weight 1.0
]
edge [
source 58
Expand Down Expand Up @@ -22287,8 +22287,8 @@ graph [
]
edge [
source 105
target 135
weight 3.0
target 203
weight 5.0
]
edge [
source 105
Expand All @@ -22307,8 +22307,8 @@ graph [
]
edge [
source 105
target 203
weight 5.0
target 135
weight 3.0
]
edge [
source 105
Expand Down Expand Up @@ -25142,7 +25142,7 @@ graph [
]
edge [
source 122
target 67
target 42
weight 1.0
]
edge [
Expand Down Expand Up @@ -25275,11 +25275,6 @@ graph [
target 52
weight 10.0
]
edge [
source 122
target 42
weight 1.0
]
edge [
source 122
target 156
Expand Down Expand Up @@ -25365,6 +25360,11 @@ graph [
target 167
weight 2.0
]
edge [
source 122
target 67
weight 1.0
]
edge [
source 122
target 209
Expand Down Expand Up @@ -27035,6 +27035,11 @@ graph [
target 231
weight 1.0
]
edge [
source 130
target 76
weight 1.0
]
edge [
source 130
target 62
Expand Down Expand Up @@ -27107,7 +27112,7 @@ graph [
]
edge [
source 130
target 76
target 136
weight 1.0
]
edge [
Expand Down Expand Up @@ -27205,11 +27210,6 @@ graph [
target 33
weight 1.0
]
edge [
source 130
target 136
weight 1.0
]
edge [
source 130
target 154
Expand Down Expand Up @@ -27237,8 +27237,8 @@ graph [
]
edge [
source 130
target 109
weight 1.0
target 234
weight 9.0
]
edge [
source 130
Expand Down Expand Up @@ -27377,8 +27377,8 @@ graph [
]
edge [
source 130
target 234
weight 9.0
target 109
weight 1.0
]
edge [
source 131
Expand Down Expand Up @@ -40867,8 +40867,8 @@ graph [
]
edge [
source 200
target 131
weight 1.0
target 100
weight 60.0
]
edge [
source 200
Expand Down Expand Up @@ -41007,8 +41007,8 @@ graph [
]
edge [
source 200
target 100
weight 60.0
target 131
weight 1.0
]
edge [
source 200
Expand Down
358 changes: 282 additions & 76 deletions project/data_exploration/data_exploration.ipynb

Large diffs are not rendered by default.

284 changes: 276 additions & 8 deletions project/data_exploration/digraph.ipynb

Large diffs are not rendered by default.

599 changes: 599 additions & 0 deletions project/data_exploration/formula.ipynb

Large diffs are not rendered by default.

237 changes: 237 additions & 0 deletions project/data_exploration/special_user_analysis.ipynb

Large diffs are not rendered by default.

23 changes: 23 additions & 0 deletions project/data_exploration/statistic_helper.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,29 @@ def generate_pie(dictionary, title):
po.iplot(fig)


def generate_boxplot(frequency):
trace0 = go.Box(
y=frequency
)

data=[trace0]

po.iplot(data)

def generate_boxplots(frequency1, frequency2):
trace0 = go.Box(
y=frequency1
)

trace1 = go.Box(
y=frequency2
)

data=[trace0, trace1]

po.iplot(data)


def load_data_from_file(file_name):
data = None
with open('../data/{0}'.format(file_name)) as data_file:
Expand Down
6 changes: 3 additions & 3 deletions project/data_exploration/user_behavior_exploring.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -106,15 +106,15 @@
},
{
"cell_type": "code",
"execution_count": 4,
"execution_count": 3,
"metadata": {
"collapsed": false
},
"outputs": [
{
"data": {
"text/html": [
"<div id=\"56ca7f6c-1ce9-4c03-803d-19b1b7264d22\" style=\"height: 525px; width: 100%;\" class=\"plotly-graph-div\"></div><script type=\"text/javascript\">require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {};window.PLOTLYENV.BASE_URL=\"https://plot.ly\";Plotly.newPlot(\"56ca7f6c-1ce9-4c03-803d-19b1b7264d22\", [{\"y\": [14.29, 17.65, 19.17, 21.22, 18.65, 19.85, 22.7], \"x\": [0, 1, 2, 3, 4, 5, 6], \"type\": \"scatter\"}, {\"y\": [92.0, 93.33333333333333, 90.14285714285714, 90.16666666666667, 93.85714285714286, 92.0, 78.0], \"x\": [0, 1, 2, 3, 4, 5, 6], \"type\": \"scatter\"}, {\"y\": [14.29, 18.65, 17.65, 19.3, 21.22, 22.33, 24.12, 24.83, 23.96, 20.45], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], \"type\": \"scatter\"}, {\"y\": [82.2, 76.85714285714286, 86.33333333333333, 66.0, 74.0, 77.5, 54.333333333333336, 58.666666666666664, 59.4, 85.0], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 18.65, 19.3, 21.22, 22.33, 24.12, 19.17, 25.44, 22.7, 24.83, 19.85, 17.55, 23.96, 20.16, 20.45, 16.8, 23.35, 16.42, 20.22, 16.23], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], \"type\": \"scatter\"}, {\"y\": [67.4, 75.33333333333333, 76.42857142857143, 55.0, 68.0, 63.5, 47.333333333333336, 71.21428571428571, 74.0, 66.66666666666667, 73.16666666666667, 75.5, 79.875, 41.8, 85.46666666666667, 85.33333333333333, 82.83333333333333, 83.33333333333333, 88.33333333333333, 89.0952380952381, 90.5], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 21.22, 19.3, 24.12, 19.17, 16.8, 16.42, 16.23, 18.65, 19.08, 17.55, 17.87, 19.85, 20.45], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], \"type\": \"scatter\"}, {\"y\": [91.0, 91.33333333333333, 81.0, 73.0, 69.66666666666667, 69.5, 86.66666666666667, 86.66666666666667, 77.0, 80.57142857142857, 78.0, 91.5, 86.6, 86.0, 66.0], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 21.22, 24.12, 26.16, 24.83, 25.44, 28.67, 26.29, 22.33], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], \"type\": \"scatter\"}, {\"y\": [95.6, 95.66666666666667, 93.66666666666667, 92.66666666666667, 92.6, 87.66666666666667, 88.0, 93.8, 72.66666666666667, 85.5], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], \"type\": \"scatter\"}, {\"y\": [14.29, 18.65, 19.3, 24.12, 25.37, 26.63, 31.32], \"x\": [0, 1, 2, 3, 4, 5, 6], \"type\": \"scatter\"}, {\"y\": [90.4, 88.71428571428571, 78.0, 89.0, 83.0, 88.77777777777777, 70.5], \"x\": [0, 1, 2, 3, 4, 5, 6], \"type\": \"scatter\"}, {\"y\": [14.29, 18.65, 17.65, 19.3, 21.22, 22.33, 24.81, 24.83, 25.44, 26.16, 19.17], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], \"type\": \"scatter\"}, {\"y\": [96.4, 98.85714285714286, 97.33333333333333, 95.0, 98.0, 98.0, 89.6, 92.83333333333333, 97.0, 96.4, 97.3076923076923], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 21.22, 24.12, 24.83, 22.33, 25.44, 26.16, 23.96, 24.51, 22.7, 25.75, 25.0, 26.29, 20.45, 20.16], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \"type\": \"scatter\"}, {\"y\": [93.4, 94.66666666666667, 93.33333333333333, 97.66666666666667, 98.5, 98.0, 96.0, 92.8, 93.6, 96.66666666666667, 98.66666666666667, 94.25, 95.0, 95.33333333333333, 98.66666666666667, 96.07142857142857], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 18.65, 21.22, 17.87, 15.79, 13.33, 12.26, 7.69, 13.76, 14.41, 14.63, 13.33, 13.33, 13.71, 14.75, 13.88], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], \"type\": \"scatter\"}, {\"y\": [97.0, 97.0, 97.71428571428571, 91.0, 96.2, 99.0, 98.0, 97.5, 98.0, 99.0, 98.0, 93.0, 93.0, 93.0, 97.5, 97.8, 97.0], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 19.3, 18.65, 21.22, 24.12, 24.81, 24.83, 22.33, 26.16, 25.44, 26.3, 22.7, 23.96, 24.51, 20.16], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \"type\": \"scatter\"}, {\"y\": [96.6, 97.0, 99.0, 97.0, 95.5, 98.33333333333333, 97.8, 97.16666666666667, 96.0, 89.2, 97.0, 94.375, 93.66666666666667, 89.0, 93.66666666666667, 84.57142857142857], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \"type\": \"scatter\"}], {}, {\"linkText\": \"Export to plot.ly\", \"showLink\": true})});</script>"
"<div id=\"12f2afc2-c404-4827-8a39-07b87121d7db\" style=\"height: 525px; width: 100%;\" class=\"plotly-graph-div\"></div><script type=\"text/javascript\">require([\"plotly\"], function(Plotly) { window.PLOTLYENV=window.PLOTLYENV || {};window.PLOTLYENV.BASE_URL=\"https://plot.ly\";Plotly.newPlot(\"12f2afc2-c404-4827-8a39-07b87121d7db\", [{\"y\": [14.29, 17.65, 19.17, 21.22, 18.65, 19.85, 22.7], \"x\": [0, 1, 2, 3, 4, 5, 6], \"type\": \"scatter\"}, {\"y\": [92.0, 93.33333333333333, 90.14285714285714, 90.16666666666667, 93.85714285714286, 92.0, 78.0], \"x\": [0, 1, 2, 3, 4, 5, 6], \"type\": \"scatter\"}, {\"y\": [14.29, 18.65, 17.65, 19.3, 21.22, 22.33, 24.12, 24.83, 23.96, 20.45], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], \"type\": \"scatter\"}, {\"y\": [82.2, 76.85714285714286, 86.33333333333333, 66.0, 74.0, 77.5, 54.333333333333336, 58.666666666666664, 59.4, 85.0], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 18.65, 19.3, 21.22, 22.33, 24.12, 19.17, 25.44, 22.7, 24.83, 19.85, 17.55, 23.96, 20.16, 20.45, 16.8, 23.35, 16.42, 20.22, 16.23], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], \"type\": \"scatter\"}, {\"y\": [67.4, 75.33333333333333, 76.42857142857143, 55.0, 68.0, 63.5, 47.333333333333336, 71.21428571428571, 74.0, 66.66666666666667, 73.16666666666667, 75.5, 79.875, 41.8, 85.46666666666667, 85.33333333333333, 82.83333333333333, 83.33333333333333, 88.33333333333333, 89.0952380952381, 90.5], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 21.22, 19.3, 24.12, 19.17, 16.8, 16.42, 16.23, 18.65, 19.08, 17.55, 17.87, 19.85, 20.45], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], \"type\": \"scatter\"}, {\"y\": [91.0, 91.33333333333333, 81.0, 73.0, 69.66666666666667, 69.5, 86.66666666666667, 86.66666666666667, 77.0, 80.57142857142857, 78.0, 91.5, 86.6, 86.0, 66.0], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 21.22, 24.12, 26.16, 24.83, 25.44, 28.67, 26.29, 22.33], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], \"type\": \"scatter\"}, {\"y\": [95.6, 95.66666666666667, 93.66666666666667, 92.66666666666667, 92.6, 87.66666666666667, 88.0, 93.8, 72.66666666666667, 85.5], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9], \"type\": \"scatter\"}, {\"y\": [14.29, 18.65, 19.3, 24.12, 25.37, 26.63, 31.32], \"x\": [0, 1, 2, 3, 4, 5, 6], \"type\": \"scatter\"}, {\"y\": [90.4, 88.71428571428571, 78.0, 89.0, 83.0, 88.77777777777777, 70.5], \"x\": [0, 1, 2, 3, 4, 5, 6], \"type\": \"scatter\"}, {\"y\": [14.29, 18.65, 17.65, 19.3, 21.22, 22.33, 24.81, 24.83, 25.44, 26.16, 19.17], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], \"type\": \"scatter\"}, {\"y\": [96.4, 98.85714285714286, 97.33333333333333, 95.0, 98.0, 98.0, 89.6, 92.83333333333333, 97.0, 96.4, 97.3076923076923], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 21.22, 24.12, 24.83, 22.33, 25.44, 26.16, 23.96, 24.51, 22.7, 25.75, 25.0, 26.29, 20.45, 20.16], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \"type\": \"scatter\"}, {\"y\": [93.4, 94.66666666666667, 93.33333333333333, 97.66666666666667, 98.5, 98.0, 96.0, 92.8, 93.6, 96.66666666666667, 98.66666666666667, 94.25, 95.0, 95.33333333333333, 98.66666666666667, 96.07142857142857], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 18.65, 21.22, 17.87, 15.79, 13.33, 12.26, 7.69, 13.76, 14.41, 14.63, 13.33, 13.33, 13.71, 14.75, 13.88], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], \"type\": \"scatter\"}, {\"y\": [97.0, 97.0, 97.71428571428571, 91.0, 96.2, 99.0, 98.0, 97.5, 98.0, 99.0, 98.0, 93.0, 93.0, 93.0, 97.5, 97.8, 97.0], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16], \"type\": \"scatter\"}, {\"y\": [14.29, 17.65, 19.3, 18.65, 21.22, 24.12, 24.81, 24.83, 22.33, 26.16, 25.44, 26.3, 22.7, 23.96, 24.51, 20.16], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \"type\": \"scatter\"}, {\"y\": [96.6, 97.0, 99.0, 97.0, 95.5, 98.33333333333333, 97.8, 97.16666666666667, 96.0, 89.2, 97.0, 94.375, 93.66666666666667, 89.0, 93.66666666666667, 84.57142857142857], \"x\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15], \"type\": \"scatter\"}], {}, {\"linkText\": \"Export to plot.ly\", \"showLink\": true})});</script>"
],
"text/plain": [
"<IPython.core.display.HTML object>"
Expand Down Expand Up @@ -182,7 +182,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.12"
"version": "2.7.10"
}
},
"nbformat": 4,
Expand Down
Loading