Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -199,7 +199,7 @@ from collections import Counter
|
|
199 |
|
200 |
def extract_problem_domains(df,
|
201 |
text_column='Processed_ProblemDescription_forDomainExtraction',
|
202 |
-
cluster_range=(
|
203 |
top_words=7):
|
204 |
console_messages.append("Extracting Problem Domains...")
|
205 |
|
@@ -282,7 +282,7 @@ def text_processing_for_location(text):
|
|
282 |
def extract_location_clusters(df,
|
283 |
text_column1='Processed_LocationText_forClustering', # Extracted through NLP
|
284 |
text_column2='Geographical_Location', # User Input
|
285 |
-
cluster_range=(5,
|
286 |
top_words=3):
|
287 |
# Combine the two text columns
|
288 |
text_column = "Combined_Location_Text"
|
|
|
199 |
|
200 |
def extract_problem_domains(df,
|
201 |
text_column='Processed_ProblemDescription_forDomainExtraction',
|
202 |
+
cluster_range=(8, 13),
|
203 |
top_words=7):
|
204 |
console_messages.append("Extracting Problem Domains...")
|
205 |
|
|
|
282 |
def extract_location_clusters(df,
|
283 |
text_column1='Processed_LocationText_forClustering', # Extracted through NLP
|
284 |
text_column2='Geographical_Location', # User Input
|
285 |
+
cluster_range=(5, 11),
|
286 |
top_words=3):
|
287 |
# Combine the two text columns
|
288 |
text_column = "Combined_Location_Text"
|