Skip to content

bootstrap resampling via numpy instead of sklearn #520

@yunjunz

Description

@yunjunz

It seems possible to use numpy.random.choice for bootstrap resampling (https://medium.com/swlh/bootstrap-sampling-using-pythons-numpy-85822d868977), besides sklearn.utils.resample, which is used in timeseries2velocity.py.

Numpy is preferred to avoid extra dependencies of mintpy.

scipy.stats.bootstrap is added to the scipy v1.7.0.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions