Houdini 20.5 Nodes Geometry nodes

ML Regression Proximity geometry node

Determine an output based on the proximity of a query input to the inputs of labeled examples.

On this page

Overview

This node looks through a set of labeled examples to find an input that is closest to a query input. It then returns the target corresponding to that closest input. This provides an alternative to inferencing a trained neural network. ML Regression Proximity may be effective when the input dimension is low. ML Regression Proximity is a useful tool for troubleshooting and making sure that an ML setup is correct.

The first input of ML Regression Proximity should consist of labeled examples. For example, created using ML Example inside a SOP for loop or read in from a file using ML Example Import. The second input should be an input component that consists of the same contributions as each input component of the labeled examples. The input/output contributions that are specified by the multiparms should match the input/target contributions specified on the ML nodes from the origin labeled examples.

When ML Regression Train and ML Regression Inference is preferred, ML Regression Proximity can be useful for verifying that the data set was correctly generated. If you give an input component of a labeled example of the data set, ML Regression Proximity should return an exact match for the target. This assumes no two labeled examples in the data set have the same input component.

See Machine Learning documentation for more general information.

Parameters

Number of Inputs

Type

Type of input contribution: either a point attribute or a volume.

Point Attribute

Name of a point float attribute.

Volume Name

The name of a volume.

Volume Resolution

Resolution of the volume.

Tuple Size

Tuple size of the point attribute or volume.

Number of Outputs

Type

Type of target contribution: either a point attribute or a volume.

Point Attribute

Name of a point float attribute.

Volume Name

The name a the volume.

Volume Resolution

#id targetvolumeresolution# Resolution of the volume.

Tuple Size

Tuple size of the point attribute or volume.

Inputs

Labeled Examples

The labeled examples whose input components will be compared to the query input component.

Input Component

The query input component.

Outputs

Output Component

The output component that corresponds to the labeled example that matches the query input component.

Geometry nodes