A clean installation of Ubuntu 18.04.02 LTS was used.
This gist is an extension to the official docs, adding missing parts and instructions.
follow the pre-installation actions on:
A clean installation of Ubuntu 18.04.02 LTS was used.
This gist is an extension to the official docs, adding missing parts and instructions.
follow the pre-installation actions on:
wakatime |
using BinaryBuilder | |
const src_name = "ViZDoom" | |
const src_version = v"1.2.1" | |
platforms = [ | |
BinaryProvider.Linux(:x86_64, :glibc) | |
] | |
sources = [ |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from articles.models import Article | |
# Create your views here. | |
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger | |
#!/usr/bin/env python | |
"""Simple HTTP Server With Upload. | |
This module builds on BaseHTTPServer by implementing the standard GET | |
and HEAD requests in a fairly straightforward manner. | |
""" |
plt.rcParams['figure.figsize'] = (15, 10) # set default fig size | |
click_file = './data/yoochoose-data/yoochoose-clicks.dat' | |
buy_file = './data/yoochoose-data/yoochoose-buys.dat' | |
click = pd.read_csv(click_file, | |
header=None, index_col=False, parse_dates=[1], | |
names=['SesID', 'TimeStamp','ItemID','Category'], | |
dtype={'SesID':str, | |
'TimeStamp':datetime, |
total = pd.concat([click[['TimeStamp','SesID','ItemID']],buy[['TimeStamp','SesID','ItemID']]], | |
ignore_index=True) | |
buy_sessions = buy['SesID'].drop_duplicates() | |
total['IsBuy'] = total['SesID'].isin(buy_sessions) | |
total_sesID_group = total.groupby('SesID') | |
click_sesID_group = total[total['IsBuy'] == False].groupby('SesID') | |
buy_sesID_group = total[total['IsBuy'] == True].groupby('SesID') | |
item2category = click[['ItemID','Category']].copy() |
{ | |
"metadata": { | |
"signature": "sha256:64a50bdb2c1208370196ddd66a389e0c14ccc4bc39b13d8b3a5052740c85f4ad" | |
}, | |
"nbformat": 3, | |
"nbformat_minor": 0, | |
"worksheets": [ | |
{ | |
"cells": [ | |
{ |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
from articles.models import Article | |
# Create your views here. | |
from django.core.paginator import Paginator, EmptyPage, PageNotAnInteger | |