Skip to content

Commit

Permalink
Run formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
tomaarsen committed Jan 10, 2025
1 parent 467c507 commit 9784485
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/setfit/sampler.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from collections import Counter
from itertools import combinations
from typing import Dict, Generator, Iterable, List, Literal, Optional, Union
from collections import Counter

import numpy as np
import torch
Expand Down Expand Up @@ -52,6 +52,7 @@ class SamplingStrategy(ExplicitEnum):
* Y Every possible pair is used.
* Y There is **no** data duplication.
"""

OVERSAMPLING = "oversampling"
UNDERSAMPLING = "undersampling"
UNIQUE = "unique"
Expand Down

0 comments on commit 9784485

Please sign in to comment.