Skip to content
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

Question for multidimensional fit #34

Open
vrivesmolina opened this issue May 26, 2016 · 1 comment
Open

Question for multidimensional fit #34

vrivesmolina opened this issue May 26, 2016 · 1 comment
Labels

Comments

@vrivesmolina
Copy link

Hi,

I am using your tool for reweighing MC to make it look like splotted data (thanks!)
I am currently following the examples and I am able to make it work for 1D, but I am not sure how to do it for more than one dimension. I mean, what I need is to find the MC weights when more than one variable presents disagreement between MC and data.

How do I do it?

Thanks!

Vicente Rives Molina

@arogozhnikov
Copy link
Owner

Dear Vincente,
there is no difference between single / multidimensional fits.

The data you pass should be numpy.array or pandas.DataFrame of shape [n_samples, n_features]. If you want to pass weights, pass numpy.array of shape [n_samples].

If you feel this explanation is still complicated, you can pass through some scikit-learn tutorial, e.g. this one

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants