ModelOriented / iBreakDown
Showing 1 of 2 files from the diff.
Other files ignored by Codecov
NEWS.md has changed.

@@ -141,9 +141,9 @@
Loading
141 141
    # average or selected path
142 142
    if (head(path, 1) == "average") {
143 143
      # let's calculate an average attribution
144 -
      extracted_contributions <- sapply(result, function(chunk) {
144 +
      extracted_contributions <- do.call(cbind, lapply(result, function(chunk) {
145 145
        chunk[order(chunk$label, chunk$variable), "contribution"]
146 -
      })
146 +
      }))
147 147
      result_average <- result[[1]]
148 148
      result_average <- result_average[order(result_average$label, result_average$variable),]
149 149
      result_average$contribution <- rowMeans(extracted_contributions)
@@ -206,7 +206,9 @@
Loading
206 206
  }
207 207
208 208
  diffs <- apply(do.call(rbind, yhats), 2, diff)
209 -
209 +
  if (is.vector(diffs)) { #93
210 +
    diffs <- t(diffs)
211 +
  }
210 212
  #76
211 213
  new_observation_vec <- sapply(as.data.frame(new_observation), nice_format) # same as in BD
212 214
Files Coverage
R 95.12%
Project Totals (13 files) 95.12%
Notifications are pending CI completion. Waiting for GitHub's status webhook to queue notifications. Push notifications now.
1
comment: false
2

3
coverage:
4
  status:
5
    project:
6
      default:
7
        target: auto
8
        threshold: 1%
9
        informational: true
10
    patch:
11
      default:
12
        target: auto
13
        threshold: 1%
14
        informational: true
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading