Skip to main content

Neptune.ai integration with Kedro

Project description

Neptune + Kedro Integration

Kedro plugin for experiment tracking and metadata management. It lets you browse, filter and sort runs in a nice UI, visualize node/pipeline metadata, and compare pipelines.

What will you get with this integration?

  • browse, filter, and sort your model training runs
  • compare nodes and pipelines on metrics, visual node outputs, and more
  • display all pipeline metadata including learning curves for metrics, plots, and images, rich media like video and audio or interactive visualizations from Plotly, Altair, or Bokeh
  • and do whatever else you would expect from a modern ML metadata store

image Kedro pipeline metadata in custom dashboard in the Neptune UI

Note: Kedro-Neptune plugin supports distributed pipeline execution and works in Kedro setups that use orchestrators like Airflow or Kubeflow.

Resources

Example

# On the command line:
pip install neptune-client kedro kedro-neptune
kedro new --starter=pandas-iris

# In your Kedro project directory:
kedro neptune init
# In a pipeline node, in nodes.py:
import neptune.new as neptune

# Add a Neptune run handler to the report_accuracy() function
# and log metrics to neptune_run
def report_accuracy(predictions: np.ndarray, test_y: pd.DataFrame,
                    neptune_run: neptune.run.Handler) -> None:
    target = np.argmax(test_y.to_numpy(), axis=1)
    accuracy = np.sum(predictions == target) / target.shape[0]

    neptune_run["nodes/report/accuracy"] = accuracy * 100

# Add the Neptune run handler to the Kedro pipeline
node(
    report_accuracy,
    ["example_predictions", "example_test_y", "neptune_run"],
    None,
    name="report")
# On the command line, run the Kedro pipeline
kedro run

Support

If you got stuck or simply want to talk to us, here are your options:

  • Check our FAQ page
  • You can submit bug reports, feature requests, or contributions directly to the repository.
  • Chat! When in the Neptune application click on the blue message icon in the bottom-right corner and send a message. A real person will talk to you ASAP (typically very ASAP),
  • You can just shoot us an email at support@neptune.ai

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kedro_neptune-0.1.5.tar.gz (14.4 kB view details)

Uploaded Source

Built Distribution

kedro_neptune-0.1.5-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file kedro_neptune-0.1.5.tar.gz.

File metadata

  • Download URL: kedro_neptune-0.1.5.tar.gz
  • Upload date:
  • Size: 14.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.9.16

File hashes

Hashes for kedro_neptune-0.1.5.tar.gz
Algorithm Hash digest
SHA256 53eebe38b32a7d36f36af03bb89e5b2b7e9d159a89259c8c7d6c71cadce9eb71
MD5 761abeae4583bdcbf78774365cb43dc2
BLAKE2b-256 2dde15a198dedcfff2ebce3da86d28eaa2e5f8ddff5996426a83e9c6d128988e

See more details on using hashes here.

File details

Details for the file kedro_neptune-0.1.5-py3-none-any.whl.

File metadata

File hashes

Hashes for kedro_neptune-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 f13d690eda5ef979b8b03c4de0ba7dd2ebc69b1f4709ffbd6ba373870abc8f7d
MD5 b4ca65952a93fc554e3514654fd0b5c9
BLAKE2b-256 7ed2d06649f81f0c4a1e0b2ba11b2f0052562593920188112815b412b9bfcac4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page