-
Notifications
You must be signed in to change notification settings - Fork 4
Miic v210 #136
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Miic v210 #136
Conversation
@@ -490,14 +490,16 @@ jointplot_hist <- function(X, Y, result, nameDist1, nameDist2, | |||
fill_density_flat[fill_density_flat$density == 0, "density"] <- NA | |||
fill_density_flat$logdensity = log(fill_density_flat$density) | |||
|
|||
hist2d <- ggplot2::ggplot(fill_density_flat) + | |||
# with is a bad fix to avoid warnings from ggplot2 or notes from CRAN checks |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT: small typo in the comment
# print (paste0 ("nrow: ", nrow (data_loop), | ||
# ", ncol: ", ncol (data_loop) ) ) | ||
# | ||
if ( (nrow (data_loop) > 0) && (ncol (data_loop) > 0) ) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
if ( (nrow (data_loop) > 0) && (ncol (data_loop) > 0) ) | |
if ( (nrow (data_loop) > 0) && (ncol (data_loop) > 1) ) |
If I get it right, if we don't skip the checks above we drop the constant columns ? So theoretically, we might remove all the variables and end up with a data_loop
containing 0 or 1 column . When this happens , miic main function crashes because it cannot reconstruct a network from a single variable .
This event becomes more likely when running the last vof
s in the list against the remaining variables .And also when working with small size datasets like flash-seq
#------------------------------------------------------------------------------- | ||
compute_mi_batch <- function (input_data, | ||
var_of_interest_names=NULL, var_of_interest_values=NULL, unit="log_conf", | ||
corrected=T, precomputed_mis=NULL, skip_cheks=F, n_threads=1, verbose=3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NIT : small typo .
corrected=T, precomputed_mis=NULL, skip_cheks=F, n_threads=1, verbose=3) | |
corrected=T, precomputed_mis=NULL, skip_checks=F, n_threads=1, verbose=3) |
Split of miic/tmiic
Features selection