>
> 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. You can run a module within a package using `python -m
path.to.module`.
On Thu, Aug 29, 2013 at 8:21 PM, Maheshakya Wijewardena <
pmaheshak...@gmail.com> wrote:
> 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
> 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 want to test simple code pieces
> used to create the main module.
>
> Is there a way how to resolve this. Can you explain how the development
> process works if I start coding a new module.
> BTW I couldn't get a clear idea about this from the documentation.
>
> Thank you,
>
> Best regards,
> Maheshakya
>
>
> ------------------------------------------------------------------------------
> Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
> Discover the easy way to master current and previous Microsoft technologies
> and advance your career. Get an incredible 1,500+ hours of step-by-step
> tutorial videos with LearnDevNow. Subscribe today and save!
> http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
> _______________________________________________
> Scikit-learn-general mailing list
> Scikit-learn-general@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/scikit-learn-general
>
>
------------------------------------------------------------------------------
Learn the latest--Visual Studio 2012, SharePoint 2013, SQL 2012, more!
Discover the easy way to master current and previous Microsoft technologies
and advance your career. Get an incredible 1,500+ hours of step-by-step
tutorial videos with LearnDevNow. Subscribe today and save!
http://pubads.g.doubleclick.net/gampad/clk?id=58040911&iu=/4140/ostg.clktrk
_______________________________________________
Scikit-learn-general mailing list
Scikit-learn-general@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scikit-learn-general