math/py-spglm 1.1.0_2 FreeBSD
Sparse generalize linear models
- System
- FreeBSD
- Repository
- FreeBSD ports
- Maintainer
- [email protected]
- License
- BSD3CLAUSE
- Categories
- math, python
Description
This module is an adaptation of a portion of GLM functionality from the Statsmodels package, this it has been simplified and customized for the purposes of serving as the base for several other PySAL modules, namely SpInt and GWR. Currently, it supports the estimation of Gaussian, Poisson, and Logistic regression using only iteratively weighted least squares estimation (IWLS). One of the large differences this module and the functions available in the Statsmodels package is that the custom IWLS routine is fully sparse compatible, which was necesary for the very sparse design matrices that arise in constrained spatial interaction models. The somewhat limited functionality and computation of only a subset of GLM diagnostics also decreases the computational overhead. Another difference is that this module also supports the estimation of QuasiPoisson models. One caveat is that this custom IWLS routine currently generates estimates by directly solves the least squares normal equations rather than using a more robust method like the pseudo inverse. For more robust estimation of ill conditioned data and a fuller GLM framework we suggest using the original GLM functionality from Statsmodels.
In the other systems
| System | Port | Version |
|---|---|---|
| FreeBSD | math/py-spglm | 1.1.0_2 |
| DragonFly | math/py-spglm | 1.1.0 |
Install
Binary package:
pkg install py312-spglm
From the ports tree:
cd /usr/ports/math/py-spglm/ && make install clean
To depend on this port in another port's Makefile:
RUN_DEPENDS= py312-spglm>0:math/py-spglm
Packages
The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.
| Repository | aarch64 | amd64 | armv6 | armv7 | i386 |
|---|---|---|---|---|---|
| FreeBSD:14:latest | - | 1.1.0_2 | - | 1.1.0 | 1.1.0_2 |
| FreeBSD:14:quarterly | - | 1.1.0_2 | n/a | 1.1.0 | 1.1.0_2 |
| FreeBSD:15:latest | - | 1.1.0_2 | n/a | 1.1.0 | 1.1.0 |
| FreeBSD:15:quarterly | - | 1.1.0_2 | n/a | n/a | n/a |
| FreeBSD:16:latest | - | 1.1.0_2 | n/a | n/a | n/a |
| FreeBSD:16:quarterly | n/a | n/a | n/a | n/a | n/a |
Dependencies
As this port's Makefile names them.
Build 3
${PYTHON_PKGNAMEPREFIX}setuptools>=61.0: devel/py-setuptools${PYTHON_PKGNAMEPREFIX}setuptools-scm>=6.2: devel/py-setuptools-scm${PYTHON_PKGNAMEPREFIX}wheel>=0: devel/py-wheel
Runtime 4
${PYTHON_PKGNAMEPREFIX}libpysal>=4.0.0: science/py-libpysal${PYTHON_PKGNAMEPREFIX}numpy>=1.3,1: math/py-numpy${PYTHON_PKGNAMEPREFIX}scipy>=0.11: science/py-scipy${PYTHON_PKGNAMEPREFIX}spreg>=1.0.4: math/py-spreg
The full lists below include those, and their dependencies in turn.
Build dependencies 17
Run dependencies 119
- archivers/brotli
- archivers/libdeflate
- archivers/liblz4
- archivers/minizip
- archivers/zstd
- converters/py-webencodings
- databases/postgresql18-client
- databases/py-sqlite3
- databases/sfcgal
- databases/spatialite
- databases/sqlite3
- devel/binutils
- devel/boost-libs
- devel/gettext-runtime
- devel/icu
- devel/json-c
- devel/libedit
- devel/libffi
- devel/librttopo
- devel/libunistring
- devel/npth
- devel/nspr
- devel/pcre2
- devel/pkgconf
- devel/py-Jinja2
- devel/py-babel
- devel/py-cloudpickle
- devel/py-joblib
- devel/py-lxml
- devel/py-packaging
- devel/py-platformdirs
- devel/py-python-dateutil
- devel/py-pytz
- devel/py-shapely
- devel/py-six
- devel/py-threadpoolctl
- devel/py-typing-extensions
- devel/py-tzdata
- devel/readline
- dns/libidn2
- dns/libpsl
- dns/py-idna
- ftp/curl
- graphics/gdal
- graphics/geos
- graphics/giflib
- graphics/jbigkit
- graphics/jpeg-turbo
- graphics/lcms2
- graphics/lerc
- graphics/libgeotiff
- graphics/openjpeg
- graphics/png
- graphics/poppler
- graphics/poppler-data
- graphics/proj
- graphics/py-geopandas
- graphics/py-pyogrio
- graphics/py-pyproj
- graphics/tiff
- graphics/webp
- lang/gcc14
- lang/python312
- lang/python315
- lang/tcl86
- math/gmp
- math/libtommath
- math/mpc
- math/mpdecimal
- math/mpfr
- math/openblas
- math/py-bottleneck
- math/py-narwhals
- math/py-numexpr
- math/py-numpy
- math/py-pandas
- math/py-spreg
- math/qhull
- net/py-pysocks
- net/py-urllib3
- net/uriparser
- print/freetype2
- print/indexinfo
- science/hdf5
- science/libaec
- science/libkml
- science/netcdf
- science/py-libpysal
- science/py-scikit-learn
- science/py-scipy
- security/gnupg
- security/gnutls
- security/gpgme
- security/gpgmepp
- security/libassuan
- security/libgcrypt
- security/libgpg-error
- security/libksba
- security/libssh2
- security/libtasn1
The first 100 are listed.
Required by 3
Configuration
No options to configure.
- USES
- python
- Service scripts
- none
Files
distinfo 1
| File | Size | SHA256 |
|---|---|---|
| spglm-1.1.0.tar.gz | 616651 | 20519dc38be9d660a28109bb1b89d1068454e79f6413bab2e3987db5bf959327 |
Master sites 1
- PYPI
Commit history 0
No commits in the history this site was built from.