class_docstr: Overlap Boolean Rule class in the style of scikit-learn
class_docstr_tok: ["Overlap","Boolean","Rule","class","in","the","style","of","scikit-learn"]
code: def get_objective_value(self, X, o, rounded=True):
      if rounded:
          w = self.w
      else:
          w = self.w_raw
  
      U = np.where(o < 0)[0]
      nU = len(U)
      assert nU > 0
  
      A = self.compute_conjunctions(X)
      lambdas = self.lambda0 + self.lambda1 * self.z.sum().values
      lambdas[0] = 0
  
      obj = np.sum(A[U, :].dot(w)) / nU + lambdas.dot(w)
  
      return obj
  
imports: import logging
  from typing import Union
  import cvxpy
  import numpy
  import pandas
  from sklearn.metrics import roc_auc_score
  from .beam_search import beam_search
label_desc: Use image node_id 7 for calling the OverlapBooleanRule obj's underlying member method code with example usage: obj.get_objective_value(X, o, rounded) and returns: obj