Skip to content

Commit 95c9dc2

Browse files
committed
try to fix job.py
1 parent 5b08dab commit 95c9dc2

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

ayb/ayb.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@
66

77
def main():
88
import params
9-
ayb(params.param2default, "local")
9+
run_ayb(params.param2default, "local")
1010

1111

12-
def ayb(param2val, run_location):
12+
def run_ayb(param2val, run_location):
1313

1414
if run_location == 'local':
1515
param2val['save_path'] = "../" + param2val['save_path'] # "models/"

ayb/job.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
import pandas as pd
2-
from ayb import ayb
2+
from ayb import run_ayb
33

44

55
def main(param2val):
66
"""This function is run by Ludwig on remote workers."""
7+
location = "ludwig_local"
78

8-
performance = ayb(param2val)
9+
performance = run_ayb(param2val, location)
910
print(performance)
1011

1112
series_list = []

ayb/src/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)