Skip to content

about the index of continous features #7

@ssdyue

Description

@ssdyue

in data/dataset.py

if self.train:
            # index of continous features are zero
            Xi_coutinous = np.zeros_like(dataI[:continous_features])
else:
            # index of continous features are one
            Xi_coutinous = np.ones_like(dataI[:continous_features])

Why are the indexes generated by the continuous variables of the training set and the test set zero and one respectively? And should index for each continuous variable be the same?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions