nlplot icon indicating copy to clipboard operation
nlplot copied to clipboard

ビルド実行時にエラーが出る

Open hanaseleb opened this issue 3 years ago • 1 comments

ビルド実行時にエラーが出る

ビルドを実行すると下記のようなエラーが出てしまいます。その他ビジュアライズは正常に動きますが、ビルドが出来ないため共起ネットワークとサンバーストが描けませんでした。

npt.build_graph(
    stopwords=stopwords,
    min_edge_frequency=10
)
     83     if (n_communities < 1) or (n_communities > N):
     84         raise ValueError(
---> 85             f"n_communities must be between 1 and {N}. Got {n_communities}"
     86         )
     87 

ValueError: n_communities must be between 1 and 0. Got 1

hanaseleb avatar Mar 26 '22 14:03 hanaseleb

@hanaseleb 連絡が大変遅くなり申し訳ないですmm

エラーメッセージを見ると、n_communitiesの値が小さくなりすぎている可能性があるので、 min_edge_frequency の値を小さくして試していただけますでしょうか?

takapy0210 avatar Aug 01 '22 02:08 takapy0210