Comments (2)
monotone smoothing and convex smoothing doent make too much sense as penalties since why you want to slightly enforce them?
ive moved them to constraints.
right now we've got
PENALTIES = {'auto': 'auto',
'derivative': derivative,
'l2': l2,
'none': none,
}
CONSTRAINTS = {'convex': convex,
'concave': concave,
'monotonic_inc': monotonic_inc,
'monotonic_dec': monotonic_dec,
'circular': circular,
'none': none
}
where derivative means 2order smoothing
from pygam.
just change the name of derivative to something more intuitive (and maybe make it more interactive ie choose difference order?).
this is done.
from pygam.
Related Issues (20)
- Equivalent of an 'lpmatrix' in MGCV gam predict function
- Tweedie distribution
- how to get per feature value of EDoF from the result of gam.summary() to save in the txt file?
- Summary to file or variable
- What is a spline and how to determine which spline term to use?
- Difference between prediction intervals and partial dependence (question)
- Can't use flit to install pygam - pyproject.toml does not exist HOT 2
- One-hot encoding factor term
- When Creating X Grid for 3D Plotting or Derivative Calculation, How Can We Include Exposure?
- Code is incompatible with numpy 1.24.1 HOT 1
- License on pypi incorrectly marked as GPLv3 HOT 1
- [Feature Request] Allowing for random effects in Spline Term
- Adding new penalty terms HOT 3
- Is this project being actively maintained? HOT 2
- Specifying terms in LinearGAM is incompatible with sklearn.compose.TransformedTargetRegressor (bug)
- B-spline basis and B-spline fitting plot HOT 1
- Documentation erroneously states that `coef_[0]` is the intercept (bias) HOT 1
- Version number hard coded HOT 1
- ValueError: cannot set WRITEABLE flag to True of this array HOT 2
- MAJOR BUG IN PYGAM VERSION 0.9.0 HOT 1
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 pygam.