Comments (10)
Yes the pxd should be installed. I do install them eg for prox_fast.pxd
(see lightning/impl/setup.py). Can you submit a pull request fixing this?
On Jul 5, 2016 5:04 PM, "Vlad Niculae" [email protected] wrote:
I'm working on a package that uses lightning cython code as a dependency
via:from lightning.impl.dataset_fast cimport ColumnDataset.
When installing lightning via conda or pip, generating the cython file
fails, but if I distribute the generated cpp files the code runs fine.Should the .pxd files be distributed with lightning to allow this use case?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#90, or mute
the thread
https://github.com/notifications/unsubscribe/AAQ8h-Wr4-6NpFbUsHRYJUyHao1VseEjks5qSnJkgaJpZM4JFNrU
.
from lightning.
Well, apparently 'dataset_fast.pxd'
is listed in the setup.py. Still, no .pxd files are included in the package that gets installed either via pip install sklearn-contrib-lightning
nor via conda, from what I can tell.
Weird, because it's done the exact same way in scipy.linalg, but those pxd files get installed. But scipy also does this one level higher.
scikit-learn doesn't include any pxds at all in the binary distributions, but they are included in the source distribution via MANIFEST.in.
from lightning.
OK then I suppose we should include them also in the MANIFEST.in, right?. Can you submit a PR for this? thanks!
from lightning.
That might be it, but I don't know whether MANIFEST.in only affects the sdist. Is there a way to test the generated distribution, as it would get released on pypi, so I know that my fix works? I guess I would have to reproduce the steps for a release?
from lightning.
(is it enough to run python setup.py sdist
and examine the result?)
from lightning.
the one that gets uploaded to pypi is the one generated by sdist. So if it works for that i think we are safe.
from lightning.
(or at least safer:-)
i can also backport that fix to stable and make a release to double-check
from lightning.
note that you can also pip-install a source file (giving it a local path)
from lightning.
Is it fixed by #91?
from lightning.
everything works fine for me with the current releases
from lightning.
Related Issues (20)
- Unsafe screening with CDClassifier? HOT 1
- Forgotten intercept in SGDRegressor HOT 2
- ModuleNotFoundError: No module named 'sklearn.externals.six' HOT 4
- How to pip sklearn-contrib-lightning HOT 2
- 2d errors when passing pandas DataFrame/Series
- Nonnegative penalties actually allowed in CDRegressors HOT 3
- FistaRegressor does not converge for real data HOT 3
- build pb on python 3.9 HOT 1
- Change assert imports HOT 2
- do you have Quantile Regression for spars data after one hot transformation
- do you have Regression for spars categorical big data after one hot transformation
- do you have support vector regression with soft margin and confidence interval ?
- do you have implementation for regression with confidence intervals ?
- Does lightning natively support multi-label HOT 1
- DOC: sometimes the Lasso solution is the same as sklearn, sometimes not HOT 5
- install help
- ENH - Add support of intercept in ``SDCARegressor`` HOT 1
- Why not initialize SAG/SAGA memory with 0 and divide by seen indices so far as in sklearn?
- Missing Support for class-weights specifications to tacke Disproportionate Number of Samples between dependent variable classes
- CDClassifier : error for penalty="l1" and penalty="l2", but no error for penalty="l1/l2" HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lightning.