reVeal.grid.ScoreWeightedGrid#

class ScoreWeightedGrid(config)[source]#

Bases: RunnableGrid

Subclass of RunnableGrid for calculating weighted composite score.

Initialize grid from configuration.

Parameters:

config ([dict, CharacterizeConfig]) – Input configuration as either a dictionary or a CharacterizationConfig instance. If a dictionary, validation will be performed to ensure inputs are valid.

Methods

run()

Run weighted composite scoring based on the input configuration.

CONFIG_CLASS#

alias of ScoreWeightedConfig

run()[source]#

Run weighted composite scoring based on the input configuration.

Returns:

gpd.GeoDataFrame – A GeoDataFrame with scored attributes.