py-earth
py-earth copied to clipboard
A Python implementation of Jerome Friedman's Multivariate Adaptive Regression Splines
I'm trying to run a pyearth model with `enable_pruning = False` and only linear features with a `max_degree` of `1`. I noticed that the same feature is added twice. See...
ERROR messages: ``` >>> from pyearth import Earth Traceback (most recent call last): File "", line 1, in File "....../py-earth/pyearth/__init__.py", line 6, in from .earth import Earth File "....../py-earth/pyearth/earth.py", line...
This version of score_samples scores each sample on a coordinate-by-coordinate basis. It follows the internals of scikit-learn's r2_score implementation in that coordinates that have no variance are arbitrarily set to...
How feasible would it be to implement online learning, e.g. a `partial_fit()` method, to allow an existing model to be modified with new data? This would also allow for out-of-core...
Hi I am currently trying to forecast a the power usage of a portfolio. This portfolio is made up of 1000 sites. I have fitted 1000 MARS models to this...
When an Earth model is fit with labels that have a single dimension (and are of shape (n,1), score_samples is not behaving as expected. The problem is that in the...
Hello, colleagues, I have the following problem: using PyEarth for classification task on dataset with 300000 rows and more than 500 features, I set max_terms to sufficiently high number (i.e....
Hi Would it be possible to add a robust regression option to replace the squared error term. This would allow thew model to be less sensitive to out-liers. https://en.wikipedia.org/wiki/Huber_loss Cheers
So the dataset I use gets updated daily to contain new data. I then run MARS on the resulting data. Obviously with only one extra data point the chances of...
Hello, thank you for the nice package. I am facing the issue running install script: C:\Users\I304909\AppData\Local\Continuum\Miniconda2\py-earth-master\py-earth-master>python setup.py install install_dir . c:\users\i304909\appdata\local\temp\easy_install-7zu8zz\numpy-1.13.3\setup.py:367: UserWarning: Unrecognized setuptools command, proceeding with generating Cython sources...