You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
#!/usr/bin/env python3
|
|
|
|
@staticmethod
|
|
|
|
df = pd.read_gbq(SQL,credentials=credentials,dialect='standard')
|
|
|
|
else:
|
|
|
|
if 'gpu' in args :
|
|
|
|
if 'ignore' in args and 'columns' in args['ignore'] :
|
|
|
|
# We perform a series of set operations to insure that the following conditions are met:
|
|
|
|
|
|
|
|
# #
|
|
|
|
# # @TODO: Send data over to a process for analytics
|
|
|
|
# make = lambda _args: (Components()).train(**_args)
|
|
|
|
# job = Process(target=make,args=( dict(args),))
|
|
|
|
# job.name = 'Trainer # ' + str(index)
|
|
|
|
# job.start()
|
|
|
|
# jobs.append(job)
|
|
|
|
# # args['gpu']
|
|
|
|
# print (["Started ",len(jobs),"trainers" if len(jobs)>1 else "trainer" ])
|
|
|
|
# while len(jobs)> 0 :
|
|
|
|
# jobs = [job for job in jobs if job.is_alive()]
|
|
|
|
# time.sleep(2)
|