Skip to content

Instantly share code, notes, and snippets.

View huni1023's full-sized avatar
🎯
Focusing

JeeHun Sung huni1023

🎯
Focusing
  • Korea Institue for Curriculum and Evaluation
  • Chungcheongbuk-do, Republic of Korea
View GitHub Profile
@farshadl123
farshadl123 / rasch_model.py
Last active November 27, 2023 02:16
rasch_model_pymc3
with pm.Model() as model:
## Independent priors
alpha = pm.Normal('Person', mu = 0, sigma = 3, shape = (1, len(data)))
gamma = pm.Normal('Question', mu = 0, sigma = 3, shape = (data.shape[1], 1))
## Log-Likelihood
def logp(d):
v1 = tt.transpose(d) * tt.log(tt.nnet.sigmoid(alpha - (gamma - gamma.mean(0))))
v2 = tt.transpose((1-d)) * tt.log(1 - tt.nnet.sigmoid(alpha - (gamma - gamma.mean(0))))
@hmmhmmhm
hmmhmmhm / sigungu.json
Last active April 27, 2023 15:50
한국의 모든 시/군/구 전국 지역 좌표 JSON 대한민국 지역 좌표 pre_rendered
{
"서울특별시/강남구": {
"lat": "37.4951",
"long": "127.06278"
},
"서울특별시/강동구": {
"lat": "37.55274",
"long": "127.14546"
},
"서울특별시/강북구": {
@kshepp
kshepp / repeatable_content.html
Last active May 17, 2024 05:28
Django Header, Navbar, and Footer
<!-- This loads of all of files that you call below from your 'static' folder -->
{% load staticfiles %}
<!--The static folder consists of your bootstrap files (.css, .js, fonts, etc)-->
<!--When you load the static folders is calls all those folders in the static files without having to code each one in individually-->
<html>
<head>
<!--This is the meta information which is good for SEO-->
{% block head-meta %}
<meta charset="utf-8">