We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
In the utils, get_treat_size function is defined to be
def get_treat_size(t, treat_split=0.5):
num_treatment = t[t > treat_split].shape[0] num_control = t[t <= treat_split].shape[0] return num_treatment, num_control
But in the CTL.py code , it looks like its used like this:
tb_num_cont, tb_num_treat = get_treat_size(train_treat1)
where I think cont indicates control and treat indicates treated.
Shouldn't it be
tb_num_treat, tb_num_cont= get_treat_size(train_treat1)?
The text was updated successfully, but these errors were encountered:
No branches or pull requests
In the utils, get_treat_size function is defined to be
def get_treat_size(t, treat_split=0.5):
But in the CTL.py code , it looks like its used like this:
tb_num_cont, tb_num_treat = get_treat_size(train_treat1)
where I think cont indicates control and treat indicates treated.
Shouldn't it be
tb_num_treat, tb_num_cont= get_treat_size(train_treat1)?
The text was updated successfully, but these errors were encountered: