Skip to main content

Forest Growth Model Utilities

Project description

FGMUtils (Python Port)

Version 0.9.6

Overview

This folder contains the Python implementation of the FGMUtils toolkit. It mirrors the behaviour of the original R package while exposing a modern packaging layout (src/, pyproject.toml) suitable for publication on PyPI. The modules cover data preparation, prediction, evaluation, statistics, and advanced volume analysis, all validated against fixtures generated by the R tests.

Objectives

  • Provide a faithful port of the R algorithms used for forest growth and production modelling.
  • Deliver reusable building blocks (dataops, prediction, evaluation, metrics, volume) that can be imported in analytical pipelines.
  • Ensure numerical parity with the R package through pytest suites and R-driven fixtures under tests/data.
  • Align metadata (name, version, authors, license) with the source R package so that releases stay synchronized.

Key Modules & Functions

  • dataops: utilities such as separa_dados, cria_dados_pareados, and atualiza_campo_base.
  • prediction: resilient predizer implementation compatible with statsmodels fits.
  • evaluation: avalia_estimativas and eval_age_based, plus ranking helpers.
  • metrics: MAE, RMSE, corrected RRMSE, CE, bias, syx, mspr, r21a, r29a.
  • volume: avalia_volume_avancado, avalia_volume_age_based, and calcula_volume_default.
  • project: mirrors projectBaseOriented to generate projections by age class.

Authors

The Python distribution inherits the authorship from the R package:

  • Clayton Vieira Fraga Filho (maintainer)
  • Ana Paula Simiqueli
  • Gilson Fernandes da Silva
  • Miqueias Fernandes
  • Wagner Amorim da Silva Altoe

Testing & Publication

  • Execute pytest from fgmutils_python/ to run the parity test suite.
  • Metadata is synced from fgmutils_R/DESCRIPTION via scripts/sync_metadata.py; run this script whenever the R package information changes before building wheels (python -m build).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

fgmutils-1.0.0.tar.gz (28.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

fgmutils-1.0.0-py3-none-any.whl (24.0 kB view details)

Uploaded Python 3

File details

Details for the file fgmutils-1.0.0.tar.gz.

File metadata

  • Download URL: fgmutils-1.0.0.tar.gz
  • Upload date:
  • Size: 28.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for fgmutils-1.0.0.tar.gz
Algorithm Hash digest
SHA256 0fc5139707efad34e55f54f81a583b699eac365d1b186b071cf61e2a57703b49
MD5 35038a192a0303940e1880c7e997de23
BLAKE2b-256 ad4ec59c2cc56b4f11846644e3687d8010dcaa0ee624423f6576094c7203835e

See more details on using hashes here.

File details

Details for the file fgmutils-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: fgmutils-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 24.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.14

File hashes

Hashes for fgmutils-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 778642a4ad098ed5d92f55d9ffc6d43fb4f2004f9426c98642d2d34c9550f7d4
MD5 6dbdd0a03876e13f0c9fc75c6c7051b4
BLAKE2b-256 6a655735c7a097dbaeb373e744ac1ddc96804a6a5730b9ccac5afcfaebe26dc4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page