package lbvs_consent

  1. Overview
  2. Docs

Module Lbvs_consent.ConsentSource

Sourcemodule Logger = Dolog.Log
Sourcemodule Log : sig ... end
Sourcemodule Cons = Consensus
Sourcemodule Fp = Fingerprint
Sourcemodule L = MyList
Sourcemodule Mol = Molecule
Sourcemodule Pol = Policy
Sourcemodule StringSet : sig ... end
Sourcemodule TopN = Top_keeper
Sourcemodule Utls = MyUtils
Sourcemodule SL : sig ... end
Sourcemodule BEDROC : sig ... end
Sourcemodule Vpt_point : sig ... end
Sourcemodule Vpt : sig ... end
Sourceval output_all_scores : int
Sourceval use_all_actives : int
Sourceval no_index : int
Sourceval no_label : bool
Sourceval no_tversky : float
Sourcetype filename = string
Sourceval output_scores : filename -> Score_label.t list -> int -> unit
Sourceval compute_cumulated_activity : Score_label.t list -> Mol.t list -> float list
Sourceval compute_chemical_diversity : Score_label.t list -> (string, int) Hashtbl.t -> float list
Sourceval force_scaffolds_diversity : (string, int) Hashtbl.t -> Score_label.t list -> Score_label.t list
Sourceval output_float_curve : bool -> filename -> float list -> unit
Sourceval output_int_curve : bool -> filename -> int list -> unit
Sourcetype cons_id = string
Sourcetype name2cluster = (string, int) Hashtbl.t
Sourcetype curve =
  1. | AUC of cons_id * float
  2. | PM of cons_id * float
  3. | BEDROC of cons_id * float
  4. | Accum_actives of cons_id * float list
  5. | Accum_activity of cons_id * Score_label.t list * Mol.t list
  6. | Chemical_diversity of cons_id * Score_label.t list * name2cluster
Sourcetype merged_curve =
  1. | AUC of cons_id * float list
  2. | PM of cons_id * float list
  3. | BEDROC of cons_id * float list
  4. | Accum_actives of cons_id * float list
  5. | Accum_activity of cons_id * float list
  6. | Chemical_diversity of cons_id * float list
Sourceval get_cid : curve -> cons_id
Sourceval get_floats : curve -> float list
Sourceval is_accum_activity_curve : curve -> bool
Sourceval get_score_labels : curve list -> Score_label.t list option
Sourceval similar_curves : curve -> curve -> bool
Sourceval group_curves : curve list -> curve list list
Sourceval merge_curves : curve list -> merged_curve
Sourceval output_curves : string -> bool -> merged_curve list -> unit
Sourceval remove_queries_from_database : Cons.t -> Mol.t list -> Mol.t list
Sourceval single_query : Mol.t list -> Mol.t list -> (string, int) Hashtbl.t -> Cons.t -> curve list
Sourceval oppo_scorer : (Fp.t -> Fp.t -> float) -> (Mol.t -> unit) -> Fp.t list -> Mol.t -> Score_label.t
Sourceval index_queries : Fp.t list -> Vpt.t
Sourceval fast_oppo_scorer : (Mol.t -> unit) -> Vpt.t -> Mol.t -> Score_label.t
Sourceval cons_scorer : (Fp.t -> float) -> (Mol.t -> unit) -> Mol.t -> Score_label.t
Sourceval compute_score_labels : Mol.t list -> (string, int) Hashtbl.t -> Cons.t -> Score_label.t list
Sourceval rank_active_molecules : Score_label.t list -> (int * Score_label.t) list
Sourceval query : Mol.t list -> Mol.t list -> (string, int) Hashtbl.t -> Cons.t -> curve list
Sourceval pcons_query : Cons.t -> filename -> filename -> int -> int -> unit
Sourceval shuffle_then_cut : int -> 'a list -> 'a list
Sourceval split_then_shuffle : int -> Mol.t list -> Mol.t list
Sourceval random_choices : bool -> int -> int -> Mol.t list -> Mol.t list list
Sourceval scan_policies : int -> int -> Cons.Mol.t list -> Cons.t list
Sourceval create_cons_queries : bool -> int -> Pol.t -> int -> Cons.Mol.t list -> Cons.t list
Sourceval single_cons_query : bool -> int -> Pol.t -> Cons.Mol.t list -> Cons.t
Sourceval main : unit -> unit