File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -805,7 +805,7 @@ def _predict_method(
805
805
cls .score_code += f"\n { '' :4} )\n "
806
806
if missing_values :
807
807
cls .score_code += (
808
- f"{ '' :4} input_array = impute_missing_values(input_array)"
808
+ f"{ '' :4} input_array = impute_missing_values(input_array)\n "
809
809
)
810
810
cls .score_code += (
811
811
f"{ '' :4} column_types = { column_types } \n "
@@ -847,7 +847,7 @@ def _predict_method(
847
847
cls .score_code += f"\n { '' :4} )\n "
848
848
if missing_values :
849
849
cls .score_code += (
850
- f"{ '' :4} input_array = impute_missing_values(input_array)"
850
+ f"{ '' :4} input_array = impute_missing_values(input_array)\n "
851
851
)
852
852
cls .score_code += (
853
853
f"{ '' :4} prediction = model.{ method .__name__ } (input_array)\n "
@@ -868,7 +868,7 @@ def _predict_method(
868
868
cls .score_code += f"\n { '' :4} )\n "
869
869
if missing_values :
870
870
cls .score_code += (
871
- f"{ '' :4} input_array = impute_missing_values(input_array)"
871
+ f"{ '' :4} input_array = impute_missing_values(input_array)\n "
872
872
)
873
873
cls .score_code += (
874
874
f"{ '' :4} prediction = model.{ method .__name__ } (input_array)\n \n "
@@ -900,7 +900,7 @@ def _predict_method(
900
900
cls .score_code += f"\n { '' :4} )\n "
901
901
if missing_values :
902
902
cls .score_code += (
903
- f"{ '' :4} input_array = impute_missing_values(input_array)"
903
+ f"{ '' :4} input_array = impute_missing_values(input_array)\n "
904
904
)
905
905
cls .score_code += (
906
906
f"{ '' :4} prediction = model.{ method .__name__ } (input_array).tolist()\n "
You can’t perform that action at this time.
0 commit comments