Skip to content
Learning

Yacht hydrodynamics modeling using machine learning

Modelling yacht residuary resistance

A hydrodynamic surrogate can help compare hull configurations within an experimental domain. This example estimates residuary resistance from six hull and flow descriptors and examines the response to Froude number.

308Source records
6Final input features
61Test observations
0.981Test prediction R²

1. Industrial challenge

Early hull studies compare resistance across geometric proportions and operating conditions. This surrogate reproduces a prepared experimental dataset and should be checked on separate hull designs before broader use.

Hull geometry

Describe the design with the retained dimensionless inputs.

Resistance response

Inspect the predicted residuary resistance and its directional curve.

Design comparison

Assess transfer to new hull families with a grouped evaluation.

Naval architectureHydrodynamicsSurrogate modelling
The model is not a substitute for a towing-tank campaign or a validated hydrodynamic calculation. Predictions may be negative because the exported model does not clamp resistance. Restrict exploratory use to represented configurations, preserve coupled geometric constraints and review physical plausibility.

2. Data set

The UCI Delft Yacht Hydrodynamics dataset contains 308 records. The supplied project uses 186 training, 61 validation and 61 testing records. Repeated operating conditions for related hulls make hull-level validation important when claiming transfer to a new design.

The downloadable project, saved report and supplied source CSV define the exact version used here. Repository: original dataset/source record.

SubsetRecords
Training186
Validation / selection61
Testing61
Unused0
VariableRoleTypeEncodingUnit
center_of_buoyancyInputNumericAs supplied
prismatic_coefficientInputNumericAs supplied
length_displacementInputNumericAs supplied
beam_draught_ratioInputNumericAs supplied
length_beam_ratioInputNumericAs supplied
froude_numberInputNumericAs supplied
resistanceTargetNumericsource resistance units

Interactive chart: resistance distribution. Enable JavaScript to explore it.

resistance distribution. Exported with Neural Designer from the saved task report.

Interactive chart: resistance vs. froude_number scatter chart. Enable JavaScript to explore it.

resistance vs. froude_number scatter chart. Exported with Neural Designer from the saved task report.

Interactive chart: resistance Pearson correlations chart. Enable JavaScript to explore it.

resistance Pearson correlations chart. Exported with Neural Designer from the saved task report.
This is internal validation using the saved record-level split. Grouped or temporal independence has not been established.

3. Model

The final model has 6 encoded input features and 1 outputs. The following dimensions describe the final saved network.

LayerInput shapeOutput shapeActivation
Scaling66—
Dense63Tanh
Dense31Identity
Unscaling11—
Clamping11—

The final output is a continuous estimate. Scaling, unscaling and any bounds follow the saved implementation; the calculator does not silently impose physical constraints.

Modelling yacht residuary resistance: initial Neural Designer architecture
Architecture used for this model; no architecture-selection experiment is recorded. Diagram labels show original variables; categorical expansion and the numeric layer dimensions are documented in the model table.

4. Training strategy

The saved training configuration uses NormalizedSquaredError with QuasiNewton. Training minimizes the recorded objective; the validation subset monitors generalization during fitting. The testing subset is used for the evaluation below.

Interactive chart: Quasi-Newton method error history. Enable JavaScript to explore it.

Quasi-Newton method error history. Exported with Neural Designer from the saved task report.

Quasi-Newton method results

MeasureValue
Epochs number42
Elapsed time00:00:00
Stopping criterionMinimum loss decrease
Training error0.003
Validation error0.002

5. Model selection

No model selection experiment is recorded in this supplied project. The displayed architecture is the trained model used for testing; earlier article claims about a different selected architecture do not apply to this version.

6. Testing analysis

The final model is evaluated on 61 testing observations. MAE, RMSE and prediction R² below are computed from the exact testing pairs stored by Neural Designer. Errors retain each target’s original units.

TargetUnitMAERMSEPrediction R²Pearson r²
resistancesource resistance units1.3522.3140.9810.996

The native goodness-of-fit task reports squared Pearson correlation (r²). Prediction R² here is 1 − squared prediction error / squared deviation from the test mean. They measure different properties: a strongly correlated prediction can still have a bias or an incorrect scale.

Interactive chart: resistance goodness-of-fit chart. Enable JavaScript to explore it.

resistance goodness-of-fit chart. Exported with Neural Designer from the saved task report.

7. Model deployment

Validated inputs → saved preprocessing → neural network → score or estimate → domain review. The ZIP contains the original project, source CSV, schema, test metrics and standalone interactive chart exports. The project hash in the schema identifies this exact version.

Directional response at a fixed reference point

Inspect the saved reference point
MeasureVariableValue
1center_of_buoyancy-2.3
2prismatic_coefficient0.53
3length_displacement4.34
4beam_draught_ratio2.81
5length_beam_ratio3.15
6froude_number0.175

Interactive chart: resistance – froude_number directional output. Enable JavaScript to explore it.

resistance – froude_number directional output. Exported with Neural Designer from the saved task report. Other inputs are held at the saved reference point. This is a model response, not a causal effect.

Explore the exported model

This research demonstration runs locally in your browser. Values outside the training range are outside the validated domain and are rejected. A valid input range does not guarantee that a combination is physically or operationally plausible.

This is not a certified control or protection system.

8. Scope and limitations

The model is not a substitute for a towing-tank campaign or a validated hydrodynamic calculation. Predictions may be negative because the exported model does not clamp resistance. Restrict exploratory use to represented configurations, preserve coupled geometric constraints and review physical plausibility.

No external validation or independent calibration study is included. Preprocessing statistics and model choices should be refitted within a prospective or grouped validation design. Correlations and directional responses describe associations, not causes. Human review is required before an operational decision.

References