Skip to contents

An R6 Class object, a fitted population of netowrks sbm once $optimize() is done

An R6 Class object, a fitted population of netowrks sbm once $optimize() is done

Methods


Method plot()

Usage

fitSimpleSBMPop$plot(
  type = "graphon",
  ord = NULL,
  mixture = FALSE,
  net_id = NULL,
  ...
)


Method new()

Usage

fitSimpleSBMPop$new(
  A = NULL,
  Q = NULL,
  Z = NULL,
  mask = NULL,
  net_id = NULL,
  distribution = "bernoulli",
  free_mixture = TRUE,
  free_density = TRUE,
  directed = NULL,
  init_method = "spectral",
  weight = NULL,
  Cpi = NULL,
  Calpha = NULL,
  logfactA = NULL,
  fit_opts = list(algo_ve = "fp", approx_pois = FALSE, minibatch = TRUE, verbosity = 1)
)


Method compute_map()

Usage

fitSimpleSBMPop$compute_map()


Method objective()

Usage

fitSimpleSBMPop$objective()


Method vb_tau_alpha()

Usage

fitSimpleSBMPop$vb_tau_alpha(m, map = FALSE)


Method vb_tau_pi()

Usage

fitSimpleSBMPop$vb_tau_pi(m, map = FALSE)


Method entropy_tau()

Usage

fitSimpleSBMPop$entropy_tau(m)


Method fn_vb_alpha_delta()

Usage

fitSimpleSBMPop$fn_vb_alpha_delta(par, emqr, nmqr)


Method gr_vb_alpha_delta()

Usage

fitSimpleSBMPop$gr_vb_alpha_delta(par, emqr, nmqr)


Method eval_g0_vb_alpha_delta()

Usage

fitSimpleSBMPop$eval_g0_vb_alpha_delta(par, emqr, nmqr)


Method eval_jac_g0_vb_alpha_delta()

Usage

fitSimpleSBMPop$eval_jac_g0_vb_alpha_delta(par, emqr, nmqr)


Method update_alpha_delta()

Usage

fitSimpleSBMPop$update_alpha_delta(map = FALSE)


Method compute_vbound()

Usage

fitSimpleSBMPop$compute_vbound()


Method compute_penalty()

Usage

fitSimpleSBMPop$compute_penalty()


Method compute_icl()

Usage

fitSimpleSBMPop$compute_icl(map = FALSE)


Method compute_BICL()

Usage

fitSimpleSBMPop$compute_BICL(map = TRUE)


Method compute_exact_icl()

Usage

fitSimpleSBMPop$compute_exact_icl()


Method compute_exact_icl_iid()

Usage

fitSimpleSBMPop$compute_exact_icl_iid()


Method update_map_parameters()

Usage

fitSimpleSBMPop$update_map_parameters()


Method fixed_point_tau()

Usage

fitSimpleSBMPop$fixed_point_tau(m, max_iter = 1, tol = 0.01)


Method fixed_point_alpha_delta()

Usage

fitSimpleSBMPop$fixed_point_alpha_delta(
  map = FALSE,
  max_iter = 50,
  tol = 1e-06
)


Method update_pi()

Usage

fitSimpleSBMPop$update_pi(m, map = FALSE)


Method update_pim()

Usage

fitSimpleSBMPop$update_pim(m, map = FALSE)


Method update_alpham()

Usage

fitSimpleSBMPop$update_alpham(m, map = FALSE)


Method update_alpha()

Usage

fitSimpleSBMPop$update_alpha(map = FALSE)


Method init_clust()

Usage

fitSimpleSBMPop$init_clust()


Method make_permutation()

Usage

fitSimpleSBMPop$make_permutation()


Method m_step()

Usage

fitSimpleSBMPop$m_step(map = FALSE, max_iter = 100, tol = 0.001, ...)


Method ve_step()

Usage

fitSimpleSBMPop$ve_step(m, max_iter = 20, tol = 0.001, ...)


Method update_mqr()

Usage

fitSimpleSBMPop$update_mqr(m)


Method optimize()

Usage

fitSimpleSBMPop$optimize(max_step = self$fit_opts$max_step, tol = 0.001, ...)


Method show()

Usage

fitSimpleSBMPop$show(type = "Fitted Collection of Simple SBM")


Method print()

Usage

fitSimpleSBMPop$print()


Method clone()

The objects of this class are cloneable with this method.

Usage

fitSimpleSBMPop$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.