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 | 01.11.2018 20:45:16 | 25,200 | 05eb351a8ef7d964043ed41e1952a5ed8432c976 | CLN: invalid escapes in robust, small whitespace fixups | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/robust/norms.py",
"new_path": "statsmodels/robust/norms.py",
"diff": "@@ -3,6 +3,7 @@ import numpy as np\n#TODO: add plots to weighting functions for online docs.\n+\nclass RobustNorm(object):\n\"\"\"\nThe parent class for the norms used for robust... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: invalid escapes in robust, small whitespace fixups |
641,904 | 01.11.2018 20:47:16 | 25,200 | 7c0ee037619a3265af6778627fc058fd2d393906 | CLN: invalid escapes in stats | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/correlation_tools.py",
"new_path": "statsmodels/stats/correlation_tools.py",
"diff": "@@ -771,7 +771,7 @@ def cov_nearest_factor_homog(cov, rank):\ndef corr_thresholded(data, minabs=None, max_elt=1e7):\n- \"\"\"\n+ r\"\"\"\nConstruct a sparse... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: invalid escapes in stats |
641,904 | 01.11.2018 20:53:34 | 25,200 | 3ccd96b134eac5601b45456b800d7bcfe8ad30f9 | CLN: invalid escapes in examples | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/robust_models_1.ipynb",
"new_path": "examples/notebooks/robust_models_1.ipynb",
"diff": "\"a = 1.339\\n\",\n\"support = np.linspace(-np.pi*a, np.pi*a, 100)\\n\",\n\"andrew = norms.AndrewWave(a=a)\\n\",\n- \"plot_weights(support, andrew.weigh... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: invalid escapes in examples |
641,904 | 01.11.2018 21:00:51 | 25,200 | 0a00b10b1e19e6c8babe58590f2f97892acb0e40 | CLN: invalid escapes (but not nearly all of them) in sandbox | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/examples/example_nbin.py",
"new_path": "statsmodels/sandbox/examples/example_nbin.py",
"diff": "@@ -28,9 +28,10 @@ from statsmodels.base.model import GenericLikelihoodModel\nfrom statsmodels.base.model import GenericLikelihoodModelResults\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: invalid escapes (but not nearly all of them) in sandbox |
641,904 | 01.11.2018 21:02:19 | 25,200 | 7db2ed854bfe98f68c8859be19ecf079201e8027 | CLN: invalid escapes in tsa.*.py | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/arima_model.py",
"new_path": "statsmodels/tsa/arima_model.py",
"diff": "@@ -32,16 +32,16 @@ from statsmodels.tsa.arima_process import arma2ma\nfrom statsmodels.tools.numdiff import approx_hess_cs, approx_fprime_cs\nfrom statsmodels.tsa.kalmanf ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: invalid escapes in tsa.*.py |
641,904 | 01.11.2018 21:04:21 | 25,200 | 4ce1c010547cdf72067d7e70bde6eeb9673fdf01 | CLN: invalid escapes and unused imports in datetools; some invalid escapes left | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/base/datetools.py",
"new_path": "statsmodels/tsa/base/datetools.py",
"diff": "\"\"\"\nTools for working with dates\n\"\"\"\n-from statsmodels.compat.python import (lrange, lzip, lmap, string_types, long,\n- callable, asstr, reduce, zip, map)\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: invalid escapes and unused imports in datetools; some invalid escapes left |
641,904 | 01.11.2018 21:05:04 | 25,200 | 7d0780cf621983d0fa0f004ea7c48dbc050ed486 | CLN: invalid escapes in tsa.kalmanf | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/kalmanf/kalmanfilter.py",
"new_path": "statsmodels/tsa/kalmanf/kalmanfilter.py",
"diff": "@@ -36,7 +36,7 @@ from . import kalman_loglike\nclass KalmanFilter(object):\n- \"\"\"\n+ r\"\"\"\nKalman Filter code intended for use with the ARMA model.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: invalid escapes in tsa.kalmanf |
641,904 | 01.11.2018 21:05:32 | 25,200 | f0ee85fce46688c94f63f4599e091698bde2a4c4 | CLN: invalid escapes in tsa.regime_switching | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/regime_switching/markov_switching.py",
"new_path": "statsmodels/tsa/regime_switching/markov_switching.py",
"diff": "@@ -2238,7 +2238,7 @@ class MarkovSwitchingResults(tsbase.TimeSeriesModelResults):\nself.conf_int(alpha)[mask])\nparam_names = [... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: invalid escapes in tsa.regime_switching |
641,904 | 01.11.2018 21:10:38 | 25,200 | fc023a9e06c6fff014d30050f2577feb9578ef43 | CLN: invalid escapes in statespace | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/statespace/kalman_filter.py",
"new_path": "statsmodels/tsa/statespace/kalman_filter.py",
"diff": "@@ -1808,7 +1808,7 @@ class FilterResults(FrozenRepresentation):\n@property\ndef standardized_forecasts_error(self):\n- \"\"\"\n+ r\"\"\"\nStandar... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: invalid escapes in statespace |
641,904 | 08.11.2018 09:07:20 | 28,800 | ba94d684e5357fa8a94fc0a86aa77682d4cff9e8 | fixup: revert complained-about thing | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/robust_models_1.ipynb",
"new_path": "examples/notebooks/robust_models_1.ipynb",
"diff": "\"a = 1.339\\n\",\n\"support = np.linspace(-np.pi*a, np.pi*a, 100)\\n\",\n\"andrew = norms.AndrewWave(a=a)\\n\",\n- \"plot_weights(support, andrew.weigh... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fixup: revert complained-about thing |
642,032 | 07.08.2017 16:51:12 | -7,200 | f9bb39f00f639161c5c44cdeae4fd35d4b6367e5 | Bugfix for pacf_ols (issue
* For pacf with "method=ols", results differ quite a lot from
"method={yw, ld}" (biased and unbiased setting)
* Demeaning and minor changes in the OLS parameters improves the
result for smaller time series (emprirically evaluated)
* Added "unbiased" parameter for ols
* Added reference in docs... | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/stattools.py",
"new_path": "statsmodels/tsa/stattools.py",
"diff": "@@ -640,9 +640,8 @@ def pacf_burg(x, nlags=None, demean=True):\nreturn pacf, sigma2\n-#NOTE: this is incorrect.\n-def pacf_ols(x, nlags=40):\n- '''Calculate partial autocorrela... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Bugfix for pacf_ols (issue #3839)
* For pacf with "method=ols", results differ quite a lot from
"method={yw, ld}" (biased and unbiased setting)
* Demeaning and minor changes in the OLS parameters improves the
result for smaller time series (emprirically evaluated)
* Added "unbiased" parameter for ols
* Added refere... |
641,904 | 16.09.2018 17:42:22 | 25,200 | d5395bef0b15e19fd9d16b6cb486772e228853ae | MAINT: Move misplaced genmod results files | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/results/elastic_net.R",
"new_path": "statsmodels/genmod/tests/results/elastic_net.R",
"diff": "@@ -34,4 +34,4 @@ for (dtype in c(\"binomial\", \"poisson\")) {\n}\n}\n-R2nparray(rslt, fname=\"../glmnet_r_results.py\")\n+R2nparray(rslt, ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Move misplaced genmod results files |
641,904 | 17.09.2018 18:11:35 | 25,200 | afca0360fd6c74abe6b185dac154cf12a21e73c6 | MAINT: remove never-needed callable and never-used compat functions | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/compat/python.py",
"new_path": "statsmodels/compat/python.py",
"diff": "@@ -20,7 +20,7 @@ if PY3:\npickle = cPickle\nimport urllib.request\nimport urllib.parse\n- from urllib.request import HTTPError, urlretrieve, URLError\n+ from urllib.request im... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove never-needed callable and never-used compat functions |
641,904 | 09.09.2018 12:15:59 | 25,200 | 8d271c28f613a2079270e00a9e0e67c6698557af | TST: consolidate version checks, remove outdated | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/compat/numpy.py",
"new_path": "statsmodels/compat/numpy.py",
"diff": "@@ -43,9 +43,13 @@ from __future__ import absolute_import\nfrom distutils.version import LooseVersion\nimport numpy as np\n+from distutils.version import LooseVersion\n+\n+\nfrom... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: consolidate version checks, remove outdated |
641,904 | 09.09.2018 14:15:02 | 25,200 | cbf052d724d9757fa87f35cf4a8592a662493020 | MAINT: compare <= pandas 0.19.2 | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/compat/pandas.py",
"new_path": "statsmodels/compat/pandas.py",
"diff": "@@ -6,7 +6,7 @@ import pandas\nversion = LooseVersion(pandas.__version__)\n-pandas_lt_0_19_2 = version < '0.19.1'\n+pandas_lte_0_19_2 = version < LooseVersion('0.19.2')\npandas... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: compare <= pandas 0.19.2 |
641,904 | 09.09.2018 14:15:58 | 25,200 | db0e3fcc8fb49ff63f0d5aafcc8c27f85384fdad | MAINT: remove unused scipy import | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/tests/test_power.py",
"new_path": "statsmodels/stats/tests/test_power.py",
"diff": "@@ -16,7 +16,6 @@ import numpy as np\nfrom numpy.testing import (assert_almost_equal, assert_allclose, assert_raises,\nassert_equal, assert_warns)\nimport pyt... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove unused scipy import |
641,896 | 01.05.2019 08:59:59 | -3,600 | 0abbdac0f7852ad1b16422d4b7005c22f720e359 | MAINT: Correct LTE change
Use <= rather than < | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/compat/pandas.py",
"new_path": "statsmodels/compat/pandas.py",
"diff": "@@ -6,7 +6,7 @@ import pandas\nversion = LooseVersion(pandas.__version__)\n-pandas_lte_0_19_2 = version < LooseVersion('0.19.2')\n+pandas_lte_0_19_2 = version <= LooseVersion('... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Correct LTE change
Use <= rather than < |
641,904 | 06.09.2018 15:36:11 | 25,200 | 1373af443e71f8851be85453354f97f1b97a5fa9 | TST: Silence DeprecationWarnings for invalid escapes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/tests/JMulTi_results/parse_jmulti_var_output.py",
"new_path": "statsmodels/tsa/vector_ar/tests/JMulTi_results/parse_jmulti_var_output.py",
"diff": "@@ -9,6 +9,8 @@ from statsmodels.tsa.vector_ar.tests.JMulTi_results.parse_jmulti_vecm_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: Silence DeprecationWarnings for invalid escapes |
641,904 | 06.09.2018 15:41:02 | 25,200 | 56094db03a136cbc68dff7b54a753c193ecfb5c9 | TST: fix DeprecationWarnings for invalid escapes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/nonparametric/kernel_extras.py",
"new_path": "statsmodels/sandbox/nonparametric/kernel_extras.py",
"diff": "@@ -78,7 +78,6 @@ class TestFForm(object):\nRegression\" Journal of Business & Economics Statistics.\nSee chapter 12 in [1] pp. 355-... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: fix DeprecationWarnings for invalid escapes |
641,904 | 06.09.2018 15:48:34 | 25,200 | 2898209566ea8de1c6e783294dbd4889b3507906 | MAINT: fix DeprecationWarnings from pandas .ix | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/data.py",
"new_path": "statsmodels/base/data.py",
"diff": "@@ -481,7 +481,8 @@ class PandasData(ModelData):\n@classmethod\ndef _drop_nans_2d(cls, x, nan_mask):\n- if hasattr(x, 'ix'):\n+ if hasattr(x, 'loc'):\n+ # i.e. is pandas Series/DataFra... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix DeprecationWarnings from pandas .ix |
641,904 | 06.09.2018 15:52:07 | 25,200 | 149d40f3dd8f9c72c38752762e1d62fd2b486c12 | MAINT: Suppress warnings for division by zero in tvalues | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -1256,7 +1256,10 @@ class LikelihoodModelResults(Results):\n\"\"\"\nReturn the t-statistic for a given parameter estimate.\n\"\"\"\n- return self.params / self.bse\n+ with np.errs... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: Suppress warnings for division by zero in tvalues |
641,904 | 06.09.2018 15:54:20 | 25,200 | 08ced43c0c1ff71cddb18685bca270dbebcff93f | MAINT: actually recognize internal deprecation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/_penalties.py",
"new_path": "statsmodels/base/_penalties.py",
"diff": "@@ -358,7 +358,7 @@ class SCADSmoothed(SCAD):\nweights = self.weights\nself.weights = 1.\nderiv_c0 = super(SCADSmoothed, self).deriv(c0)\n- value_c0 = super(SCADSmoothed, s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: actually recognize internal deprecation |
641,904 | 06.09.2018 16:13:07 | 25,200 | cd62e40e17f45ea7a6d75046335ccb75c5539557 | MAINT: avoid patsy DeprecationWarnings form design_info.builder just returning self | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/duration/tests/test_phreg.py",
"new_path": "statsmodels/duration/tests/test_phreg.py",
"diff": "@@ -194,12 +194,15 @@ class TestPHReg(object):\npr1 = result1.predict()\npr2 = result1.predict(exog=df)\npr3 = model1.predict(result1.params, exog=dfp) ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: avoid patsy DeprecationWarnings form design_info.builder just returning self |
641,904 | 06.09.2018 19:04:48 | 25,200 | 854f2668e954b3d0e26a5cdc94f3c39881638f19 | MAINT: suggested edits, steal bits of | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -28,6 +28,7 @@ tag_prefix = v\nparentdir_prefix = statsmodels-\n+\n[flake8]\nexclude=.git,build,docs\nselect=\n"
},
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/data.py",
"new_path": ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: suggested edits, steal bits of #5135 |
641,904 | 18.09.2018 10:10:01 | 25,200 | 9d590defb3836a99ffb1550dc1e656e79f7be949 | MAINT: docstring and whitespace fixups | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/model.py",
"new_path": "statsmodels/base/model.py",
"diff": "@@ -1631,7 +1631,7 @@ class LikelihoodModelResults(Results):\nres : ContrastResults instance\nThe results for the test are attributes of this results instance.\n- See also\n+ See Als... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: docstring and whitespace fixups |
641,904 | 26.09.2018 19:22:14 | 25,200 | 7685ced5c5dc89b3b41272bfae9366d2e1c8eae6 | MAINT: avoid pandas FutureWarning by checking specific condition | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/table.py",
"new_path": "statsmodels/iolib/table.py",
"diff": "@@ -636,11 +636,12 @@ class Cell(object):\nA cell can belong to a Row, but does not have to.\n\"\"\"\ndef __init__(self, data='', datatype=None, row=None, **fmt_dict):\n- try: # mi... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: avoid pandas FutureWarning by checking specific condition |
641,904 | 30.08.2018 11:50:39 | 25,200 | 7fa027ffd89910fe07092bd9bb56a0c532659a24 | MAINT: remove example file corresponding to removed module | [
{
"change_type": "DELETE",
"old_path": "statsmodels/sandbox/examples/ex_kaplan_meier.py",
"new_path": null,
"diff": "-#An example for the Kaplan-Meier estimator\n-from __future__ import print_function\n-from statsmodels.compat.python import lrange\n-import statsmodels.api as sm\n-import matplotlib.p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove example file corresponding to removed module |
641,904 | 14.09.2018 10:09:29 | 25,200 | c717d0f7f5c40248d3760265f0d5a58f7d9d6289 | MAINT: import mad instead of duplicating | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/utils_old.py",
"new_path": "statsmodels/sandbox/utils_old.py",
"diff": "@@ -3,6 +3,8 @@ import numpy.linalg as L\nimport scipy.interpolate\nimport scipy.linalg\n+from statsmodels.robust.scale import mad # noqa:F401\n+\n__docformat__ = 'rest... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: import mad instead of duplicating |
641,904 | 14.09.2018 10:10:53 | 25,200 | 39ddf7147669d0f5fe7dae465ce3bbaa9ef4742b | MAINT: import better versions from tools instead of duplicating | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/utils_old.py",
"new_path": "statsmodels/sandbox/utils_old.py",
"diff": "@@ -3,36 +3,11 @@ import numpy.linalg as L\nimport scipy.interpolate\nimport scipy.linalg\n+from statsmodels.tools.tools import recipr, recipr0, clean0 # noqa:F401\nfro... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: import better versions from tools instead of duplicating |
641,904 | 14.09.2018 10:14:49 | 25,200 | d8877370ca21d517cf77c753c82670d077ffb148 | MAINT: import instead of duplicating StepFunction, monotone_fn_inverter | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/utils_old.py",
"new_path": "statsmodels/sandbox/utils_old.py",
"diff": "import numpy as np\n-import numpy.linalg as L\n-import scipy.interpolate\nimport scipy.linalg\nfrom statsmodels.tools.tools import recipr, recipr0, clean0 # noqa:F401\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: import instead of duplicating StepFunction, monotone_fn_inverter |
641,904 | 26.08.2018 10:54:29 | 25,200 | a2417079aaa6921f6c3c37bfc091d3c1b4072649 | MAINT: strict linting for sm.stats files _close_ to already passing | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -29,6 +29,20 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/regression/mixed_linear_model.py \\\nstatsmodels/regression/recursive_ls.py \\\nstatsmodels/regression/tests/test_lme.py \\\n+ statsmodels/stats/__init__.p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: strict linting for sm.stats files _close_ to already passing |
641,904 | 17.09.2018 18:17:52 | 25,200 | 31105ea9cfc2462b69caf0b2410709da9e24c0d8 | MAINT: fully lint formula | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -20,6 +20,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/resampling/ \\\nstatsmodels/interface/ \\\nstatsmodels/duration/__init__.py \\\n+ statsmodels/formula/ \\\nstatsmodels/gam/ \\\nstatsmodels/graphics/tsaplot... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fully lint formula |
641,904 | 13.09.2018 16:52:21 | 25,200 | 1018dfc17f99f201c17e1765f9a5105b1002a087 | MAINT: remove use of deprecated .builder | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/_prediction.py",
"new_path": "statsmodels/regression/_prediction.py",
"diff": "@@ -42,7 +42,8 @@ class PredictionResults(object):\ndef conf_int(self, obs=False, alpha=0.05):\n\"\"\"\n- Returns the confidence interval of the value, `effec... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove use of deprecated .builder |
641,904 | 17.09.2018 18:28:12 | 25,200 | d1ffe3b263fa71ef539b1de96ee095fd728d89f9 | MAINT: fully lint compat | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -19,6 +19,7 @@ if [ \"$LINT\" == true ]; then\nflake8 --isolated \\\nstatsmodels/resampling/ \\\nstatsmodels/interface/ \\\n+ statsmodels/compat/ \\\nstatsmodels/duration/__init__.py \\\nstatsmodels/gam/ \\\nstatsmo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fully lint compat |
641,931 | 04.01.2019 16:34:47 | 18,000 | 738fb1182ebe3990b7258a725e80e61a99f6902d | ENH: White spec test (clean commit for PR 4721) | [
{
"change_type": "MODIFY",
"old_path": "docs/source/diagnostic.rst",
"new_path": "docs/source/diagnostic.rst",
"diff": "@@ -79,6 +79,9 @@ Non-Linearity Tests\n- Lagrange Multiplier test for Null hypothesis that linear specification is\ncorrect. This tests against specific functional alternatives.\n+... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | ENH: White spec test (clean commit for PR 4721) |
641,904 | 06.09.2018 19:06:14 | 25,200 | e4881f30b7ea761d91189f204c0bc2fe3829788a | TST: improve testing util functions; de-duplicate | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/tests/test_generic_methods.py",
"new_path": "statsmodels/base/tests/test_generic_methods.py",
"diff": "@@ -17,6 +17,7 @@ import numpy as np\nimport pandas as pd\nimport pytest\nimport statsmodels.api as sm\n+import statsmodels.tools._testing a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: improve testing util functions; de-duplicate |
642,048 | 06.06.2018 09:39:14 | 14,400 | b075f590f4cae12b953918b07d024fdd15e1636c | Clean up post-estimation, add tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "import numpy as np\nimport pandas as pd\nimport patsy\n-import statsmodels\nimport statsmodels.base.model as base\nimport statsmodels.api as sm\nimport collec... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Clean up post-estimation, add tests |
642,048 | 20.08.2018 17:00:53 | 14,400 | b92d42ebc6334fa5074ee74465356a070fceb1fd | various issues caught by codecov | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "@@ -132,7 +132,7 @@ class GaussianCovariance(ProcessCovariance):\n# Derivatives with respect to the smoothing parameters.\njsm = []\n- for i in range(0, len(s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | various issues caught by codecov |
642,048 | 20.08.2018 17:13:15 | 14,400 | 9ae120cf17c1c42ea9531e159c27150ff9011697 | fix remaining issues identified by codacy | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "@@ -160,6 +160,19 @@ class GaussianCovariance(ProcessCovariance):\nreturn jsc, jsm\n+def _check_args(endog, exog, exog_scale, exog_smooth, time, groups):\n+\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix remaining issues identified by codacy |
642,048 | 23.08.2018 10:17:26 | 14,400 | b35d2037237e350a961ba9faee0e7ee38b2e3947 | add test coverage for predict | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_processreg.py",
"new_path": "statsmodels/regression/tests/test_processreg.py",
"diff": "@@ -62,10 +62,17 @@ def test_arrays():\n# Test the fitted covariance matrix\ncv = f.covariance(time[0:5], x_sc[0:5, :], x_sm[0:5, :])\n- a... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add test coverage for predict |
642,048 | 23.08.2018 11:35:28 | 14,400 | 263e25e0ba580a2f8dbd7703da9c810491d2c43e | Improve summary, get t_test working, add tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "@@ -229,6 +229,22 @@ class ProcessRegression(base.LikelihoodModel):\ngroups=groups,\n**kwargs)\n+ # Create parameter names\n+ xnames = []\n+ if hasattr(exog, ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Improve summary, get t_test working, add tests |
642,048 | 23.08.2018 12:09:18 | 14,400 | 16e69a32eac28fe317463e7727bf2fe7972e5c95 | resolve some issues identified by codacy | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "# -*- coding: utf-8 -*-\n+\"\"\"\n+This module implements likelihood-based estimation (MLE) of Gaussian models for\n+finite-dimensional observations made on i... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | resolve some issues identified by codacy |
642,048 | 23.08.2018 13:26:32 | 14,400 | cf90c3de02585117b8a31f404e7579f4db162e41 | fix handling of starting parameters | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "\"\"\"\nThis module implements likelihood-based estimation (MLE) of Gaussian models for\nfinite-dimensional observations made on infinite-dimensional processe... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix handling of starting parameters |
642,048 | 23.08.2018 13:47:42 | 14,400 | 3dbacbf63b62fb830f2e8a8ceb09761a05eee318 | Eliminate warning for powell optimization (gradient not used) | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "@@ -476,7 +476,7 @@ class ProcessRegression(base.LikelihoodModel):\nreturn score\n- def fit(self, start_params=None, method='BFGS', maxiter=100, full_output=T... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Eliminate warning for powell optimization (gradient not used) |
642,048 | 23.08.2018 14:22:04 | 14,400 | ebaac224fa586b42726f38193e2a103d08fd7ed9 | Inherit results class from genericlikelihood... | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "@@ -490,7 +490,7 @@ class ProcessRegression(base.LikelihoodModel):\nif start_params is None:\nstart_params = self._get_start()\n- if type(method) is str:\n+ i... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Inherit results class from genericlikelihood... |
642,048 | 23.08.2018 22:53:58 | 14,400 | 336ea493c0cdf1d2601c71aa3a290349eb70ec0d | refinements to fit | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "@@ -476,7 +476,7 @@ class ProcessRegression(base.LikelihoodModel):\nreturn score\n- def fit(self, start_params=None, method=None, maxiter=100, full_output=Tru... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | refinements to fit |
642,048 | 26.08.2018 00:39:32 | 14,400 | 6b1091ee5b7b98d22155e9e9fd162f3849484883 | improve indexing for performance | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "@@ -300,10 +300,10 @@ class ProcessRegression(base.LikelihoodModel):\nraise ValueError(\"groups is a required argument\")\nif subset is not None:\n- warnings.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | improve indexing for performance |
642,048 | 28.08.2018 09:43:48 | 14,400 | 087effc5ea7a6b7e6b496541d65cd1b2c2e0112e | rename class to ProcessMLE | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "@@ -48,7 +48,7 @@ class ProcessCovariance(object):\ns[i] \\cdot s[j] \\cdot h(|time[i] - time[j]| / \\sqrt{(u[i] + u[j]) /\n2}) \\cdot \\frac{u[i]^{1/})u[j]^{... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | rename class to ProcessMLE |
642,048 | 21.09.2018 16:51:53 | 14,400 | 8f60bbd0ebbc8d93e603415634825c41d0feb419 | fix incorrect pvalue calculation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_reg.py",
"new_path": "statsmodels/regression/process_reg.py",
"diff": "@@ -706,8 +706,8 @@ class ProcessMLEResults(base.GenericLikelihoodModelResults):\ndf[\"std err\"] = np.nan\nfrom scipy.stats.distributions import norm\n- df[\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | fix incorrect pvalue calculation |
642,048 | 04.11.2018 10:50:41 | 18,000 | 1d32661933e6d231b9f8d8c56abb5497dea55fbc | make hessian a function, attach k_# attributes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_regression.py",
"new_path": "statsmodels/regression/process_regression.py",
"diff": "@@ -486,6 +486,13 @@ class ProcessMLE(base.LikelihoodModel):\nreturn score\n+\n+ def hessian(self, params):\n+\n+ hess = approx_fprime(params, s... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | make hessian a function, attach k_# attributes |
642,048 | 04.11.2018 11:45:58 | 18,000 | 1415c0e894e9246214bd53add091d594e8a50559 | streamline data handling in predict | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_regression.py",
"new_path": "statsmodels/regression/process_regression.py",
"diff": "@@ -623,12 +623,9 @@ class ProcessMLE(base.LikelihoodModel):\n\"\"\"\nif exog is None:\n- if hasattr(self.data, \"frame\"):\n- exog = self.data.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | streamline data handling in predict |
642,048 | 29.12.2018 15:08:13 | 18,000 | ddd82795bb7a46304c56e250140b32176be9d5a7 | add white noise component to the covariance | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_regression.py",
"new_path": "statsmodels/regression/process_regression.py",
"diff": "@@ -46,7 +46,7 @@ class ProcessCovariance(object):\n.. math::\ns[i] \\cdot s[j] \\cdot h(|time[i] - time[j]| / \\sqrt{(u[i] + u[j]) /\n- 2}) \\c... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | add white noise component to the covariance |
642,048 | 01.01.2019 00:34:12 | 18,000 | 07b2fc7712891cb59847e90f8ad8758eb95d3813 | Make docstring that contains Latex raw | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_regression.py",
"new_path": "statsmodels/regression/process_regression.py",
"diff": "@@ -25,7 +25,7 @@ import warnings\nclass ProcessCovariance(object):\n- \"\"\"\n+ r\"\"\"\nA covariance model for linear regression with dependen... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Make docstring that contains Latex raw |
641,896 | 02.05.2019 15:32:09 | -3,600 | d65e093d10a65156ec8c2b230b9aa303f9d2509b | Guofei9987 modify comments proportion confint
DOC: Fix comments in stats.proportion.proportion_confint
modify comments | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/stats/proportion.py",
"new_path": "statsmodels/stats/proportion.py",
"diff": "@@ -26,7 +26,8 @@ def proportion_confint(count, nobs, alpha=0.05, method='normal'):\ntotal number of trials\nalpha : float in (0, 1)\nsignificance level, default 0.05\n- ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Guofei9987 modify comments proportion confint (#5605)
DOC: Fix comments in stats.proportion.proportion_confint
modify comments |
641,896 | 02.05.2019 15:35:16 | -3,600 | cdf975106c323a23f0653bb4c510dd3188d009c4 | Mattwigway mice setting with copy warning
MAINT: Fix MICEData SettingWithCopyWarning with mixed dtypes
Fix SettingWithCopyWarning issue in MICEData | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/imputation/mice.py",
"new_path": "statsmodels/imputation/mice.py",
"diff": "@@ -395,7 +395,7 @@ class MICEData(object):\nix = self.ix_miss[col]\nif len(ix) > 0:\n- self.data[col].iloc[ix] = np.atleast_1d(vals)\n+ self.data.iloc[ix, self.data.column... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Mattwigway mice setting with copy warning (#5606)
MAINT: Fix MICEData SettingWithCopyWarning with mixed dtypes
Fix SettingWithCopyWarning issue in MICEData |
641,904 | 05.09.2018 19:31:33 | 25,200 | 2e98e0809fa29aae6bfba9695a9a796dc667b1b4 | CLN: remove unused imports in tools, sm.tsa | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/api.py",
"new_path": "statsmodels/tsa/api.py",
"diff": "+__all__ = [\"AR\", \"ARMA\", \"ARIMA\",\n+ \"var\", \"VAR\", \"VECM\", \"SVAR\", \"DynamicVAR\",\n+ \"filters\",\n+ \"tsatools\",\n+ \"add_trend\", \"detrend\", \"lagmat\", \"lagmat2ds\",... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: remove unused imports in tools, sm.tsa |
641,904 | 02.05.2019 12:03:25 | 25,200 | 3b0ebb56476e17e2098cfd002425e0f7d9f465d4 | FIXUP: add innovations to __all__, got missed in rebase | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/api.py",
"new_path": "statsmodels/tsa/api.py",
"diff": "__all__ = [\"AR\", \"ARMA\", \"ARIMA\",\n\"var\", \"VAR\", \"VECM\", \"SVAR\", \"DynamicVAR\",\n\"filters\",\n+ \"innovations\",\n\"tsatools\",\n\"add_trend\", \"detrend\", \"lagmat\", \"l... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | FIXUP: add innovations to __all__, got missed in rebase |
641,904 | 23.08.2018 17:36:58 | 25,200 | bb5d48d8c45aeb6ed76f9e2ca1de6e5b1cd34e7e | [TST/MAINT] de-duplicate get_correction_factor code | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/discrete_model.py",
"new_path": "statsmodels/discrete/discrete_model.py",
"diff": "@@ -3743,7 +3743,6 @@ class L1CountResults(DiscreteResults):\n__doc__ = _discrete_results_docs % {\"one_line_description\" :\n\"A results class for count da... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/MAINT] de-duplicate get_correction_factor code |
641,904 | 03.05.2019 00:31:02 | 25,200 | 98f0409b691e4741b5b4712de4833780725e77a2 | MAINT: fix and lint for W292 newline at end of file
MAINT: fix and lint for W292 newline at end of file
linting fix | [
{
"change_type": "MODIFY",
"old_path": "setup.cfg",
"new_path": "setup.cfg",
"diff": "@@ -147,6 +147,8 @@ select=\nE306,\n# E306: expected 1 blank line before a nested definition, found 0\n+ W292,\n+ # W292: no newline at end of file\nE272,\n# E272: multiple spaces before keyword\n"
},
{
"ch... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: fix and lint for W292 newline at end of file (#5099)
MAINT: fix and lint for W292 newline at end of file
linting fix |
642,048 | 03.05.2019 08:41:51 | 14,400 | 2f741fe816ec3d2544da39dacc3aead6fa8a0ce1 | docstring edits [skip ci] | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/process_regression.py",
"new_path": "statsmodels/regression/process_regression.py",
"diff": "@@ -5,11 +5,11 @@ This module implements maximum likelihood-based estimation (MLE) of\nGaussian models for finite-dimensional observations made ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | docstring edits [skip ci] |
642,048 | 01.04.2019 11:58:06 | 14,400 | 7342e6c1d630a6e840465f1e8d43021585563a96 | extend optimizer attempts | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/mixed_linear_model.py",
"new_path": "statsmodels/regression/mixed_linear_model.py",
"diff": "@@ -1993,7 +1993,7 @@ class MixedLM(base.LikelihoodModel):\nwarnings.warn(\"Argument %s not used by MixedLM.fit\" % x)\nif method is None:\n- me... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | extend optimizer attempts |
642,065 | 06.09.2018 06:36:54 | 18,000 | 8ec5554ae47aa9f95b01fece1a7ee861938ebff4 | DOC: Add optimization options | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/optimizer.py",
"new_path": "statsmodels/base/optimizer.py",
"diff": "@@ -95,6 +95,33 @@ class Optimizer(object):\nepsilon\nIf fprime is approximated, use this value for the step\nsize. Only relevant if LikelihoodModel.score is None.\n+ 'lbfgs'... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC: Add optimization options |
642,065 | 09.09.2018 15:05:41 | 18,000 | 9df96b6ee8ef13578dab5f64d8c9cb18164ef5d9 | DOC cleanup, proofread, and editing | [
{
"change_type": "MODIFY",
"old_path": "docs/source/faq.rst",
"new_path": "docs/source/faq.rst",
"diff": "Frequently Asked Question\n=========================\n+What is statsmodels?\n+--------------------\n+\n+statsmodels is a Python package that provides a collection of widely-used\n+statistical mo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | DOC cleanup, proofread, and editing |
642,065 | 20.09.2018 19:40:13 | 18,000 | ae1b72c1e853b60c2d97d2ce829d2e40e550b853 | Release notes and clearer discussion of the optimization used. | [
{
"change_type": "MODIFY",
"old_path": "docs/source/dev/maintainer_notes.rst",
"new_path": "docs/source/dev/maintainer_notes.rst",
"diff": "Maintainer Notes\n================\n-This is for those with read-write access to upstream. It is recommended to name the upstream\n-remote something to remind y... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Release notes and clearer discussion of the optimization used. |
641,904 | 23.08.2018 15:52:36 | 25,200 | a4e7b704aaccb43dca828b019c6f090c0a6c8a24 | [TST/DOC] make commented-out code in tests/results into readable documentation | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/results/results_discrete.py",
"new_path": "statsmodels/discrete/tests/results/results_discrete.py",
"diff": "@@ -611,7 +611,6 @@ class Spector(object):\n# don't know why margeff is different, but trust official results\nself.margeff_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/DOC] make commented-out code in tests/results into readable documentation |
641,904 | 23.08.2018 16:27:39 | 25,200 | 8c69835b75d92c84ecaa209032f6c6a7446f9404 | [TST/MAINT] turn commented-out code into readable docs in results_ar, results_arima | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/results/results_ar.py",
"new_path": "statsmodels/tsa/tests/results/results_ar.py",
"diff": "import numpy as np\nimport os\n+cur_dir = os.path.dirname(os.path.abspath(__file__))\n+\nclass ARLagResults(object):\n\"\"\"\n@@ -53,12 +55,14 @@ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/MAINT] turn commented-out code into readable docs in results_ar, results_arima |
641,904 | 24.08.2018 18:02:21 | 25,200 | 383ac917a45501359d7733b35fc6d57eb64c4b01 | [TST] move misplaced lme_results files to results dir | [
{
"change_type": "RENAME",
"old_path": "statsmodels/regression/tests/generate_lme.py",
"new_path": "statsmodels/regression/tests/results/generate_lme.py",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "statsmodels/regression/tests/lme_r_results.py",
"new_path": "statsmodels/re... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST] move misplaced lme_results files to results dir |
641,904 | 24.08.2018 18:06:33 | 25,200 | f42ca4dae1c3bfeaa4ec44f3e0bddd9f4ed4de1f | [MAINT/TST] readability fixups in generate_lme | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/results/generate_lme.py",
"new_path": "statsmodels/regression/tests/results/generate_lme.py",
"diff": "@@ -20,15 +20,15 @@ n_max = 5\ndsix = 0\n# Number of random effects\n-for pr in 1,2:\n+for pr in [1, 2]:\nre_sd = np.linspace(-0... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/TST] readability fixups in generate_lme |
641,904 | 24.08.2018 18:07:49 | 25,200 | f7502624780139592a76cb289242d27be8678f23 | [TST/MAINT] move misplaced results_quantile_regression to results dir | [
{
"change_type": "RENAME",
"old_path": "statsmodels/regression/tests/results_quantile_regression.py",
"new_path": "statsmodels/regression/tests/results/results_quantile_regression.py",
"diff": ""
},
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_quantile_regres... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/MAINT] move misplaced results_quantile_regression to results dir |
641,904 | 24.08.2018 18:11:51 | 25,200 | 11a62835a1575d3659a68f2300cd852a0244d62d | [MAINT] add test_quantile_regression to strict litning | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -31,6 +31,8 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/regression/mixed_linear_model.py \\\nstatsmodels/regression/recursive_ls.py \\\nstatsmodels/regression/tests/test_lme.py \\\n+ statsmodels/regression/tests/... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] add test_quantile_regression to strict litning |
641,904 | 24.08.2018 18:13:55 | 25,200 | 7e6c5c679769f2043e60ccdf033da64d52e96c57 | [MAINT/TST] move misplaced lasso results file to results dir | [
{
"change_type": "RENAME",
"old_path": "statsmodels/regression/tests/generate_lasso.py",
"new_path": "statsmodels/regression/tests/results/generate_lasso.py",
"diff": ""
},
{
"change_type": "RENAME",
"old_path": "statsmodels/regression/tests/glmnet_r_results.py",
"new_path": "statsmo... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/TST] move misplaced lasso results file to results dir |
641,904 | 24.08.2018 18:14:36 | 25,200 | a329388fc72c6a1cc06d16ac6161639ef20f9c68 | [MAINT/TST] update paths in moved files | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/results/generate_lasso.py",
"new_path": "statsmodels/regression/tests/results/generate_lasso.py",
"diff": "@@ -23,5 +23,5 @@ endog = expval + np.random.normal(size=n)\ndata = np.concatenate((endog[:,None], exog), axis=1)\ndata = np... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/TST] update paths in moved files |
641,904 | 24.08.2018 18:24:44 | 25,200 | 5b5fb0b5ead1d2723f3755f44fb1a2114c708dc9 | [MAINT/TST] add generate_lasso to strict linting | [
{
"change_type": "MODIFY",
"old_path": "lint.sh",
"new_path": "lint.sh",
"diff": "@@ -32,6 +32,7 @@ if [ \"$LINT\" == true ]; then\nstatsmodels/regression/recursive_ls.py \\\nstatsmodels/regression/tests/test_lme.py \\\nstatsmodels/regression/tests/test_quantile_regression.py \\\n+ statsmodels/regre... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/TST] add generate_lasso to strict linting |
641,904 | 23.08.2018 14:17:58 | 25,200 | ae7ae5be4899199a45e0cbb95de07e9ddb30d026 | [MAINT/TST] skip/xfail tests instead of mangling/commenting-out | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/test_glm_weights.py",
"new_path": "statsmodels/genmod/tests/test_glm_weights.py",
"diff": "@@ -30,8 +30,6 @@ from __future__ import division\nfrom statsmodels.compat.python import PY3\nimport warnings\n-from warnings import catch_warni... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/TST] skip/xfail tests instead of mangling/commenting-out |
641,904 | 06.09.2018 13:11:06 | 25,200 | 909f72a8972f9d0a34891ef884dd81797a95e910 | BUG: Fix NameError in grouputils, make __main__ into tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/panel/panel_short.py",
"new_path": "statsmodels/sandbox/panel/panel_short.py",
"diff": "@@ -24,7 +24,7 @@ the only two group specific methods or get_within_cov and whiten\nimport numpy as np\nfrom statsmodels.regression.linear_model import ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | BUG: Fix NameError in grouputils, make __main__ into tests |
641,904 | 23.08.2018 15:58:28 | 25,200 | 0895e0e0f61aee0d4d3e5b00b187e00743c92184 | [TST/DOC] Make test comments more readable | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/test_ar.py",
"new_path": "statsmodels/tsa/tests/test_ar.py",
"diff": "@@ -23,8 +23,9 @@ class CheckARMixin(object):\nassert_almost_equal(self.res1.params, self.res2.params, DECIMAL_6)\ndef test_bse(self):\n- bse = np.sqrt(np.diag(self.res... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST/DOC] Make test comments more readable |
641,904 | 03.05.2019 14:30:15 | 25,200 | 14dba132dd196729d201f4b7c1d6192b73beda3e | change commented-out code into comment | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/varma_process.py",
"new_path": "statsmodels/tsa/varma_process.py",
"diff": "@@ -127,9 +127,7 @@ def varfilter(x, a):\nelif a.ndim == 3:\n# case: vector autoregressive with lag matrices\n- #not necessary:\n- #if np.any(a.shape[1:] != nvar):\n- #... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | change commented-out code into comment |
641,904 | 20.09.2018 07:36:25 | 25,200 | bb12c6b426518921471d9b1240fd46021850b6d3 | Remove copied text | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_constrained.py",
"new_path": "statsmodels/discrete/tests/test_constrained.py",
"diff": "@@ -161,8 +161,6 @@ class TestPoissonConstrained1a(CheckPoissonConstrainedMixin):\n# NOTE: see comment about convergence in llnull for self.... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Remove copied text |
641,904 | 20.09.2018 11:19:52 | 25,200 | 7499a44e15abbf4596ae18e4ce94b9ff0488a32c | CLN: redundant comments | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/tests/test_data.py",
"new_path": "statsmodels/base/tests/test_data.py",
"diff": "@@ -516,7 +516,7 @@ class TestMissingArray(object):\n@pytest.mark.smoke\ndef test_raise_no_missing(self):\n- # smoke test for #1700\n+ # GH#1700\nsm_data.handle_d... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: redundant comments |
641,904 | 20.09.2018 13:43:18 | 25,200 | 9ade02741f3aa8ccf5eeca68b2d0d0b37580a87e | TST: split out smoke tests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/regression/tests/test_robustcov.py",
"new_path": "statsmodels/regression/tests/test_robustcov.py",
"diff": "@@ -34,7 +34,32 @@ class CheckOLSRobust(object):\nassert_allclose(self.bse_robust, res2.bse, rtol=rtol)\nassert_allclose(self.cov_robust, re... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: split out smoke tests |
641,904 | 20.09.2018 13:48:57 | 25,200 | e2f99daa89fe799ee56ead7f4b4655a66a6dc55b | TST: mark more as smoketests | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/genmod/tests/test_gee.py",
"new_path": "statsmodels/genmod/tests/test_gee.py",
"diff": "@@ -154,6 +154,7 @@ class TestGEE(object):\nassert_allclose(marg.margeff, np.r_[-0.41197961], rtol=1e-5)\nassert_allclose(marg.margeff_se, np.r_[0.1379962], rto... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: mark more as smoketests |
641,904 | 23.09.2018 10:38:24 | 25,200 | 35c41369bc5c935f53900fbcc42ebd3440c22ab7 | TST: split smoke from nonsmoke in test_norm_expan | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/sandbox/distributions/tests/test_norm_expan.py",
"new_path": "statsmodels/sandbox/distributions/tests/test_norm_expan.py",
"diff": "@@ -22,10 +22,11 @@ from statsmodels.stats.moment_helpers import mc2mvsk, mnc2mc\nclass CheckDistribution(object):\n... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: split smoke from nonsmoke in test_norm_expan |
641,904 | 23.09.2018 10:43:20 | 25,200 | e97b569c54aa1b1eeedb103fc99094e425ef09ce | TST: revert smoke mark in vecm | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/vector_ar/tests/test_vecm.py",
"new_path": "statsmodels/tsa/vector_ar/tests/test_vecm.py",
"diff": "@@ -1337,8 +1337,7 @@ def test_exceptions():\nvecm_res.predict, 5, None, exog_coint_fc) # passed as exog_fc-argument!\n-@pytest.mark.smoke\n-def... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | TST: revert smoke mark in vecm |
641,904 | 02.05.2019 12:11:48 | 25,200 | 6e26abcaec6e47e4aeda2207e06f5ef50a5361ca | Copy azure-pipelines.yml from
[skip travis] [skip appveyor] | [
{
"change_type": "ADD",
"old_path": null,
"new_path": "azure-pipelines.yml",
"diff": "+# Python package\n+# Create and test a Python package on multiple Python versions.\n+# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and more:\n+# https://do... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | Copy azure-pipelines.yml from #5423
[skip travis] [skip appveyor] |
641,904 | 02.05.2019 12:18:54 | 25,200 | e5f9604070bf8b7dae7a0152ec843fc1dc55aeb6 | edit line from template file to be correct for statsmodels
[skip travis] [skip appveyor] | [
{
"change_type": "MODIFY",
"old_path": "azure-pipelines.yml",
"new_path": "azure-pipelines.yml",
"diff": "@@ -29,12 +29,18 @@ jobs:\nversionSpec: '$(python.version)'\narchitecture: 'x64'\n- - script: python -m pip install --upgrade pip && pip install -r requirements.txt\n+ - script: |\n+ python -m p... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | edit line from template file to be correct for statsmodels
[skip travis] [skip appveyor] |
641,904 | 03.05.2019 14:59:31 | 25,200 | db80d4a22ca2449251a6e4ed155eab75e3bffbc0 | [TST] xfail/skip instead of commenting-out/mangling discrete tests
fixup pvalues-->test_pvalues, xfail only for NegBin classes | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/discrete/tests/test_discrete.py",
"new_path": "statsmodels/discrete/tests/test_discrete.py",
"diff": "@@ -77,12 +77,15 @@ class CheckModelResults(CheckModelMixin):\ndef test_zstat(self):\nassert_almost_equal(self.res1.tvalues, self.res2.z, DECIMAL_... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [TST] xfail/skip instead of commenting-out/mangling discrete tests (#4983)
fixup pvalues-->test_pvalues, xfail only for NegBin classes |
641,904 | 28.09.2018 17:58:23 | 25,200 | d4089f9599c529b3bfae37d6936a4fc8058e7770 | MAINT: de-duplicate _getnames code | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary.py",
"new_path": "statsmodels/iolib/summary.py",
"diff": "@@ -105,8 +105,6 @@ def summary(self, yname=None, xname=None, title=0, alpha=.05,\n\"\"\"\nimport time as time\n-\n-\n#TODO Make sure all self.model.__class__.__name__ are list... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: de-duplicate _getnames code |
641,904 | 28.09.2018 18:02:44 | 25,200 | d24aafb99c44961b7a1c9e380e82dc86ad84f1ee | MAINT: remove commented-out code in cases where better alternative is adjacent | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary.py",
"new_path": "statsmodels/iolib/summary.py",
"diff": "@@ -128,7 +128,6 @@ def summary(self, yname=None, xname=None, title=0, alpha=.05,\ntime_of_day = [time.strftime(\"%H:%M:%S\", time_now)]\ndate = time.strftime(\"%a, %d %b %Y\",... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove commented-out code in cases where better alternative is adjacent |
641,904 | 28.09.2018 18:07:28 | 25,200 | f10c129a0c9dd0aaebfbdd4393c31d42cba35218 | MAINT: de-duplicate imports fixup actually-helpful comments | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary.py",
"new_path": "statsmodels/iolib/summary.py",
"diff": "+import copy\n+import time\n+\nfrom statsmodels.compat.python import range, lrange, lmap, lzip, zip_longest\nimport numpy as np\nfrom statsmodels.iolib.table import SimpleTable... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: de-duplicate imports fixup actually-helpful comments |
641,904 | 28.09.2018 18:16:38 | 25,200 | 637d8f843c4d1a71d2d299841cf4ebf801461843 | CLN: Misc cleanups where unambiguous | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/iolib/summary.py",
"new_path": "statsmodels/iolib/summary.py",
"diff": "@@ -115,12 +115,6 @@ def summary(self, yname=None, xname=None, title=0, alpha=.05,\n'RLM': 'Robust linear model',\n'GLM': 'Generalized linear model'\n}\n- model_methods = {'OLS... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CLN: Misc cleanups where unambiguous |
641,904 | 03.05.2019 16:21:06 | 25,200 | 365129d430b17e5e2f6fe2c267657027e548f369 | [MAINT/Test] skip test instead of mangling name in test_generic_methods
skip test instead of mangling name
remove unused test class | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/tests/test_generic_methods.py",
"new_path": "statsmodels/base/tests/test_generic_methods.py",
"diff": "@@ -18,12 +18,11 @@ import pandas as pd\nimport pytest\nimport statsmodels.api as sm\nimport statsmodels.tools._testing as smt\n+from statsm... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/Test] skip test instead of mangling name in test_generic_methods (#4978)
skip test instead of mangling name
remove unused test class |
641,904 | 03.05.2019 14:58:05 | 25,200 | 53b9287f46b79e71ca18b769791e8a49a8c13a8f | CI: poke at running on multi platforms | [
{
"change_type": "MODIFY",
"old_path": "azure-pipelines.yml",
"new_path": "azure-pipelines.yml",
"diff": "-# Python package\n-# Create and test a Python package on multiple Python versions.\n-# Add steps that analyze code, save the dist with the build record, publish to a PyPI-compatible index, and ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CI: poke at running on multi platforms |
641,904 | 04.05.2019 10:40:38 | 25,200 | 5e1220b7c0ae59f3e787392ff678411f32c7a3be | CI: disable x64 builds on appveyor | [
{
"change_type": "MODIFY",
"old_path": "appveyor.yml",
"new_path": "appveyor.yml",
"diff": "@@ -10,9 +10,7 @@ environment:\n# Pip builds\n- PYTHON: C:\\Python27\nPYTEST_DIRECTIVES:\n- - PYTHON: C:\\Python27-x64\n- PYTHON: C:\\Python36\n- - PYTHON: C:\\Python36-x64\nPYTEST_DIRECTIVES:\n# Conda builds... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | CI: disable x64 builds on appveyor |
641,904 | 23.08.2018 16:13:57 | 25,200 | a33fa8715c787be2abd4f5d9babcbcaf391bd58a | [MAINT/TST] turn commented-out code into readable docs in results_arma | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tsa/tests/results/results_arma.py",
"new_path": "statsmodels/tsa/tests/results/results_arma.py",
"diff": "@@ -59,8 +59,9 @@ class Y_arma11(object):\nself.bic = 721.546405865964\nself.arroots = [ 1.2634 + 0.0000j]\nself.maroots = [-2.6104 +0.0000j]\... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT/TST] turn commented-out code into readable docs in results_arma |
641,904 | 24.08.2018 14:06:47 | 25,200 | c65af0f898294e3963a5bfeb091e62cdd0510e07 | [MAINT] remove unused imports in examples+tools | [
{
"change_type": "MODIFY",
"old_path": "examples/python/discrete_choice_example.py",
"new_path": "examples/python/discrete_choice_example.py",
"diff": "@@ -20,7 +20,7 @@ import pandas as pd\nfrom scipy import stats\nimport matplotlib.pyplot as plt\nimport statsmodels.api as sm\n-from statsmodels.for... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [MAINT] remove unused imports in examples+tools |
641,904 | 05.09.2018 16:10:00 | 25,200 | 1386d16c0b1c9bcf41fdf3c069544d967285d765 | [ci skip] remove unused imports in ipynb file | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/discrete_choice_example.ipynb",
"new_path": "examples/notebooks/discrete_choice_example.ipynb",
"diff": "\"from scipy import stats\\n\",\n\"import matplotlib.pyplot as plt\\n\",\n\"import statsmodels.api as sm\\n\",\n- \"from statsmodels.for... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | [ci skip] remove unused imports in ipynb file |
641,904 | 16.09.2018 17:39:12 | 25,200 | 26f4d84bc1348a9c153cde74d053eaad0b8c5851 | MAINT: remove imports in corresponding notebook files | [
{
"change_type": "MODIFY",
"old_path": "examples/notebooks/formulas.ipynb",
"new_path": "examples/notebooks/formulas.ipynb",
"diff": "\"outputs\": [],\n\"source\": [\n\"from __future__ import print_function\\n\",\n- \"import numpy as np\\n\",\n+ \"import numpy as np # noqa:F401 needed in namespace f... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove imports in corresponding notebook files |
641,904 | 12.09.2018 17:43:12 | 25,200 | 963678b1453e69f291127c65eb177d76df5cccd4 | MAINT: remove dummy __main__ section | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/base/wrapper.py",
"new_path": "statsmodels/base/wrapper.py",
"diff": "@@ -119,37 +119,3 @@ def populate_wrapper(klass, wrapping):\nfunc = getattr(wrapping, meth)\nwrapper = make_wrapper(func, how)\nsetattr(klass, meth, wrapper)\n-\n-\n-if __name__ ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove dummy __main__ section |
641,904 | 12.09.2018 17:44:04 | 25,200 | db8dc5eccd85b5c58a3697865c698b844edd6a7c | MAINT: remove __main__ section redundant with test | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/catadd.py",
"new_path": "statsmodels/tools/catadd.py",
"diff": "@@ -36,14 +36,3 @@ def add_indep(x, varnames, dtype=None):\nvarnames_dropped.append(ni)\nreturn xout[:, :count], varnames_new\n-\n-\n-if __name__ == '__main__':\n- x1 = np.array(... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove __main__ section redundant with test |
641,904 | 12.09.2018 17:45:26 | 25,200 | eca4e825e32d3e722241dbf673ec4391b0ddee0d | MAINT: remove __main__ | [
{
"change_type": "MODIFY",
"old_path": "statsmodels/tools/tests/test_eval_measures.py",
"new_path": "statsmodels/tools/tests/test_eval_measures.py",
"diff": "@@ -87,7 +87,6 @@ def test_ic():\nic_sig(2, 10, 2),\ndecimal=14)\n-\n# examples penalty directly from formula\nn, k = 10, 2\nassert_almost_equ... | Python | BSD 3-Clause New or Revised License | statsmodels/statsmodels | MAINT: remove __main__ |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.