{"action":"closed","issue":{"url":"https://api.github.com/repos/ChenglongChen/Kaggle_CrowdFlower/issues/1","repository_url":"https://api.github.com/repos/ChenglongChen/Kaggle_CrowdFlower","labels_url":"https://api.github.com/repos/ChenglongChen/Kaggle_CrowdFlower/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/ChenglongChen/Kaggle_CrowdFlower/issues/1/comments","events_url":"https://api.github.com/repos/ChenglongChen/Kaggle_CrowdFlower/issues/1/events","html_url":"https://github.com/ChenglongChen/Kaggle_CrowdFlower/issues/1","id":98377925,"number":1,"title":"A mistake in compile this code","user":{"login":"466152112","id":6309328,"avatar_url":"https://avatars.githubusercontent.com/u/6309328?v=3","gravatar_id":"","url":"https://api.github.com/users/466152112","html_url":"https://github.com/466152112","followers_url":"https://api.github.com/users/466152112/followers","following_url":"https://api.github.com/users/466152112/following{/other_user}","gists_url":"https://api.github.com/users/466152112/gists{/gist_id}","starred_url":"https://api.github.com/users/466152112/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/466152112/subscriptions","organizations_url":"https://api.github.com/users/466152112/orgs","repos_url":"https://api.github.com/users/466152112/repos","events_url":"https://api.github.com/users/466152112/events{/privacy}","received_events_url":"https://api.github.com/users/466152112/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T12:04:33Z","updated_at":"2016-04-16T05:58:28Z","closed_at":"2016-04-16T05:58:28Z","body":"你好。我在编译的时候遇到了下面的错误，请问我是那个地方每配置好吗？\r\n\r\n[zhouge@fly Feat]$ python run_all.py\r\nLoad data...\r\nDone.\r\nPre-process data...\r\n./preprocess.py:54: SettingWithCopyWarning: \r\nA value is trying to be set on a copy of a slice from a DataFrame\r\n\r\nSee the the caveats in the documentation: http://pandas.pydata.org/pandas-docs/stable/indexing.html#indexing-view-versus-copy\r\n  dfTrain[\"median_relevance_%d\" % (i+1)][dfTrain[\"median_relevance\"]==(i+1)] = 1\r\nTraceback (most recent call last):\r\n  File \"./preprocess.py\", line 67, in <module>\r\n    dfTrain = dfTrain.apply(clean, axis=1)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pandas-0.16.2-py2.7-linux-x86_64.egg/pandas/core/frame.py\", line 3718, in apply\r\n    return self._apply_standard(f, axis, reduce=reduce)\r\n  File \"/usr/local/lib/python2.7/dist-packages/pandas-0.16.2-py2.7-linux-x86_64.egg/pandas/core/frame.py\", line 3808, in _apply_standard\r\n    results[i] = func(v)\r\n  File \"./preprocess.py\", line 66, in <lambda>\r\n    clean = lambda line: clean_text(line, drop_html_flag=config.drop_html_flag)\r\n  File \"/home/zhouge/software/tool/kaggle/Kaggle_CrowdFlower/Code/Feat/nlp_utils.py\", line 184, in clean_text\r\n    l = drop_html(l)\r\n  File \"/home/zhouge/software/tool/kaggle/Kaggle_CrowdFlower/Code/Feat/nlp_utils.py\", line 211, in drop_html\r\n    return BeautifulSoup(html).get_text(separator=\" \")\r\nTypeError: (\"'NoneType' object is not callable\", u'occurred at index 0')\r\nTraceback (most recent call last):\r\n  File \"./genFeat_id_feat.py\", line 35, in <module>\r\n    with open(config.processed_train_data_path, \"rb\") as f:\r\nIOError: [Errno 2] No such file or directory: '../../Feat/solution/train.processed.csv.pkl'\r\nTraceback (most recent call last):\r\n  File \"./genFeat_counting_feat.py\", line 171, in <module>\r\n    with open(config.processed_train_data_path, \"rb\") as f:\r\nIOError: [Errno 2] No such file or directory: '../../Feat/solution/train.processed.csv.pkl'\r\nTraceback (most recent call last):\r\n  File \"./genFeat_distance_feat.py\", line 235, in <module>\r\n    with open(config.processed_train_data_path, \"rb\") as f:\r\nIOError: [Errno 2] No such file or directory: '../../Feat/solution/train.processed.csv.pkl'\r\nTraceback (most recent call last):\r\n  File \"./genFeat_basic_tfidf_feat.py\", line 46, in <module>\r\n    from sklearn.manifold import TSNE\r\nImportError: cannot import name TSNE\r\nTraceback (most recent call last):\r\n  File \"./genFeat_cooccurrence_tfidf_feat.py\", line 144, in <module>\r\n    with open(config.processed_train_data_path, \"rb\") as f:\r\nIOError: [Errno 2] No such file or directory: '../../Feat/solution/train.processed.csv.pkl'\r\nTraceback (most recent call last):\r\n  File \"./combine_feat_[LSA_and_stats_feat_Jun09]_[Low].py\", line 387, in <module>\r\n    gen_info(feat_path_name=\"LSA_and_stats_feat_Jun09\")\r\n  File \"/home/zhouge/software/tool/kaggle/Kaggle_CrowdFlower/Code/Feat/gen_info.py\", line 38, in gen_info\r\n    with open(config.processed_train_data_path, \"rb\") as f:\r\nIOError: [Errno 2] No such file or directory: '../../Feat/solution/train.processed.csv.pkl'\r\nTraceback (most recent call last):\r\n  File \"./combine_feat_[LSA_svd150_and_Jaccard_coef_Jun14]_[Low].py\", line 387, in <module>\r\n    gen_info(feat_path_name=\"LSA_svd150_and_Jaccard_coef_Jun14\")\r\n  File \"/home/zhouge/software/tool/kaggle/Kaggle_CrowdFlower/Code/Feat/gen_info.py\", line 38, in gen_info\r\n    with open(config.processed_train_data_path, \"rb\") as f:\r\nIOError: [Errno 2] No such file or directory: '../../Feat/solution/train.processed.csv.pkl'\r\nTraceback (most recent call last):\r\n  File \"./combine_feat_[svd100_and_bow_Jun23]_[Low].py\", line 391, in <module>\r\n    gen_info(feat_path_name=\"svd100_and_bow_Jun23\")\r\n  File \"/home/zhouge/software/tool/kaggle/Kaggle_CrowdFlower/Code/Feat/gen_info.py\", line 38, in gen_info\r\n    with open(config.processed_train_data_path, \"rb\") as f:\r\nIOError: [Errno 2] No such file or directory: '../../Feat/solution/train.processed.csv.pkl'\r\nTraceback (most recent call last):\r\n  File \"./combine_feat_[svd100_and_bow_Jun27]_[High].py\", line 437, in <module>\r\n    gen_info(feat_path_name=\"svd100_and_bow_Jun27\")\r\n  File \"/home/zhouge/software/tool/kaggle/Kaggle_CrowdFlower/Code/Feat/gen_info.py\", line 38, in gen_info\r\n    with open(config.processed_train_data_path, \"rb\") as f:\r\nIOError: [Errno 2] No such file or directory: '../../Feat/solution/train.processed.csv.pkl'\r\n"}}