BiomedSciAI / fuse-med-ml

A python framework accelerating ML based discovery in the medical field by encouraging code reuse. Batteries included :)
Apache License 2.0
134 stars 34 forks source link

Support tuples as sample IDs in Bootstrapping #362

Open ellabarkan opened 1 month ago

ellabarkan commented 1 month ago

The following things were updated to support sample ids presented as tuples:

  1. Added static method "_convert_tuples" to support converting input list of tuples to np.array format.
  2. Updated the managing of bootstrapping indexes to support indexing using tuples