Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<v-container> | |
<v-layout align-center> | |
<v-btn | |
:disabled="!!taskId" | |
depressed | |
class="ma-0" | |
@click="onClickPlay"> | |
<v-icon>play_arrow</v-icon> | |
</v-btn> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<template> | |
<div class="pa-4"> | |
<v-chip | |
v-for="item in sortedItems" | |
:class="itemClass(item)" | |
:key="item.value" | |
@click="onClickItem(item)"> | |
{{ item.text }} | |
</v-chip> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import numpy as np | |
import matplotlib.pyplot as plt | |
def gaussian_kernel(x, basis=None): | |
if basis is None: | |
basis = np.linspace(-1.2, 1.2, 101) | |
# parameter is my choice >_< | |
phi = np.exp(- (x.reshape(-1, 1) - basis) ** 2 * 250) |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import matplotlib.pyplot as plt | |
import numpy as np | |
import seaborn as sns | |
def decorate_arrows(plotting): | |
def inner(x, y,figsize=(6,4), delete_labels=True, fontdict='default',xlim='default',ylim='default'): | |
fig, ax = plotting(x, y, figsize) | |
incs = fig.get_size_inches() | |
incs = np.array(incs) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# coding: utf-8 | |
# In[3]: | |
from chainer import Chain | |
from chainer import Variable,optimizers | |
import chainer.functions as F | |
import chainer.links as L |
NewerOlder