Skip to content

Instantly share code, notes, and snippets.

View p1ass's full-sized avatar
🎧
o(^_-)O

Naoki Kishi p1ass

🎧
o(^_-)O
View GitHub Profile
@p1ass
p1ass / embed_computer_systems_11_11.py
Created November 11, 2019 06:42
組み込み計算機システム 小課題 (11/11〆)
input = [0 for _ in range(12)]
input[0] = 0x00007650
input[1] = 0x00007654
input[2] = 0x000076e0
input[3] = 0x000076e4
input[4] = 0x00007660
input[5] = 0x000076ec
input[6] = 0x00007650
input[7] = 0x000076ec
@p1ass
p1ass / advent_2019_rule.md
Last active December 1, 2019 04:03
CAMPHOR- Advent Calendar 2019 Rules

CAMPHOR- Advent Calendar 2019 Rules

CAMPHOR- Advent Calendar 2019 の執筆にあたってのルールです.

Advent Calender とは

元々はクリスマスまでの日数をカウントダウンするために使われていたカレンダーで、12月1日からはじまり、25個ある「窓」を毎日1つずつ開けて中に入っている小さなお菓子やプレゼントを楽しむものです。 近年、このカレンダーにならい、インターネット上において定められたテーマに従い参加者が持ち回りで自身のブログやサイトに記事を投稿する企画が多く実施されています。

https://help.qiita.com/ja/articles/qiita-adcal-1 より

実施期間

@p1ass
p1ass / perceptron.py
Created August 15, 2019 07:48
システム最適化
import numpy as np
import pandas as pd
def fc(A: np.ndarray, x: np.ndarray, b: np.ndarray) -> np.ndarray:
# m*n行列Aを用いてy = A*x +b を計算する
y = np.dot(A, x).reshape(b.shape[0], 1)
return y + b
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.