Learns Lasso Regression implemented by scikit-learn library. It is a linear regression model trained with L1 prior as regularizer.
The model is trained with the selected numerical target column, and feature columns (can be numerical or nominal) from the input table. By default, the rightmost numerical column is selected as the target column and all the remaining numerical columns are selected as features.
Selection of columns used as feature columns. Columns with nominal and numerical data are allowed.
Selection of column used as the target column. Only columns with numerical data are allowed.
Define whether missing values in the input data should be skipped or whether the node execution should fail on missing values.
Available options:
Constant that multiplies the L1 term, controlling regularization strength.
alpha
must be a non-negative float i.e. in [0, inf)
Whether to calculate the intercept for the model. Specifies if a constant (a.k.a. bias or intercept) should be added to the decision function. If not selected, no intercept will be used in calculations meaning that the data is expected to be centered.
The maximum number of iterations run by the coordinate descent solver to converge (the algorithm used to fit the model is coordinate descent).
You want to see the source code for this node? Click the following button and we’ll use our super-powers to find it for you.
To use this node in KNIME, install the extension KNIME Python Extension Development (Labs) from the below update site following our NodePit Product and Node Installation Guide:
A zipped version of the software site can be downloaded here.
Deploy, schedule, execute, and monitor your KNIME workflows locally, in the cloud or on-premises – with our brand new NodePit Runner.
Try NodePit Runner!Do you have feedback, questions, comments about NodePit, want to support this platform, or want your own nodes or workflows listed here as well? Do you think, the search results could be improved or something is missing? Then please get in touch! Alternatively, you can send us an email to mail@nodepit.com.
Please note that this is only about NodePit. We do not provide general support for KNIME — please use the KNIME forums instead.