Skip to content

Commit

Permalink
examples: adapt to new Memory API
Browse files Browse the repository at this point in the history
  • Loading branch information
aabadie committed Jan 26, 2018
1 parent b382dcc commit ba03e94
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/joblib_hdfs_multiply.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
if __name__ == '__main__':
register_hdfs_store_backend()

mem = Memory(location='joblib_cache_hdfs',
backend='hdfs', host='namenode', port=9000, user='test',
verbose=100, compress=True)
mem = Memory(location='joblib_cache_hdfs', backend='hdfs',
verbose=100, compress=True,
store_options=dict(host='namenode', port=9000, user='test'))
mem.clear()
multiply = mem.cache(np.multiply)
array1 = np.arange(1000)
Expand Down

0 comments on commit ba03e94

Please sign in to comment.