Closed ali-tny closed 5 years ago
Merging #4 into master will increase coverage by
0.28%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #4 +/- ##
=========================================
+ Coverage 88.41% 88.7% +0.28%
=========================================
Files 32 33 +1
Lines 1528 1567 +39
=========================================
+ Hits 1351 1390 +39
Misses 177 177
Impacted Files | Coverage Δ | |
---|---|---|
timeserio/model_selection/time_series_split.py | 100% <100%> (ø) |
Continue to review full report at Codecov.
Legend - Click here to learn more
Δ = absolute <relative> (impact)
,ø = not affected
,? = missing data
Powered by Codecov. Last update fa5e7cc...178e494. Read the comment docs.
to extend the sklearn TimeSeriesSplit to cases where there are several time series - eg, a time series for each team.
It uses a list comprehension
.loc
in the middle which I don't really like, but I couldn't think of a pure-pandas way to turn index labels -> index locations.