author int64 658 755k | date stringlengths 19 19 | timezone int64 -46,800 43.2k | hash stringlengths 40 40 | message stringlengths 5 490 | mods list | language stringclasses 20
values | license stringclasses 3
values | repo stringlengths 5 68 | original_message stringlengths 12 491 |
|---|---|---|---|---|---|---|---|---|---|
641,904 | 13.08.2018 09:53:10 | 25,200 | 73e2d4a42e87dc2cf32efa313e6885cc237aa12c | Fix and lint for misleading indentation E125,E129 | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -9,6 +9,10 @@ select=\n# F882: undefined name name in __all__\nF823,\n# F821: local variable name ... referenced before assignment\n+ E129,\n+ # E129: visually indented line with same indent as next logical line... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fix and lint for misleading indentation E125,E129 |
641,904 | 13.08.2018 10:33:11 | 25,200 | 5d07437bc133aea0b10b070550549dac2d61ae70 | Fix and lint for multiple spaces after keyword E271 | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "[flake8]\nexclude=.git,build,docs\nselect=\n+ E271,\n+ # E271: multiple spaces after keyword\nE901,\n# E901: raise NotImplemented should be raise NotImplementedError\nE999,\n"
},
{
"change_type": "MODIFY",
... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fix and lint for multiple spaces after keyword E271 |
641,904 | 04.08.2018 16:42:41 | 25,200 | edfb233b07330f4d28b8fe39cd153019faa42a44 | fix tab indentation, add to lint.sh | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -5,6 +5,10 @@ select=\n# E901: raise NotImplemented should be raise NotImplementedError\nE999,\n# E999: Syntax Error\n+ E101,\n+ # E101: indentation contains mixed spaces and tabs\n+ W191,\n+ # W191: indentation... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix tab indentation, add to lint.sh |
641,904 | 04.08.2018 16:47:42 | 25,200 | 2fb1b853922f53e84822dd09d7b270927bd68314 | Fix and lint for E227 | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -15,5 +15,7 @@ select=\n# F821: local variable name ... referenced before assignment\nE111,\n# E111: Indentation is not a multiple of four\n- E114\n+ E114,\n# E114: Indentation is not a multiple of four (comment... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fix and lint for E227 |
641,904 | 04.08.2018 16:50:28 | 25,200 | e44bdb588d5533a8368ad8218c0df93536e6c44d | Fix and lint whitespace before [ E211 | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -17,5 +17,7 @@ select=\n# E111: Indentation is not a multiple of four\nE114,\n# E114: Indentation is not a multiple of four (comment)\n- E227\n+ E227,\n# E227: missing whitespace around bitwise or shift operator... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fix and lint whitespace before [ E211 |
641,904 | 04.08.2018 16:52:08 | 25,200 | 1e440cc4a82f0366b80b74142f41ffd1b7381249 | fix and lint F402 import being overriden in loop | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -19,5 +19,7 @@ select=\n# E114: Indentation is not a multiple of four (comment)\nE227,\n# E227: missing whitespace around bitwise or shift operator\n- E211\n+ E211,\n# E211: whitespace before '['\n+ F402\n+ # F4... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix and lint F402 import being overriden in loop |
641,904 | 04.08.2018 17:36:45 | 25,200 | f0416dacca4755ca6ff4a06f5f8f677957cac051 | fix and lint for has_key deprecation | [
{
"change_type": "MODIFY",
"old_path": "docs/sphinxext/numpy_ext/docscrape.py",
"new_path": "docs/sphinxext/numpy_ext/docscrape.py",
"diff": "@@ -116,7 +116,7 @@ class NumpyDocString(object):\nreturn self._parsed_data[key]\ndef __setitem__(self,key,val):\n- if not self._parsed_data.has_key(key):\n+ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix and lint for has_key deprecation |
641,904 | 12.08.2018 12:09:52 | 25,200 | bb1d7b031cc63bb6b0e35b579384fbcc53987b1a | remove empty __main__ sections | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/tests/test_generic_methods.py",
"new_path": "statsmodels/base/tests/test_generic_methods.py",
"diff": "@@ -854,8 +854,3 @@ class TestTTestPairwisePoisson(CheckPairwise):\ncls.constraints = ['C(Weight)[T.2]',\n'C(Weight)[T.3]',\n'C(Weight)[T.3]... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | remove empty __main__ sections |
641,904 | 13.08.2018 16:05:46 | 25,200 | d167e37e4c08fe95b117834b4087e1ee73eb367a | lint for multiple imports on one line | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -21,6 +21,8 @@ select=\n# E227: missing whitespace around bitwise or shift operator\nE211,\n# E211: whitespace before '['\n+ E401,\n+ # E401: multiple imports on one line\nF402,\n# F402: import 'assert_equal' fr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | lint for multiple imports on one line |
641,904 | 13.08.2018 16:53:25 | 25,200 | 87db4a416b5bd580577e82f07d3b72e414a15e1e | fix and lint for E228 missing space around modulo operator | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -19,6 +19,8 @@ select=\n# E114: Indentation is not a multiple of four (comment)\nE227,\n# E227: missing whitespace around bitwise or shift operator\n+ E228,\n+ # E228: missing whitespace around modulo operator\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix and lint for E228 missing space around modulo operator |
641,904 | 14.08.2018 20:29:05 | 25,200 | 221cb235dfb660e0ee2e864e5e2b29a3500e9d10 | Fix blank lines E301,E302,E303,E305,E306 in tools | [
{
"change_type": "MODIFY",
"old_path": "tools/backport_pr.py",
"new_path": "tools/backport_pr.py",
"diff": "@@ -39,18 +39,21 @@ from gh_api import (\nfrom pandas import Series\n+\ndef find_rejects(root='.'):\nfor dirname, dirs, files in os.walk(root):\nfor fname in files:\nif fname.endswith('.rej'):... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fix blank lines E301,E302,E303,E305,E306 in tools |
641,904 | 14.08.2018 20:31:29 | 25,200 | 8df3e7e86d7808b33f5e553bcedbe179b54bfd0f | Fix blank lines E301,E302,E303,E305,E306 in examples | [
{
"change_type": "MODIFY",
"old_path": "examples/incomplete/wls_extended.py",
"new_path": "examples/incomplete/wls_extended.py",
"diff": "@@ -47,7 +47,6 @@ fvalue = mse_model/wls_fit.mse_resid\nrsquared_adj = 1 -(wls_fit.nobs)/(wls_fit.df_resid)*(1-rsquared)\n-\n#Trying to figure out what's going on... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fix blank lines E301,E302,E303,E305,E306 in examples |
641,904 | 18.08.2018 20:41:14 | 25,200 | c4b72e31eea513c2fa079db4f81c9141ac9c8af7 | remove exact duplicate file | [
{
"change_type": "DELETE",
"old_path": "statsmodels/sandbox/tests/datamlw.py",
"new_path": null,
"diff": "-import numpy as np\n-from numpy import array\n-\n-\n-class Holder(object):\n- pass\n-\n-\n-data = Holder()\n-data.comment = 'generated data, divide by 1000'\n-data.name = 'data'\n-data.xo = arr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | remove exact duplicate file |
642,048 | 16.08.2018 10:14:50 | 14,400 | 9dd75f10abe0b892b2ef99d85620d55e7255e899 | Initial commit of miscellaneous bug fixes and enhancements to knockoff | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/_knockoff.py",
"new_path": "statsmodels/stats/_knockoff.py",
"diff": "@@ -24,8 +24,9 @@ http://statweb.stanford.edu/~candes/papers/FDR_regression.pdf\n\"\"\"\nimport numpy as np\n+import pandas as pd\nfrom statsmodels.compat.numpy import np_n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Initial commit of miscellaneous bug fixes and enhancements to knockoff |
642,048 | 17.08.2018 10:11:17 | 14,400 | cf55cfce0539b75865c49ab0dfc126f92b818927 | Fixups after code review, add fix for ignored parameter in GEE results summary | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_estimating_equations.py",
"new_path": "statsmodels/genmod/generalized_estimating_equations.py",
"diff": "@@ -1644,24 +1644,25 @@ class GEEResults(base.LikelihoodModelResults):\ntitle = self.model.__class__.__name__ + ' ' +\\\n\"R... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fixups after code review, add fix for ignored parameter in GEE results summary |
642,048 | 17.08.2018 23:52:52 | 14,400 | d7775578ae371777a5efc7c387f4d73dbce5013f | handle missing cvxopt in tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_knockoff.py",
"new_path": "statsmodels/stats/tests/test_knockoff.py",
"diff": "@@ -69,6 +69,9 @@ def test_sdp():\n@pytest.mark.parametrize(\"method\", [\"equi\", \"sdp\"])\ndef test_testers(p, tester, method):\n+ if method == \"sdp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | handle missing cvxopt in tests |
642,048 | 14.08.2018 23:12:46 | 14,400 | 91298e060ac961b920fdb5f2e1ef59c3813cb0ad | Initial commit of QIC for GEE | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_estimating_equations.py",
"new_path": "statsmodels/genmod/generalized_estimating_equations.py",
"diff": "@@ -1324,6 +1324,91 @@ class GEE(base.Model):\nreturn margeff\n+ def QIC(self, params, scale, cov_params):\n+ \"\"\"\n+ Retu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Initial commit of QIC for GEE |
642,048 | 14.08.2018 23:34:24 | 14,400 | ea9f891a11a36d578e14ab8be2f0096e308c7a2f | fix check for covariance structure | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_estimating_equations.py",
"new_path": "statsmodels/genmod/generalized_estimating_equations.py",
"diff": "@@ -1373,8 +1373,9 @@ class GEE(base.Model):\nequations. Biometrics (57)1.\n\"\"\"\n- if self.cov_struct is not cov_structs.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix check for covariance structure |
642,048 | 15.08.2018 17:52:48 | 14,400 | ff711452e0d5c97d1f26a1f3d4396623b58482da | rename QIC to qic | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_estimating_equations.py",
"new_path": "statsmodels/genmod/generalized_estimating_equations.py",
"diff": "@@ -1324,7 +1324,7 @@ class GEE(base.Model):\nreturn margeff\n- def QIC(self, params, scale, cov_params):\n+ def qic(self, p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | rename QIC to qic |
642,048 | 17.08.2018 10:40:15 | 14,400 | 992b26b55962a8dc3cf86131156603f4ea32fe1c | Fix QIC->qic in result.qic, add test for result.qic | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_estimating_equations.py",
"new_path": "statsmodels/genmod/generalized_estimating_equations.py",
"diff": "@@ -1551,7 +1551,7 @@ class GEEResults(base.LikelihoodModelResults):\nif scale is None:\nscale = self.scale\n- _, qic, qicu ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Fix QIC->qic in result.qic, add test for result.qic |
641,904 | 23.08.2018 11:49:36 | 25,200 | df11bc04e855c246a365683c38f88509859a03ad | remove bzrignore | [
{
"change_type": "DELETE",
"old_path": ".bzrignore",
"new_path": null,
"diff": "-*.py[oc]\n-# setup.py working directory\n-build\n-# setup.py dist directory\n-./dist\n-# Editor temporary/working/backup files\n-*$\n-.*.sw[nop]\n-.sw[nop]\n-*~\n-[#]*#\n-.#*\n-*.bak\n-*.tmp\n-*.tgz\n-*.rej\n-*.org\n-.p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | remove bzrignore |
641,904 | 23.08.2018 12:28:49 | 25,200 | 4b83623a93baf1644c6d14115f06f638b2639b12 | [BUG/MAINT] Fix NameErrors caused by missing kwargs, in one case just reader-confusion caused by obscure namespace behavior | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/nonlinls.py",
"new_path": "statsmodels/miscmodels/nonlinls.py",
"diff": "@@ -214,10 +214,10 @@ class NonlinearLS(Model): #or subclass a model\nself._results = lfit\nreturn lfit\n- def fit_minimal(self, start_value):\n+ def fit_minimal(se... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [BUG/MAINT] Fix NameErrors caused by missing kwargs, in one case just reader-confusion caused by obscure namespace behavior |
641,904 | 23.08.2018 12:59:50 | 25,200 | 98900b576edfe498ddfa3fe22e4574d5beb093fb | [MAINT/TST] remove np.testing.dec unused imports (nose dependency) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/graphics/tests/test_mosaicplot.py",
"new_path": "statsmodels/graphics/tests/test_mosaicplot.py",
"diff": "from __future__ import division\nfrom statsmodels.compat.python import iterkeys, zip, lrange, iteritems, range\n-from numpy.testing import ass... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/TST] remove np.testing.dec unused imports (nose dependency) |
641,904 | 23.08.2018 14:37:55 | 25,200 | a0e105ec711423f218890dc739ef2a370876f69f | [MAINT] Fix typo Paramters-->Parameters [ci skip] | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -1436,7 +1436,7 @@ class GeneralizedPoisson(CountModel):\nself._transparams = True\nelse:\nif use_transparams:\n- warnings.warn(\"Paramter \\\"use_transp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] Fix typo Paramters-->Parameters [ci skip] |
641,904 | 23.08.2018 18:19:38 | 25,200 | 30f5fbc4ee69f5702bf0b6f7928e4c6777fc36dd | [MAINT/CLN] Remove code made unusable due to license issue | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/generalized_linear_model.py",
"new_path": "statsmodels/genmod/generalized_linear_model.py",
"diff": "@@ -1946,30 +1946,3 @@ Log likelihood = -76.94564525 BIC = 10.20398\n_cons | -34.84602 1.79333 -19.43 0.000 -38.36089 -31.33116\n-----------... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/CLN] Remove code made unusable due to license issue |
641,904 | 23.08.2018 18:28:31 | 25,200 | 3be29f4d11d2554de94b18acafdb106cea376b28 | [MAINT/CLN] remove __main__ section explicitly marked as scratch work | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/numdiff.py",
"new_path": "statsmodels/tools/numdiff.py",
"diff": "@@ -363,86 +363,3 @@ equation = \"\"\"1/(4*d_j*d_k) * ((f(x + d[j]*e[j] + d[k]*e[k]) - f(x + d[j]*e[j]\n- d[k]*e[k]))\"\"\")\napprox_hess = approx_hess3\napprox_hess.__doc__ +=... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/CLN] remove __main__ section explicitly marked as scratch work |
641,904 | 23.08.2018 19:19:10 | 25,200 | 228ecb8273e86ef6e116576a1f50372a0ed06b15 | [CLN] remove function with a TODO note saying it should be imported from grouputils | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/sandwich_covariance.py",
"new_path": "statsmodels/stats/sandwich_covariance.py",
"diff": "@@ -105,7 +105,7 @@ from statsmodels.compat.python import range\nimport pandas as pd\nimport numpy as np\n-from statsmodels.tools.grouputils import Grou... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [CLN] remove function with a TODO note saying it should be imported from grouputils |
641,904 | 23.08.2018 19:33:26 | 25,200 | 7eab99fbde6d69923ace09a07bf138d66673a852 | [TST/CLN] remove unconditionally run tests, add files to strict linting | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/grouputils.py",
"new_path": "statsmodels/tools/grouputils.py",
"diff": "@@ -31,7 +31,7 @@ from __future__ import print_function\nfrom statsmodels.compat.python import lrange, lzip, range\nimport numpy as np\nimport pandas as pd\n-from statsmo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/CLN] remove unconditionally run tests, add files to strict linting |
641,904 | 24.08.2018 06:37:11 | 25,200 | 903d1b27910d8ae108a628385326e44fe4a491ec | [MAINT] remove wrappers.py | [
{
"change_type": "DELETE",
"old_path": "statsmodels/tools/wrappers.py",
"new_path": null,
"diff": "-# -*- coding: utf-8 -*-\n-\"\"\"Convenience Wrappers\n-\n-Created on Sat Oct 30 14:56:35 2010\n-\n-Author: josef-pktd\n-License: BSD\n-\"\"\"\n-\n-import numpy as np\n-import statsmodels.api as sm\n-f... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove wrappers.py |
641,904 | 23.08.2018 19:05:59 | 25,200 | 1775ac1f69dcf83c4ff0958ba81f34d8fb35fe06 | [TST] make tools.linalg __main__ section into tests | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -22,6 +22,8 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/regression/mixed_linear_model.py \\\nstatsmodels/duration/__init__.py \\\nstatsmodels/regression/recursive_ls.py \\\n+ statsmodels/tools/linalg.py \\\n+ sta... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST] make tools.linalg __main__ section into tests |
641,904 | 24.08.2018 13:34:44 | 25,200 | 5d7e8c2edd80de90c318eccbeed942367c1e03ca | [MAINT] add missing import | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/tsa/examples/ex_mle_garch.py",
"new_path": "statsmodels/sandbox/tsa/examples/ex_mle_garch.py",
"diff": "@@ -65,6 +65,8 @@ from __future__ import print_function\nimport numpy as np\nfrom numpy.testing import assert_almost_equal\n+from scipy ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] add missing import |
641,904 | 24.08.2018 13:40:46 | 25,200 | 4f4c259e44866891163d95972c213147ab79c6e3 | MAINT: fix invalid exception messages | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/panel/panelmod.py",
"new_path": "statsmodels/sandbox/panel/panelmod.py",
"diff": "@@ -289,8 +289,8 @@ class PanelModel(object):\nendog = self._group_mean(self.endog, index=effects)\nexog = self._group_mean(self.exog, index=effects)\nelse:\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix invalid exception messages |
641,904 | 24.08.2018 15:28:23 | 25,200 | 81559132a09b5e80aa20c4c8fbb167c6ac362a49 | MAINT: unused imports in robust | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/__init__.py",
"new_path": "statsmodels/robust/__init__.py",
"diff": "\"\"\"\nRobust statistical models\n\"\"\"\n+__all__ = [\"norms\", \"mad\", \"Huber\", \"HuberScale\", \"hubers_scale\"]\nfrom . import norms\nfrom .scale import mad, Huber,... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: unused imports in robust |
641,904 | 24.08.2018 17:55:27 | 25,200 | 4a5798fee7603b4fee2762ed25d6642469785033 | [MAINT] remove unused heartdata.csv; duplicate of sm.datasets.heart | [
{
"change_type": "DELETE",
"old_path": "statsmodels/emplike/heartdata.csv",
"new_path": null,
"diff": "-15;1;54.3\n-3;1;40.4\n-624;1;51\n-46;1;42.5\n-127;1;48\n-64;1;54.6\n-1350;1;54.1\n-280;1;49.5\n-23;1;56.9\n-10;1;55.3\n-1024;1;43.4\n-39;1;42.8\n-730;1;58.4\n-136;1;52\n-1775;0;33.3\n-1;1;54.2\n-8... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove unused heartdata.csv; duplicate of sm.datasets.heart |
641,904 | 24.08.2018 17:56:40 | 25,200 | 73f6b58fe14c644c2959db07b2ba0a7d017f5296 | [MAINT] remove 7-year-old unused TODO.txt file | [
{
"change_type": "DELETE",
"old_path": "statsmodels/TODO.txt",
"new_path": null,
"diff": "-Tests TODO\n-----------\n-Test I/O of models wrt array types, dimensions\n- - add checks in all top class for data\n-\n-Known Issues\n-----------\n-Need to clip mu's in GLM to avoid np.log(0), etc. (done for g... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove 7-year-old unused TODO.txt file |
641,904 | 24.08.2018 17:57:29 | 25,200 | 45368b1b58e712a9cd345e035357ef84b437efed | [MAINT] remove relic of move from scikits/statsmodels | [
{
"change_type": "DELETE",
"old_path": "statsmodels/iolib/notes_table_update.txt",
"new_path": null,
"diff": "-updating table.py from econpy\n-=============================\n-\n-table.py :\n- reformat tabs to 4 spaces\n- adjust import path in docstrings\n- currently insufficient tests for backwards ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove relic of move from scikits/statsmodels |
641,904 | 23.08.2018 14:34:26 | 25,200 | a024fbdbb7535d76660dc7f589d80316fd437935 | [MAINT] Remove info.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/api.py",
"new_path": "statsmodels/api.py",
"diff": "+# -*- coding: utf-8 -*-\nfrom . import iolib\nfrom . import datasets\nfrom . import tools\n@@ -29,7 +30,7 @@ from .nonparametric import api as nonparametric\nfrom . import distributions\nfrom .__... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] Remove info.py |
641,904 | 23.08.2018 18:50:57 | 25,200 | 6266d8fd564b629be86b0a2311db678af74aa07e | [TST/CLN] Turn decorators __main__ section into tests | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -24,6 +24,8 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/regression/recursive_ls.py \\\nstatsmodels/tools/linalg.py \\\nstatsmodels/tools/tests/test_linalg.py \\\n+ statsmodels/tools/decorators.py \\\n+ statsmodel... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/CLN] Turn decorators __main__ section into tests |
641,904 | 25.08.2018 15:10:12 | 25,200 | 6c1da64d83ebbc770506dc78b755baf9d66fb8f7 | MAINT: fix incorrect docstring summary-->summary2 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -3620,7 +3620,7 @@ class DiscreteResults(base.LikelihoodModelResults):\nsmry = Summary()\nyname, yname_list = self._get_endog_name(yname, yname_list)\n# ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix incorrect docstring summary-->summary2 |
641,904 | 25.08.2018 15:19:32 | 25,200 | cbb625b9cc6afa75c8be6c6e59d456ca0eed18b0 | MAINT: fix typo duplicated References in docstring | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -2438,6 +2438,7 @@ class MNLogit(MultinomialModel):\n# return mlefit\n#\n+\nclass NegativeBinomial(CountModel):\n__doc__ = \"\"\"\nNegative Binomial Mode... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix typo duplicated References in docstring |
641,904 | 25.08.2018 19:10:56 | 25,200 | 1655aec08affb0cca2789782d69c672e0517638d | MAINT: remove functions duplicated from scipy | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/linalg.py",
"new_path": "statsmodels/tools/linalg.py",
"diff": "-'''local, adjusted version from scipy.linalg.basic.py\n-\n-\n-changes:\n-The only changes are that additional results are returned\n-\n-'''\n-from __future__ import print_functi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove functions duplicated from scipy |
641,904 | 24.08.2018 19:38:11 | 25,200 | 0598a305d0fc23c1390d7531148eeaaa7dd007f7 | [MAINT] fix typo depricated-->deprecated | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -26,6 +26,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tools/tests/test_linalg.py \\\nstatsmodels/tools/decorators.py \\\nstatsmodels/tools/tests/test_decorators.py \\\n+ statsmodels/tsa/vector_ar/dynamic.py \\\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] fix typo depricated-->deprecated |
641,904 | 24.08.2018 08:25:12 | 25,200 | 019d0ebd9afa339989f7ae73c88d29cbef03a434 | [TST/MAINT] remove checks for has_basinhopping; added in 0.12.0 but sm requires 0.18 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/optimizer.py",
"new_path": "statsmodels/base/optimizer.py",
"diff": "@@ -550,9 +550,6 @@ def _fit_powell(f, score, start_params, fargs, kwargs, disp=True,\ndef _fit_basinhopping(f, score, start_params, fargs, kwargs, disp=True,\nmaxiter=100, c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/MAINT] remove checks for has_basinhopping; added in 0.12.0 but sm requires 0.18 |
641,904 | 24.08.2018 08:27:15 | 25,200 | ab644604aa09638266c2f66f0c0b4d17ac60241d | [MAINT] remove check for scipy blas, added 0.12.0 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_kalman.py",
"new_path": "statsmodels/tsa/statespace/tests/test_kalman.py",
"diff": "@@ -27,19 +27,7 @@ import pandas as pd\nimport os\nimport pytest\n-try:\nfrom scipy.linalg.blas import find_best_blas_type\n-except Import... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove check for scipy blas, added 0.12.0 |
641,904 | 24.08.2018 08:28:46 | 25,200 | de53fbb01018a79d49ef64dd95cea8994992e6f3 | [MAINT] remove check for minimize_dogleg, in scipy as of Feb 20, 2015 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -39,12 +39,6 @@ except ImportError:\nhas_cvxopt = False\n-try:\n- from scipy.optimize._trustregion_dogleg import _minimize_dogleg\n- has_dogleg... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove check for minimize_dogleg, in scipy as of Feb 20, 2015 |
641,904 | 24.08.2018 08:31:13 | 25,200 | 4d6c9ac5f49aa7e51daf4f9f0e2acdaa00afec18 | [MAINT] remove np_new_unique, available as of 1.9.0, but sm requires 1.11 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/compat/numpy.py",
"new_path": "statsmodels/compat/numpy.py",
"diff": "@@ -43,136 +43,10 @@ from __future__ import absolute_import\nimport numpy as np\nfrom .python import PY3\n-from .scipy import NumpyVersion\nnp_matrix_rank = np.linalg.matrix_rank... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove np_new_unique, available as of 1.9.0, but sm requires 1.11 |
641,904 | 24.08.2018 08:32:10 | 25,200 | 861afb4df1e59f3d47c38d5b8caf488106b9ec27 | [MAINT] remove shim for py26 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/compat/scipy.py",
"new_path": "statsmodels/compat/scipy.py",
"diff": "@@ -2,15 +2,6 @@ from __future__ import absolute_import\nimport numpy as np\n-def _bit_length_26(x):\n- if x == 0:\n- return 0\n- elif x == 1:\n- return 1\n- else:\n- return len(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove shim for py26 |
641,904 | 24.08.2018 08:34:54 | 25,200 | ba7f1fbcbb5a1f433fcab21f318e10ef620ed386 | [MAINT] remove unused imports of NumpyVersion | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/tests/test_generic_methods.py",
"new_path": "statsmodels/base/tests/test_generic_methods.py",
"diff": "@@ -11,7 +11,6 @@ Created on Wed Oct 30 14:01:27 2013\nAuthor: Josef Perktold\n\"\"\"\nfrom statsmodels.compat.python import range\n-from st... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove unused imports of NumpyVersion |
641,904 | 24.08.2018 11:23:54 | 25,200 | 76e96162b4ab361d195027bfc130d0aa17c5bd4a | [TST/MAINT] remove has_range_index check | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"new_path": "statsmodels/tsa/tests/test_tsa_indexes.py",
"diff": "@@ -16,16 +16,6 @@ import numpy as np\nimport pandas as pd\nimport pytest\n-# RangeIndex only introduced in Pandas 0.18, so we include a shim until\n-... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/MAINT] remove has_range_index check |
641,904 | 24.08.2018 11:24:25 | 25,200 | 77da8538454a3550b797e3a30fe7e515c490248a | [TST/MAINT] remove numpy<1.7 check | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_arima_process.py",
"new_path": "statsmodels/tsa/tests/test_arima_process.py",
"diff": "@@ -29,7 +29,6 @@ malist = [[1.],\n[1, 0.9, -0.3]]\nDECIMAL_4 = 4\n-NP16 = LooseVersion(np.__version__) < '1.7'\ndef test_arma_acovf():\n@@ -242,7... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/MAINT] remove numpy<1.7 check |
641,904 | 26.08.2018 14:42:58 | 25,200 | 8b1383ddce603bfb9eed021463329da37d6fc685 | MAINT: remove unnecessary pandas>=0.17 check | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_diagnostic.py",
"new_path": "statsmodels/stats/tests/test_diagnostic.py",
"diff": "@@ -9,19 +9,11 @@ License: BSD-3\ncurrently all tests are against R\n\"\"\"\n-#import warnings\n-#warnings.simplefilter(\"default\")\n-# ResourceWar... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove unnecessary pandas>=0.17 check |
641,904 | 26.08.2018 14:44:53 | 25,200 | 41b296d5c38732aee24678966079326b03d5a1ef | MAINT: get NumpyVersion from np; available since 1.9.0 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/compat/numpy.py",
"new_path": "statsmodels/compat/numpy.py",
"diff": "@@ -71,5 +71,6 @@ def _bytelike_dtype_names(arr):\nif not PY3:\ndtype = arr.dtype\nnames = dtype.names\n- names = [bytes(name) if isinstance(name, unicode) else name for name in ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: get NumpyVersion from np; available since 1.9.0 |
641,904 | 26.08.2018 14:48:14 | 25,200 | 9400995693318fbe91240968055b8e6eaa8786a7 | MAINT: remove unused pandas shims | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/compat/pandas.py",
"new_path": "statsmodels/compat/pandas.py",
"diff": "@@ -2,47 +2,21 @@ from __future__ import absolute_import\nfrom distutils.version import LooseVersion\n-import numpy as np\nimport pandas\n+from pandas import RangeIndex, Float6... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove unused pandas shims |
642,065 | 25.08.2018 18:37:35 | 18,000 | b215f3bc2c457cc4f41473d439b84582507bb00e | Removed as_pandas warnings in documentation | [
{
"change_type": "MODIFY",
"old_path": "docs/source/contingency_tables.rst",
"new_path": "docs/source/contingency_tables.rst",
"diff": "@@ -264,7 +264,7 @@ methods and attributes.\n.. ipython:: python\n- data = sm.datasets.china_smoking.load()\n+ data = sm.datasets.china_smoking.load_pandas()\nmat =... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Removed as_pandas warnings in documentation |
642,065 | 25.08.2018 21:00:29 | 18,000 | ac7b4df31b3cc8e74fb59201edda34dfcb3a2580 | Needed to clean up a few more straggling load methods | [
{
"change_type": "MODIFY",
"old_path": "docs/source/glm.rst",
"new_path": "docs/source/glm.rst",
"diff": "@@ -18,7 +18,7 @@ Examples\n# Load modules and data\nimport statsmodels.api as sm\n- data = sm.datasets.scotland.load()\n+ data = sm.datasets.scotland.load(as_pandas=False)\ndata.exog = sm.add_c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Needed to clean up a few more straggling load methods |
642,065 | 25.08.2018 21:42:03 | 18,000 | e62282201a410fd9679bdaa6c52474a98b4a8f6d | Pandas 0.23 required to sort in a notebook, and pandas-datareader requires development version for pandas 0.23 | [
{
"change_type": "MODIFY",
"old_path": ".travis.yml",
"new_path": ".travis.yml",
"diff": "@@ -42,8 +42,7 @@ matrix:\n- python: 3.6\nenv:\n- PYTHON=3.6\n- # (can't use pandas=0.23 with pandas-datareader <= 0.6)\n- - PANDAS=0.22\n+ - PANDAS=0.23\n- DOCBUILD=true\n# Python 3.5 + partially updated packa... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Pandas 0.23 required to sort in a notebook, and pandas-datareader requires development version for pandas 0.23 |
641,904 | 27.08.2018 19:11:53 | 25,200 | 41ee3cd23539ba0b8193a9104b151a9ece1ea3cc | MAINT: clean up x13.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/x13.py",
"new_path": "statsmodels/tsa/x13.py",
"diff": "@@ -41,7 +41,7 @@ _freq_to_period = _freq_to_period()\n_period_to_freq = {12: 'M', 4: 'Q'}\n_log_to_x12 = {True: 'log', False: 'none', None: 'auto'}\n-_bool_to_yes_no = lambda x : 'yes' if... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: clean up x13.py |
641,831 | 26.08.2018 13:11:42 | -7,200 | 2f27a8b305d209c3a858fdb489761d9e72dacae6 | BUG: Initialization when simulating | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/kalman_filter.py",
"new_path": "statsmodels/tsa/statespace/kalman_filter.py",
"diff": "@@ -1078,6 +1078,10 @@ class KalmanFilter(Representation):\ninitial_state_mean, initial_state_cov)\nelif self.initialization == 'approximate_diffu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Initialization when simulating |
641,904 | 28.08.2018 09:34:27 | 25,200 | 850a361097f2e9bf347eff92205fe6a8c4352782 | MAINT: strict linting for tsa.statespace.tests.results | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -27,6 +27,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tools/decorators.py \\\nstatsmodels/tools/tests/test_decorators.py \\\nstatsmodels/tsa/vector_ar/dynamic.py \\\n+ statsmodels/tsa/statespace/tests/results/ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: strict linting for tsa.statespace.tests.results |
641,831 | 29.08.2018 18:54:28 | -7,200 | 5f295d8a4cc45f7adff4f0e50a45665c9e4deedd | TST: Add test for known initialization. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_simulate.py",
"new_path": "statsmodels/tsa/statespace/tests/test_simulate.py",
"diff": "@@ -487,3 +487,58 @@ def test_dynamic_factor():\nk_factors=2, factor_order=2, exog=exog,\nerror_order=2, error_var=True)\nmod.simulate... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Add test for known initialization. |
641,831 | 16.08.2018 23:34:25 | 14,400 | b92ea7692b0248b761a17d37e96502f5cba92788 | BUG: remove faux endog from results if constraints | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/recursive_ls.py",
"new_path": "statsmodels/regression/recursive_ls.py",
"diff": "@@ -201,7 +201,7 @@ class RecursiveLS(MLEModel):\n@property\ndef endog_names(self):\nendog_names = super(RecursiveLS, self).endog_names\n- return endog_name... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: remove faux endog from results if constraints |
641,904 | 30.08.2018 08:49:14 | 25,200 | 6d880ceced95ac26794bd80f2b20439a74a5bf9f | TST: Fix incorrect assertion | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -18,6 +18,8 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/info.py \\\nstatsmodels/resampling/ \\\nstatsmodels/interface/ \\\n+ statsmodels/iolib/smpickle.py \\\n+ statsmodels.iolib/tests/test_pickle.py \\\nstatsmod... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Fix incorrect assertion |
641,904 | 30.08.2018 13:10:14 | 25,200 | b599e8d7b79ea697a30f195d60dabba9cafc485e | MAINT: strict lint test_var.py | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -28,6 +28,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tools/tests/test_decorators.py \\\nstatsmodels/tsa/vector_ar/dynamic.py \\\nstatsmodels/tsa/statespace/tests/results/ \\\n+ statsmodels/tsa/statespace/tests... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: strict lint test_var.py |
641,904 | 30.08.2018 13:17:21 | 25,200 | 38f7c774e508c05553aeff4f9f398f0cff183027 | MAINT: strict linting test_univariate.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_univariate.py",
"new_path": "statsmodels/tsa/statespace/tests/test_univariate.py",
"diff": "@@ -13,17 +13,16 @@ Author: Chad Fulton\nLicense: Simplified-BSD\n\"\"\"\nfrom __future__ import division, absolute_import, print_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: strict linting test_univariate.py |
641,971 | 30.08.2018 17:39:22 | 14,400 | 2fd12a7cca3993a5583c34793651f84abca5f752 | ENH: more work on copula (deriv, classes) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/distributions/copula.py",
"new_path": "statsmodels/sandbox/distributions/copula.py",
"diff": "@@ -40,6 +40,7 @@ def copula_bv_clayton(u, v, theta):\nraise ValueError('theta needs to be strictly positive')\nreturn np.power(np.power(u, -theta... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: more work on copula (deriv, classes) |
641,904 | 31.08.2018 20:11:53 | 25,200 | 79155f862970b9f32cff3aa20a199393cdc0cc5f | FIX failure caused by | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/distributions/copula.py",
"new_path": "statsmodels/sandbox/distributions/copula.py",
"diff": "@@ -182,10 +182,13 @@ def copula_power_mv_archimedean(u, transform, alpha, beta, args=(), axis=-1):\nNelson p.144, equ. 4.5.2\n'''\n+\ndef phi(u, ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | FIX failure caused by #5076 |
641,904 | 24.08.2018 19:49:44 | 25,200 | f9e91070db0af93421ce76a40aad7d6d3bcbf469 | [MAINT] remove missing imports in tsa.base.tests files | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -26,6 +26,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tools/tests/test_linalg.py \\\nstatsmodels/tools/decorators.py \\\nstatsmodels/tools/tests/test_decorators.py \\\n+ statsmodels/tsa/base/tests/test_datetool... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove missing imports in tsa.base.tests files |
641,904 | 06.08.2018 20:30:56 | 25,200 | 9d66aa3d16bee6a81887a4ba944e9e868829db48 | flake8 fixups and linting for statespace files (but not tests) | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -27,6 +27,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tools/decorators.py \\\nstatsmodels/tools/tests/test_decorators.py \\\nstatsmodels/tsa/vector_ar/dynamic.py \\\n+ statsmodels/tsa/statespace/*.py \\\nstatsm... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | flake8 fixups and linting for statespace files (but not tests) |
641,904 | 01.09.2018 08:39:53 | 25,200 | 446e123271e31bf9be6e14af7a8e835d6195feec | requested comment edits | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/initialization.py",
"new_path": "statsmodels/tsa/statespace/initialization.py",
"diff": "@@ -598,12 +598,10 @@ class Initialization(object):\ntools.solve_discrete_lyapunov(transition,\nselected_state_cov,\ncomplex_step=complex_step))... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | requested comment edits |
641,904 | 24.08.2018 19:43:23 | 25,200 | 05823d3db4d5fd3b5681d83088ca4b7b93b604c8 | [MAINT] typo in __init__ signature | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -28,6 +28,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/tools/tests/test_decorators.py \\\nstatsmodels/tsa/base/tests/test_datetools.py \\\nstatsmodels/tsa/vector_ar/dynamic.py \\\n+ statsmodels/tsa/vector_ar/hyp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] typo in __init__ signature |
642,048 | 02.09.2018 09:23:52 | 14,400 | c55e5f5281a069276dadff2d1570ec82460765a9 | retain every results when doing imputations | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/bayes_mi.py",
"new_path": "statsmodels/imputation/bayes_mi.py",
"diff": "@@ -291,6 +291,7 @@ class MI(object):\npar = []\ncov = []\n+ all_results = []\nfor k in range(self.nrep):\n@@ -311,6 +312,7 @@ class MI(object):\n**self.model_kwds_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | retain every results when doing imputations |
642,065 | 02.09.2018 15:17:26 | 14,400 | 1fbcba97d6406c706918e3ba42026eadf5a3e44f | MAINT: Chrome doesn't like having a secure link with an unsecure image | [
{
"change_type": "MODIFY",
"old_path": "docs/themes/statsmodels/sidelinks.html",
"new_path": "docs/themes/statsmodels/sidelinks.html",
"diff": "-<p><a href=\"https://twitter.com/statsmodels\"><img src=\"http://twitter-badges.s3.amazonaws.com/t_small-a.png\" alt=\"Follow statsmodels on Twitter\"/></a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Chrome doesn't like having a secure link with an unsecure image |
642,048 | 03.09.2018 08:36:49 | 14,400 | 75000ee2cd83f9cad26cfa16e8fa53ce3156b5e7 | Allow results to be saved in multiple imputation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/bayes_mi.py",
"new_path": "statsmodels/imputation/bayes_mi.py",
"diff": "@@ -250,7 +250,7 @@ class MI(object):\nif model_args_fn is None:\ndef f(x):\n- return (x,)\n+ return []\nmodel_args_fn = f\nself.model_args_fn = model_args_fn\n@@ -... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Allow results to be saved in multiple imputation |
641,904 | 04.09.2018 11:35:55 | 25,200 | e4269a6f5eb2f57f78fd12c1b9a03876add1931a | BUG: fix missing new_branch_dir arg in upload_pdf | [
{
"change_type": "MODIFY",
"old_path": "tools/check_dirs.py",
"new_path": "tools/check_dirs.py",
"diff": "@@ -10,7 +10,7 @@ root = '../statsmodels'\nprint('base, dnames, len(fnames), n_py')\nfor base, dnames, fnames in os.walk(root):\n- if not '__init__.py' in fnames:\n+ if '__init__.py' not in fnam... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: fix missing new_branch_dir arg in upload_pdf |
641,831 | 04.09.2018 21:15:32 | 14,400 | 51b966ca8d82d4cbeb538257b581d4e358455071 | BUG/DOC: Description of k_posdef
Closes
Corrects documentation to note that k_posdef is the dimension of the state innovation. | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/kalman_filter.py",
"new_path": "statsmodels/tsa/statespace/kalman_filter.py",
"diff": "@@ -66,7 +66,7 @@ class KalmanFilter(Representation):\nThe dimension of the unobserved state process.\nk_posdef : int, optional\nThe dimension of ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG/DOC: Description of k_posdef
Closes #3610
Corrects documentation to note that k_posdef is the dimension of the state innovation. |
641,904 | 31.08.2018 18:16:24 | 25,200 | 6644101e64183fd9ea289ed2269dcdb9c262e3e0 | MAINT: strict lint for test_tools | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_tools.py",
"new_path": "statsmodels/tsa/statespace/tests/test_tools.py",
"diff": "@@ -6,17 +6,15 @@ License: Simplified-BSD\n\"\"\"\nfrom __future__ import division, absolute_import, print_function\n+import pytest\nimport ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: strict lint for test_tools |
641,904 | 31.08.2018 18:21:13 | 25,200 | cc587cbd1b202ced67b7987784a000b58cb7c311 | MAINT: lint test_structural | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_structural.py",
"new_path": "statsmodels/tsa/statespace/tests/test_structural.py",
"diff": "@@ -5,23 +5,21 @@ Author: Chad Fulton\nLicense: Simplified-BSD\n\"\"\"\nfrom __future__ import division, absolute_import, print_fu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: lint test_structural |
641,904 | 31.08.2018 18:29:31 | 25,200 | 338fba3e8d82bf9ba8df14c3fded10ca37a56706 | MAINT: lint test_smoothing.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_smoothing.py",
"new_path": "statsmodels/tsa/statespace/tests/test_smoothing.py",
"diff": "@@ -13,20 +13,18 @@ Author: Chad Fulton\nLicense: Simplified-BSD\n\"\"\"\nfrom __future__ import division, absolute_import, print_fu... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: lint test_smoothing.py |
641,904 | 31.08.2018 18:34:17 | 25,200 | b5581a0927d93d92f51297aece484ef19d686dcf | MAINT: lint test_simulation_smoothing | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_simulation_smoothing.py",
"new_path": "statsmodels/tsa/statespace/tests/test_simulation_smoothing.py",
"diff": "@@ -5,23 +5,16 @@ Author: Chad Fulton\nLicense: Simplified-BSD\n\"\"\"\nfrom __future__ import division, absol... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: lint test_simulation_smoothing |
641,904 | 04.09.2018 19:03:09 | 25,200 | c62244c08fd2f633a655e0c984b8778732d918c3 | Use assert_array_less | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/tests/test_tools.py",
"new_path": "statsmodels/tsa/statespace/tests/test_tools.py",
"diff": "@@ -8,7 +8,7 @@ from __future__ import division, absolute_import, print_function\nimport pytest\nimport numpy as np\n-from numpy.testing imp... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Use assert_array_less |
641,904 | 05.09.2018 12:04:05 | 25,200 | 1e596e2cedadac7e001b061be11b86e04114bc32 | MAINT: many but not all trailing whitespace | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/tests/test_table.py",
"new_path": "statsmodels/iolib/tests/test_table.py",
"diff": "@@ -159,7 +159,7 @@ stub R2 C2 40.95038 40.65765\n<th>stub2</th> <td>2</td> <td>3.333</td>\n</tr>\n</table>\n-\"\"\"\n+\"\"\" # noqa:W291\nactual = '\\n%s\\n'... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: many but not all trailing whitespace |
641,904 | 06.09.2018 16:49:31 | 25,200 | fc29554b162a110a69aa63249b95cecdb55cef1c | TST: apply stacklevel to warning in Family.__init__ | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/families/family.py",
"new_path": "statsmodels/genmod/families/family.py",
"diff": "@@ -78,7 +78,9 @@ class Family(object):\nwarnmssg = \"Calling Family(..) with a link class as argument \"\nwarnmssg += \"is deprecated.\\n\"\nwarnmssg += \"Us... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: apply stacklevel to warning in Family.__init__ |
641,921 | 07.09.2018 21:22:22 | 18,000 | bb4e021e4ca4b81f22f3d4f9d7540442a0f87660 | clean up smf namespace | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/formula/api.py",
"new_path": "statsmodels/formula/api.py",
"diff": "-from statsmodels.regression.linear_model import GLS\n-gls = GLS.from_formula\n-from statsmodels.regression.linear_model import WLS\n-wls = WLS.from_formula\n-from statsmodels.regr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | clean up smf namespace |
642,065 | 01.09.2018 23:26:05 | 18,000 | 74feae7f6e238ecdc4a6dcfed7efc9c5100e97d7 | DOC: Add javascript to link to other doc versions | [
{
"change_type": "MODIFY",
"old_path": "docs/themes/statsmodels/layout.html",
"new_path": "docs/themes/statsmodels/layout.html",
"diff": "$.facebox.settings.closeImage = \"{{ pathto('_static/closelabel.png', 1) }}\"\n$.facebox.settings.loadingImage = \"{{ pathto('_static/loading.gif', 1) }}\"\n</scr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Add javascript to link to other doc versions |
641,921 | 08.09.2018 14:13:30 | 18,000 | 779c837bf4c3897907a5228ac1fb86d29b6b3e66 | add trailing underscores to temporary imports | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/formula/api.py",
"new_path": "statsmodels/formula/api.py",
"diff": "-import statsmodels.regression.linear_model as lm\n-import statsmodels.discrete.discrete_model as dm\n-import statsmodels.regression.mixed_linear_model as mlm\n-import statsmodels.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add trailing underscores to temporary imports |
641,971 | 08.09.2018 20:31:00 | 14,400 | 55c19108281cbc4d35f174b1ad5a5c45fd8a63db | TST: TestTheilPanel: make deterministic with random seed | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_theil.py",
"new_path": "statsmodels/regression/tests/test_theil.py",
"diff": "@@ -274,8 +274,9 @@ class TestTheilPanel(object):\nk_vars = 3\nfrom statsmodels.sandbox.panel.random_panel import PanelSample\n- dgp = PanelSample(n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: TestTheilPanel: make deterministic with random seed |
641,971 | 08.09.2018 20:31:41 | 14,400 | aac0b51965b5ae24cbd22790998808921bdf5c20 | CLN: minor reformatting in unit test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_theil.py",
"new_path": "statsmodels/regression/tests/test_theil.py",
"diff": "@@ -291,10 +291,9 @@ class TestTheilPanel(object):\nx = self.exog\nn_groups, k_vars = self.dgp.n_groups, self.dgp.k_vars\n- R = np.c_[np.zeros((n_gr... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: minor reformatting in unit test |
641,942 | 09.09.2018 16:04:09 | -7,200 | 759821ff045f5a34624a4e4ef6ff0e1d0b5f02e5 | REF: Use iterative cumsum_n
Replace the recursive cumsum_n function with an iterative function for readability | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima_model.py",
"new_path": "statsmodels/tsa/arima_model.py",
"diff": "@@ -230,11 +230,9 @@ _arima_plot_predict = (\"\"\"\ndef cumsum_n(x, n):\n- if n:\n- n -= 1\n+ for _ in range(n):\nx = np.cumsum(x)\n- return cumsum_n(x, n)\n- else:\n+\nret... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | REF: Use iterative cumsum_n
Replace the recursive cumsum_n function with an iterative function for readability |
641,904 | 10.09.2018 11:21:41 | 25,200 | 1238bbe61247136d37ddf16fa90f32c6e0441dd6 | DEPR: remove deprecated acorr_breush_godfrey, lillifors, het_breushpagan | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/regression_diagnostics.ipynb",
"new_path": "examples/notebooks/regression_diagnostics.ipynb",
"diff": "\"source\": [\n\"name = ['Lagrange multiplier statistic', 'p-value',\\n\",\n\" 'f-value', 'f p-value']\\n\",\n- \"test = sms.het_breushpag... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DEPR: remove deprecated acorr_breush_godfrey, lillifors, het_breushpagan |
641,904 | 10.09.2018 11:22:36 | 25,200 | e8256144a7db642a20317cb11dbfb95bc3aa7212 | DEPR: remove deprecated get_logdet | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/util.py",
"new_path": "statsmodels/tsa/vector_ar/util.py",
"diff": "@@ -172,18 +172,6 @@ def parse_lutkepohl_data(path): # pragma: no cover\nreturn data, date_range\n-def get_logdet(m):\n- from statsmodels.tools.linalg import logdet_s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DEPR: remove deprecated get_logdet |
641,904 | 11.10.2017 05:39:05 | -3,600 | 9f37e1f97eeb30fbb569b2e4f22c8811577c0054 | BLD/TST: Enable coverage for Cython files
Initial work with a functioning example | [
{
"change_type": "MODIFY",
"old_path": ".coveragerc",
"new_path": ".coveragerc",
"diff": "# .coveragerc to control coverage.py\n[run]\n-branch = False\n+source = statsmodels\n+branch = True\n+plugins = Cython.Coverage\n[report]\nshow_missing = True\n+omit=\n+ */tests/*\n+ */datasets/*\n+\n# Regexes ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BLD/TST: Enable coverage for Cython files
Initial work with a functioning example |
641,937 | 21.05.2018 18:39:14 | -7,200 | 81241c932fedff0e7679ec56ffae520992ea8efb | BUG clone parameters from model, not from results | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -2213,13 +2213,17 @@ class ResultMixin(object):\n\"\"\"\nresults = []\nprint(self.model.__class__)\n- hascloneattr = True if hasattr(self, 'cloneattr') else False\n+ hascloneattr ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG clone parameters from model, not from results |
641,937 | 21.05.2018 21:43:06 | -7,200 | 0afb1ec6ed1e77aba8072e77505aca6fe0d0aa7e | FIX don't raise exception on string repr for NaN | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary.py",
"new_path": "statsmodels/iolib/summary.py",
"diff": "@@ -298,6 +298,11 @@ def summary_top(results, title=None, gleft=None, gright=None, yname=None, xname=\n#create dictionary with default\n#use lambdas because some values raise e... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | FIX don't raise exception on string repr for NaN |
641,937 | 22.05.2018 13:19:34 | -7,200 | 19fa94e22e482617561c3915efd251521dbfc21b | TST add basic test for GenericMLE No Exog | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/miscmodels/tests/test_generic_mle.py",
"new_path": "statsmodels/miscmodels/tests/test_generic_mle.py",
"diff": "@@ -149,3 +149,79 @@ class TestMyParetoRestriction(CheckGenericMixin):\n# Note: loc is fixed, no problems with parameters close to min d... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST add basic test for GenericMLE No Exog |
641,904 | 06.09.2018 15:21:42 | 25,200 | 9ec74ccf081e76c1c8e435d4b6d0b8a4892ef015 | BUG: meaningless self.score in GenericLikelihoodModel; closes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -761,7 +761,7 @@ class GenericLikelihoodModel(LikelihoodModel):\n# this is redundant and not used when subclassing\ndef initialize(self):\nif not self.score: # right now score is ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: meaningless self.score in GenericLikelihoodModel; closes #4453 |
641,904 | 12.09.2018 18:30:32 | 25,200 | c6524ee047b4729909f058fc21d3ef64b8823fbb | MAINT: raise specific exceptions intead of just Exception | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/l1_solvers_common.py",
"new_path": "statsmodels/base/l1_solvers_common.py",
"diff": "@@ -152,7 +152,7 @@ def do_trim_params(params, k_params, alpha, score, passed, trim_mode,\nparams[i] = 0.0\ntrimmed[i] = True\nelse:\n- raise Exception(\n+ ra... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: raise specific exceptions intead of just Exception |
641,904 | 12.09.2018 18:37:01 | 25,200 | 9d9c410c5e9005cb813f6a040c5b74bbb959249b | MAINT: raise ValueErrors instead of TypeErrors | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/count_model.py",
"new_path": "statsmodels/discrete/count_model.py",
"diff": "@@ -83,7 +83,7 @@ class GenericZeroInflated(CountModel):\nself._hessian_inflate = self._hessian_probit\nelse:\n- raise TypeError(\"inflation == %s, which is not h... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: raise ValueErrors instead of TypeErrors |
641,904 | 13.09.2018 07:46:29 | 25,200 | 629f577de87f7ea1eaf3e00e19f82c92d1dd2ee5 | TST: update caught exceptions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_tsa_tools.py",
"new_path": "statsmodels/tsa/tests/test_tsa_tools.py",
"diff": "'''\nfrom statsmodels.compat.python import zip\n+import pytest\nimport numpy as np\nfrom numpy.testing import (assert_array_almost_equal, assert_equal,\na... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: update caught exceptions |
641,904 | 13.09.2018 16:19:08 | 25,200 | de5b9ff96c504cb9fcfc84ed39d93f7eb0a1a860 | MAINT: raise instead of return ValueError | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -30,6 +30,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/duration/__init__.py \\\nstatsmodels/regression/recursive_ls.py \\\nstatsmodels/tools/linalg.py \\\n+ statsmodels/tools/web.py \\\nstatsmodels/tools/tests/t... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: raise instead of return ValueError |
641,904 | 12.09.2018 18:11:28 | 25,200 | 5905e8dd228aaa8bdd4bd71ed0c1da26bdf35074 | MAINT: Fix incorrect pass statements | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -1023,7 +1023,7 @@ class Results(object):\nreturn predict_results\ndef summary(self):\n- pass\n+ raise NotImplementedError\n# TODO: public method?\n@@ -2234,7 +2234,7 @@ class Res... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Fix incorrect pass statements |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.