Re: [Scikit-learn-general] Problems with 'make'

2013-09-17 Thread Maheshakya Wijewardena
I have initialized my estimator(those I created) with default classifiers and regressors. But still, I get the same error. On Tue, Sep 17, 2013 at 10:26 AM, Robert Layton robertlay...@gmail.comwrote: scikit-learn classifiers should have default values for all __init__ parameters (except, of

Re: [Scikit-learn-general] Does scikit RBM support continuous values?

2013-09-17 Thread Lars Buitinck
2013/9/16 Issam issamo...@gmail.com: Maybe I could start working on the simple approach - 'Gaussian visible nodes'. There are several variants of the RBM, for various types of input: * Bernoulli RBM for binary inputs (Bernoulli random variables; this is what we have) * Gaussian RBM for

Re: [Scikit-learn-general] Problems with 'make'

2013-09-17 Thread Lars Buitinck
2013/9/17 Maheshakya Wijewardena pmaheshak...@gmail.com: I have initialized my estimator(those I created) with default classifiers and regressors. But still, I get the same error. Did you read and follow the coding guidelines?

Re: [Scikit-learn-general] Does scikit RBM support continuous values?

2013-09-17 Thread Vlad Niculae
And under the current implementation, implementing them involves changing only the sampling and energy computation, I think. I discussed this with Gabriel Synnaeve during the sprint and I think he was working on the gaussian version, it might be on his repo. Lars, do you have any practical

Re: [Scikit-learn-general] Problems with 'make'

2013-09-17 Thread Robert Layton
Also, are you able to copy paste your __init__ function? On 17 September 2013 19:14, Lars Buitinck larsm...@gmail.com wrote: 2013/9/17 Maheshakya Wijewardena pmaheshak...@gmail.com: I have initialized my estimator(those I created) with default classifiers and regressors. But still, I get

Re: [Scikit-learn-general] Does scikit RBM support continuous values?

2013-09-17 Thread Olivier Grisel
2013/9/17 Vlad Niculae zephy...@gmail.com: And under the current implementation, implementing them involves changing only the sampling and energy computation, I think. I discussed this with Gabriel Synnaeve during the sprint and I think he was working on the gaussian version, it might be on

Re: [Scikit-learn-general] Problems with 'make'

2013-09-17 Thread Maheshakya Wijewardena
@Lars: I have followed the coding guidelines. It doesn't seems that this problem is related to that. @Robert: I didn't get what do you mean by copy paste. Can you elaborate. On Tue, Sep 17, 2013 at 2:53 PM, Robert Layton robertlay...@gmail.comwrote: Also, are you able to copy paste your

Re: [Scikit-learn-general] Problems with 'make'

2013-09-17 Thread Gael Varoquaux
On Tue, Sep 17, 2013 at 03:32:26PM +0530, Maheshakya Wijewardena wrote: @Lars: I have followed the coding guidelines. In particular: http://scikit-learn.org/dev/developers/index.html#rolling-your-own-estimator ? It doesn't seems that this problem is related to that. The test failure that you

Re: [Scikit-learn-general] Problems with 'make'

2013-09-17 Thread Maheshakya Wijewardena
this is the __init__ function. def __init__(self, base_estimator, n_estimators=10, max_samples=1.0, bootstrap=True, oob_score=False, n_jobs=1, random_state=None, verbose=0): if base_estimator == None: base_estimator = DecisionTreeRegressor

Re: [Scikit-learn-general] Problems with 'make'

2013-09-17 Thread Maheshakya Wijewardena
This is the __init__ function of the parent class. (Above class is inherited from this and RegressorMixin) @abstractmethod def __init__(self, base_estimator=None, n_estimators=10, max_samples=1.0, bootstrap=True, oob_score=False, n_jobs=1,

Re: [Scikit-learn-general] Problems with 'make'

2013-09-17 Thread Olivier Grisel
2013/9/17 Maheshakya Wijewardena pmaheshak...@gmail.com: this is the __init__ function. def __init__(self, base_estimator, n_estimators=10, max_samples=1.0, bootstrap=True, oob_score=False, n_jobs=1, random_state=None, verbose=0): if base_estimator == None:

Re: [Scikit-learn-general] Does scikit RBM support continuous values?

2013-09-17 Thread Issam
Thanks guys! --Issam On 9/17/2013 12:30 PM, Olivier Grisel wrote: 2013/9/17 Vlad Niculae zephy...@gmail.com: And under the current implementation, implementing them involves changing only the sampling and energy computation, I think. I discussed this with Gabriel Synnaeve during the sprint

Re: [Scikit-learn-general] Problems with 'make'

2013-09-17 Thread Maheshakya Wijewardena
Setting a default value for base_estimator solves the problem. Thank you. Maheshakya On Tue, Sep 17, 2013 at 4:59 PM, Lars Buitinck larsm...@gmail.com wrote: 2013/9/17 Maheshakya Wijewardena pmaheshak...@gmail.com: def __init__(self, base_estimator, n_estimators=10, max_samples=1.0, You

Re: [Scikit-learn-general] Unlabelled and mislabelled data

2013-09-17 Thread Ark
Thank you for the detailed explanation. I think the approach with the feedback mechanism seems appropriate at this point. If you plan to seriously increase the number of documents in your corpus you could also try a Rocchio classifier [1] or a k-NN classifier. For large text documents