This Node-RED package contains nodes for working with machine learning models using the Ludwig library. It includes nodes for making predictions with trained models, training autoencoders, and training forecast models from time series data. It assumes that python Ludwig is installed and available as shell commands.
This node is used to run predictions using models that have been previously trained. These can be selected on the settings of the node. It will start an endpoint for each model and call its api.
Inputs:
-
payload
: The input data for prediction, which is typically passed through the initial training node inpredict
-mode
Outputs:
-
payload
: The prediction results.
This node is used to train autoencoders from time series data.
Inputs:
-
payload
: The training data for the autoencoder.
Outputs:
-
payload
: Updates of the Training shell process.
This node is used to train forecast models from time series data.
Inputs:
-
payload
: The training data for the forecast model.
Outputs:
-
payload
: Updates of the Training shell process.
To install this package, run the following command in your Node-RED user directory (typically ~/.node-red
):
npm install @openinc/node-red-contrib-openanalytics
- Drag the desired nodes from the palette to your flow.
- Configure the nodes with the appropriate parameters.
- Connect the nodes to other nodes as needed to build your flow.
- Deploy your flow to start using the nodes.
Contributions are welcome! Please fork the repository and submit a pull request with your changes.
This project is licensed under the MIT License - see the LICENSE file for details.
This project uses the Ludwig library for machine learning tasks. For more information about Ludwig, visit Ludwig on GitHub.