Oh I see. Try:
python setup.py develop
to "install" your development checkout.
You can also do "pip install -e ." which has the same effect. (e for
editable.)
-Ken
On Sep 2, 2013 2:12 AM, "Maheshakya Wijewardena"
wrote:
> About IPython notebook.
> Is there way to work around relative imports
About IPython notebook.
Is there way to work around relative imports in notebook? they doesn't seem
to work as absolute imports. but absolute imports are taken from the
installed package. I want to import from the version I'm working on.
-Maheshakya
On Mon, Sep 2, 2013 at 3:58 AM, Kenneth C. Arn
In addition to what everyone else has responded: you'd probably enjoy
working in an ipython notebook.
-Ken
On Aug 29, 2013 6:22 AM, "Maheshakya Wijewardena"
wrote:
> Hi
> I'm trying to implements a general Bagging module for Scikit-learn for an
> university project. I want to test the methods an
>
> And with that relative imports in the code like
> from ..base import ClassifierMixin, RegressorMixin
> from ..externals.joblib import Parallel, delayed, cpu_count
> I can't test manually what I've written.
I assume by that you mean you can't do `python path/to/module.py` on the
command-line.
On 08/29/2013 01:22 PM, Olivier Grisel wrote:
> 2013/8/29 Maheshakya Wijewardena :
>> I've had a look at Gilles s previous pull request. My intention for now is
>> get an exposure to development on Scikit-learn, so that I can contribute
>> later with others. Thought this bagging would be a suitable
Thank you.
On Thu, Aug 29, 2013 at 4:52 PM, Olivier Grisel wrote:
> 2013/8/29 Maheshakya Wijewardena :
> > I've had a look at Gilles s previous pull request. My intention for now
> is
> > get an exposure to development on Scikit-learn, so that I can contribute
> > later with others. Thought this
2013/8/29 Maheshakya Wijewardena :
> I've had a look at Gilles s previous pull request. My intention for now is
> get an exposure to development on Scikit-learn, so that I can contribute
> later with others. Thought this bagging would be a suitable point to start.
> I'm passably experienced with gi
I've had a look at Gilles s previous pull request. My intention for now is
get an exposure to development on Scikit-learn, so that I can contribute
later with others. Thought this bagging would be a suitable point to start.
I'm passably experienced with git but what I don't get is testing process.
If you're writing an external "script" that just interfaces with
scikit-learn and you intend to keep it separately distributable (3rd
party), you can replace them with absolute imports:
```
from sklearn.base import ClassifierMixin, RegressorMixin
from sklearn.externals.joblib import Parallel, dela
Hi
I'm trying to implements a general Bagging module for Scikit-learn for an
university project. I want to test the methods and classes I've written.
Even for a simple implementation I've to 'make' the entire thing from the
scratch and write tests and do Nosetests for the entire thing. And with
tha
10 matches
Mail list logo