Skip to content

Commit

Permalink
lower case names for kernels
Browse files Browse the repository at this point in the history
  • Loading branch information
gpanterov committed Aug 14, 2012
1 parent 7be7228 commit 70ce4a4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions statsmodels/nonparametric/kernels.py
Expand Up @@ -194,8 +194,8 @@ def wang_ryzin_convolution(h, Xi, Xj):
for i in range(K):
Sigma_x = 0
for x in Dom_x[i]:
Sigma_x += WangRyzin(h[i], Xi[:, i],
int(x)) * WangRyzin(h[i], Xj[i], int(x))
Sigma_x += wang_ryzin(h[i], Xi[:, i],
int(x)) * wang_ryzin(h[i], Xj[i], int(x))

Ordered[:, i] = Sigma_x[:, 0]

Expand All @@ -216,9 +216,9 @@ def aitchison_aitken_convolution(h, Xi, Xj):
for i in range(K):
Sigma_x = 0
for x in Dom_x[i]:
Sigma_x += AitchisonAitken(h[i], Xi[:, i], int(x),
Sigma_x += aitchison_aitken(h[i], Xi[:, i], int(x),
num_levels=len(Dom_x[i])) * \
AitchisonAitken(h[i], Xj[i], int(x), num_levels=len(Dom_x[i]))
aitchison_aitken(h[i], Xj[i], int(x), num_levels=len(Dom_x[i]))

Ordered[:, i] = Sigma_x[:, 0]

Expand Down Expand Up @@ -258,7 +258,7 @@ def aitchison_aitken_cdf(h, Xi, x_u):
Sigma_x = 0
for x in Dom_x[i]:
if x <= x_u:
Sigma_x += AitchisonAitken(h[i], Xi[:, i], int(x),
Sigma_x += aitchison_aitken(h[i], Xi[:, i], int(x),
num_levels=len(Dom_x[i]))

Ordered[:, i] = Sigma_x[:, 0]
Expand Down Expand Up @@ -290,7 +290,7 @@ def wang_ryzin_cdf(h, Xi, x_u):
Sigma_x = 0
for x in Dom_x[i]:
if x <= x_u:
Sigma_x += WangRyzin(h[i], Xi[:, i], int(x))
Sigma_x += wang_ryzin(h[i], Xi[:, i], int(x))

Ordered[:, i] = Sigma_x[:, 0]

Expand Down

0 comments on commit 70ce4a4

Please sign in to comment.