Views
No views yet
Low, Medium, or High.| Feature | Type | Range | Definition |
|---|---|---|---|
capital_required | int | 1–10 | How much upfront capital is needed (1 = minimal, 10 = very high) |
technical_complexity | int | 1–10 | How technically difficult the product/service is to build or maintain |
market_competition | int | 1–10 | How crowded the target market is with competitors |
customer_acquisition_difficulty | int | 1–10 | How difficult it is to acquire and retain customers |
regulatory_hurdles | int | 1–10 | The degree of legal/regulatory challenges |
time_to_mvp_months | int | 1–60 | Estimated time to Minimum Viable Product launch (in months) |
team_expertise_required | int | 1–10 | Level of specialized expertise/team members required |
scalability_requirement | int | 1–10 | Degree to which scaling is required for success |
Low = Idea is relatively easy to executeMedium = Moderately challengingHigh = Difficult, requiring significant resources and expertise| High | Low | Medium | |
|---|---|---|---|
| High | 100 | 0 | 0 |
| Low | 0 | 96 | 4 |
| Medium | 2 | 2 | 96 |
1# Load directly from: mjpsm/Idea-Difficulty-XGB
2from huggingface_hub import hf_hub_download
3from xgboost import XGBClassifier
4import pandas as pd, json
5
6REPO_ID = "mjpsm/Idea-Difficulty-XGB"
7model_path = hf_hub_download(REPO_ID, "xgb_model.json")
8
9clf = XGBClassifier()
10clf.load_model(model_path)
11
12# IMPORTANT: Use the same feature names/order as training
13FEATURES = [
14 "capital_required","technical_complexity","market_competition",
15 "customer_acquisition_difficulty","regulatory_hurdles",
16 "time_to_mvp_months","team_expertise_required","scalability_requirement"
17]
18
19row = pd.DataFrame([{
20 "capital_required": 7,
21 "technical_complexity": 9,
22 "market_competition": 6,
23 "customer_acquisition_difficulty": 8,
24 "regulatory_hurdles": 7,
25 "time_to_mvp_months": 18,
26 "team_expertise_required": 5,
27 "scalability_requirement": 9
28}], columns=FEATURES)
29
30pred_id = int(clf.predict(row)[0])
31
32# If label_map.json is NOT uploaded, default to alphabetical LabelEncoder order:
33CLASSES = ["High","Low","Medium"] # update if you publish label_map.json
34print("Predicted Idea Difficulty:", CLASSES[pred_id])
35
36# OPTIONAL: If you later upload 'label_map.json', prefer this:
37# lm_path = hf_hub_download(REPO_ID, "label_map.json")
38# label_map = json.load(open(lm_path))
39# inv_map = {v:k for k,v in label_map.items()}
40# print("Predicted Idea Difficulty:", inv_map[pred_id])