Tackling an automatic labeling (optimization) + classification problem

I’m aware this isn’t quite programming-focused, but I did not know any other place to ask this question. It’s more about approach than a technical issue.

Context

I have an optimization + classification task. So essentially, my data has the following columns:
['Model ID', 'Q', 'refinement', 'avg_time', 'lattice', 'radius'] (there are more but for brevity, let’s keep it just those)

  • Model ID: represents a “design”, each Model ID will have multiple rows

  • Q: This is the target variable

  • refinement: this is a setting variable; it could take values 1-8, and this directly affects Q, the (Model ID, refinement) pair is unique. So a Model ID will have multiple rows with varying refinements

  • avg_time: this is the time taken for the simulation to finish, this is affected only by refinement, the higher the refinement, the more time it takes. This value is design-agnostic, it only depends on refinement, so all designs at a specific refinement have the same time taken.

  • lattice and radius: These represent a “Design”, essentially changing those will change Q

Dataset

My dataset is from a simulation of randomized designs. For each design, we could have the following behavior:

  • continuously increasing (the Q values at each refinement is higher than the previous refinement level)
  • continuously decreasing (the Q values at each refinement is lower than the previous refinement level)
  • Zig-Zag in which the Q values follow this current pattern (high, low, high, low) or (low, high, low, high)
  • Bowl in which the Q values follow this current pattern: (high, low, low, high)
  • Trapezoid in which the Q values follow this current pattern: (low, high, high, low)
    I have code that detects these shapes and returns a boolean:
def is_zigzag(q_values)

def is_bowl(q_values)

def is_trapezoid(q_values)

The range of values for refinement in the dataset is 2-5, but the refinement could take values 1-8.

Task

So what I’m trying to achieve is to automatically label each Model ID (by grouping the rows) with the optimal refinement value (in the range 1-8) that maximizes the change in Q (higher delta is better) and minimizes the time taken (lower is better). The problem is that because the data is cut at refinement level 5, I had the idea of using probabilistic methods (e.g., MLE) to create an expected change in future refinements and an expected time taken. But I can’t seem to “tune” it, so it’s useful. After getting the expected values, I need a cost function to calculate (optimize) the return on Q compared to the increased time taken for that refinement level to finish.

In the next part, I will develop a classifier that will take the designs and the optimal refinements. It should, theoretically, predict the optimal refinement level for an unseen design

I’d appreciate any guidance/help in tackling this problem.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật