Skip to content

doubt about featurizer tensor size #80

@pmnerfed

Description

@pmnerfed

Hi,
According to the code, the tensor created is tensor[0][init_idx][attr_idx] = 1.0.
Can you please elaborate on why its not tensor[0][attr_idx][init_idx] = 1.0(axis 1 and 2 swapped).

file : repair/featurize/initattfeat.py@12
From what I understand,
if each row in the tensor should be for an attribute, it should be the axis=1 not 2.
The axis =2 should be for valid value for the attribute the row corresponds to.

Hope that makes sense.
If my thinking is wrong, could you please help me out here?
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions