online-hdp
online-hdp copied to clipboard
what inputs are needed for the corpus_name,data_path and test_data_path?
when I run python run_online_hdp.py ,I got such error:
File "run_online_hdp.py", line 261, in
I find that it is because I didn't have the correct 'corpus_name','data_path' and ‘test_data_path’ in the following function, parser.set_defaults(T=300, K=20, D=-1, W=-1, eta=0.01, alpha=1.0, gamma=1.0, kappa=0.5, tau=1.0, batchsize=100, max_time=-1, max_iter=-1, var_converge=0.0001, random_seed=999931111, corpus_name=None, data_path=None, test_data_path=None, test_data_path_in_folds=None, directory=None, save_lag=500, pass_ratio=0.5, new_init=False, scale=1.0, adding_noise=False, seq_mode=False, fixed_lag=False) so what inputs are needed to make it run? thanks a lot.
You need to input the data_path(train data path), directory(the result directory, default None), D and W(if you don't input them, it will raise error.)