beacon-biosignals / CatBoost.jl
Showing 1 of 3 files from the diff.
Other files ignored by Codecov
test/runtests.jl has changed.
Project.toml has changed.

@@ -6,6 +6,20 @@
Loading
6 6
using OrderedCollections
7 7
using Tables
8 8
9 +
#####
10 +
##### Exports
11 +
#####
12 +
13 +
export catboost
14 +
15 +
export CatBoostRegressor, CatBoostClassifier
16 +
export fit!, cv, predict, predict_proba
17 +
export Pool
18 +
export pandas_to_df
19 +
20 +
# Datasets API.
21 +
export load_dataset
22 +
9 23
#####
10 24
##### _init_
11 25
#####
@@ -137,9 +151,8 @@
Loading
137 151
        ret = c isa PyObject ? PyAny(c) : c
138 152
        return ret isa Int ? ret + 1 : ret
139 153
    end
140 -
    # Did the creators of PyCall seriously handle the conversion automatically? 
141 -
    # What were they thinking?
142 -
    df = DataFrame(Any[Array(pandas_df[c].values) for c in colnames], map(Symbol, colnames))
154 +
    df = DataFrame(Any[Array(getproperty(pandas_df, c).values) for c in colnames],
155 +
                   map(Symbol, colnames))
143 156
    return df
144 157
end
145 158
@@ -152,18 +165,4 @@
Loading
152 165
    return train, test
153 166
end
154 167
155 -
#####
156 -
##### Exports
157 -
#####
158 -
159 -
export catboost
160 -
161 -
export CatBoostRegressor, CatBoostClassifier
162 -
export fit!, cv, predict, predict_proba
163 -
export Pool
164 -
export pandas_to_df
165 -
166 -
# Datasets API.
167 -
export load_dataset
168 -
169 168
end # module
Files Coverage
src/CatBoost.jl 90.24%
Project Totals (1 files) 90.24%

No yaml found.

Create your codecov.yml to customize your Codecov experience

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