Skip to content

Latest commit

 

History

History
59 lines (39 loc) · 1.42 KB

File metadata and controls

59 lines (39 loc) · 1.42 KB

BlueML: machine learning for metocean models

[🚧 Pre-release version - expect breaking changes 🛠️]

The library for finetuning your metocean model results to real world observations.

Getting Started

pip install git+https://github.com/DHI/blue_ml-preview.git

Example Workflow

Start by defining a Timeseries object with your data.

import blue_ml
import pandas as pd
timeseries = blue_ml.Timeseries(
   features = pd.read_csv("coarse_model_data.csv")
   targets = pd.read_csv("observed_hm0.csv")
)

Setup a ModelFrame with your choice of data transformations and machine learning architecture.

model_frame = (
    blue_ml.ModelFrame("Demo ML Framework")
    .add_model(blue_ml.machinelearning.architectures.BlueDense())
    .add_scaler(blue_ml.transforms.StandardScaler())
)

Fit and evaluate the model

model_skill = model_frame.fit_evaluate(timeseries)
model_skill.plot_scatter()

alt text

Publications

License

This project is licensed under the MIT License - see the LICENSE file for details.

Support

For questions, issues, or contributions, please visit our GitHub repository or open an issue.