Open jc-healy opened 8 years ago
Just change m, k = Xv.shape.size
to m, k = Xv.size
would fix.
I am also having trouble running the mixed.py and the readme examples. I updated all dependencies including cvxpy and numpy, and tried the above fix, but still get the following error when I run model.fit():
/Users/anaconda/lib/python2.7/site-packages/cvxpy/expressions/leaf.pyc in _validate_value(self, val)
84 raise ValueError(
85 "Invalid dimensions (%s, %s) for %s value." %
---> 86 (size[0], size[1], self.__class__.__name__)
87 )
88 # All signs are valid if sign is unknown.
ValueError: Invalid dimensions (0, 1) for CallbackParam value.
@kfolw did u find a solution? I am getting the same error with cvxpy 0.4.
No I ended up using the R/H2O.ai implementation, and that worked great.
Were you successful in imputing missing categorical data using the h20.ai implementation?
Reconstruction is horrible in the case of categorical variables. I checked across 2 datasets from UC Irvine repo.
@abhiML I did not need to impute categorical data for my dataset, maybe try different loss functions to see if that improves imputation?
I tried all of the loss functions given in h2o.ai. The imputation algo doesnt work on categorical data. Unless there's something I'm missing completely. It cant even reconstruct the original dataset from the low rank decomposition in case of categorical data. On numeric data it works fine.
Hi there,
After reading your paper I'm very excited to give your GLRM code a try but am having trouble getting it running. I hit some dependency trouble with cvxpy and got around it by using "conda install -c https://conda.anaconda.org/omnia cvxpy" which might be handy to add to your readme.
When I try and run your example in mixed.py I initially get an "ImportError: cannot import name unroll_missing" I noticed that it was commented out of your util.py so dropped it from the script.
My error is now unfortunately in glrm.fit() here is the code snippet and error. Any idea how I might get this running?
Cheers, John