Skip to content

Commit 2bf2342

Browse files
committed
Renamed methods [skip ci]
1 parent 5b7178a commit 2bf2342

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

lib/lightgbm/inner_predictor.rb

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ def predict(data, start_iteration: 0, num_iteration: -1, raw_score: false, pred_
6363
end
6464

6565
preds, nrow =
66-
pred_for_array2d(
66+
pred_for_array(
6767
data,
6868
start_iteration,
6969
num_iteration,
@@ -87,20 +87,20 @@ def predict(data, start_iteration: 0, num_iteration: -1, raw_score: false, pred_
8787

8888
private
8989

90-
def pred_for_array2d(input, start_iteration, num_iteration, predict_type)
90+
def pred_for_array(input, start_iteration, num_iteration, predict_type)
9191
nrow = input.count
9292
if nrow > MAX_INT32
9393
raise Error, "Not supported"
9494
end
95-
inner_predict_array2d(
95+
inner_predict_array(
9696
input,
9797
start_iteration,
9898
num_iteration,
9999
predict_type
100100
)
101101
end
102102

103-
def inner_predict_array2d(input, start_iteration, num_iteration, predict_type)
103+
def inner_predict_array(input, start_iteration, num_iteration, predict_type)
104104
n_preds =
105105
num_preds(
106106
start_iteration,

0 commit comments

Comments
 (0)