Meta mapper that embedded a chain of other mappers.
Each mapper in the chain is called successively to perform forward or
reverse mapping.
With respect to neighbor metrics this means that they are determined
based on the input space of the last mapper in the chain and not on
the input dataspace of the ChainMapper as a whole
|
__init__(self,
mappers,
**kwargs)
:Parameters:
mappers: list of Mapper instances
**kwargs
All additional arguments are passed to the base-class constructor. |
source code
|
|
|
|
|
reverse(self,
data)
Calls all mappers in the chain successively, in reversed order. |
source code
|
|
|
|
|
|
|
|
|
|
|
getNeighbor(self,
outId,
*args,
**kwargs)
Get the ids of the neighbors of a single feature in output dataspace. |
source code
|
|
|
|
Inherited from Mapper :
__call__ ,
getInId ,
getMetric ,
getNeighborIn ,
getNeighbors ,
isValidInId ,
isValidOutId ,
setMetric
Inherited from object :
__delattr__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__setattr__ ,
__str__
|