diff --git a/CODE_OF_CONDUCT.md b/CODE_OF_CONDUCT.md index 927a532..7cd5980 100644 --- a/CODE_OF_CONDUCT.md +++ b/CODE_OF_CONDUCT.md @@ -55,7 +55,7 @@ further defined and clarified by project maintainers. ## Enforcement Instances of abusive, harassing, or otherwise unacceptable behavior may be -reported by contacting the project team at ml-team@neptune.ml. All +reported by contacting the project team at ml-team@neptune.ai. All complaints will be reviewed and investigated and will result in a response that is deemed necessary and appropriate to the circumstances. The project team is obligated to maintain confidentiality with regard to the reporter of an incident. diff --git a/README.md b/README.md index 3e23f13..039ccfc 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,7 @@ If you get stuck, don't worry we are here to help. The best order of communication is: * [neptune-contrib readthedocs](https://neptune-contrib.readthedocs.io) - * [neptune community forum](https://community.neptune.ml/) + * [neptune community forum](https://community.neptune.ai/) * [neptune community Spectrum](https://spectrum.chat/neptune-community?tab=posts) * Github issues @@ -37,7 +37,7 @@ The best order of communication is: If you see something that you don't like you are more than welcome to contribute! There are many options: - * Participate in discussions on [neptune community forum](https://community.neptune.ml/) or [neptune community Spectrum](https://spectrum.chat/neptune-community?tab=posts) + * Participate in discussions on [neptune community forum](https://community.neptune.ai/) or [neptune community Spectrum](https://spectrum.chat/neptune-community?tab=posts) * Submit a feature request or a bug here, on Github * Submit a pull request that deals with an open feature-request or bug * Spread a word about neptune-contrib in your community diff --git a/docs/_static/images/LightGBM_neptuneML.png b/docs/_static/images/LightGBM_neptuneML.png index 42a3658..0b944cc 100644 Binary files a/docs/_static/images/LightGBM_neptuneML.png and b/docs/_static/images/LightGBM_neptuneML.png differ diff --git a/docs/_static/images/Telegram_neptuneML.png b/docs/_static/images/Telegram_neptuneML.png index 917e76b..03886eb 100644 Binary files a/docs/_static/images/Telegram_neptuneML.png and b/docs/_static/images/Telegram_neptuneML.png differ diff --git a/docs/_static/images/fastai_neptuneML.png b/docs/_static/images/fastai_neptuneML.png index cd6be09..9cf14f8 100644 Binary files a/docs/_static/images/fastai_neptuneML.png and b/docs/_static/images/fastai_neptuneML.png differ diff --git a/docs/_static/images/matplotlib_neptuneML.png b/docs/_static/images/matplotlib_neptuneML.png index 89b1ec7..5939548 100644 Binary files a/docs/_static/images/matplotlib_neptuneML.png and b/docs/_static/images/matplotlib_neptuneML.png differ diff --git a/docs/_static/images/sacred_neptuneML.png b/docs/_static/images/sacred_neptuneML.png index f7a9c87..119f464 100644 Binary files a/docs/_static/images/sacred_neptuneML.png and b/docs/_static/images/sacred_neptuneML.png differ diff --git a/docs/examples/data_versioning.ipynb b/docs/examples/data_versioning.ipynb index df4f004..4021ac5 100644 --- a/docs/examples/data_versioning.ipynb +++ b/docs/examples/data_versioning.ipynb @@ -15,7 +15,7 @@ "\n", "![img1](https://gist.githubusercontent.com/jakubczakon/f754769a39ea6b8fa9728ede49b9165c/raw/7b98d5a5ef9dc702e9b1cf47dd1019efffc32753/feature_versions_dashboard.png)\n", "\n", - "Check [this example project](https://ui.neptune.ml/neptune-ml/credit-default-prediction/experiments) to see more.\n", + "Check [this example project](https://ui.neptune.ai/neptune-ai/credit-default-prediction/experiments) to see more.\n", "\n", "## Prerequisites\n", "Initialize Neptune" diff --git a/docs/examples/image_dir_snapshots.ipynb b/docs/examples/image_dir_snapshots.ipynb index b9f8376..5213eb0 100644 --- a/docs/examples/image_dir_snapshots.ipynb +++ b/docs/examples/image_dir_snapshots.ipynb @@ -11,7 +11,7 @@ "Each contains (or not) images of given class.\n", "\n", "You can log mosaic of image samples from those directories to neptune.\n", - "Check [this experiment](https://ui.neptune.ml/jakub-czakon/examples/e/EX-96/logs). \n", + "Check [this experiment](https://ui.neptune.ai/jakub-czakon/examples/e/EX-96/logs). \n", "\n", "![img](https://gist.githubusercontent.com/jakubczakon/f754769a39ea6b8fa9728ede49b9165c/raw/e729136eaf93fe39dfea88ff8eb977d62dbcb1b1/image_dir_snapshots.gif)\n", "\n", diff --git a/docs/examples/log_binary_metrics.ipynb b/docs/examples/log_binary_metrics.ipynb index d6c594f..4fd5c19 100644 --- a/docs/examples/log_binary_metrics.ipynb +++ b/docs/examples/log_binary_metrics.ipynb @@ -109,7 +109,7 @@ "metadata": {}, "source": [ "It is now safely logged in Neptune.\n", - "Check out [this experiment](https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs). \n", + "Check out [this experiment](https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs). \n", "\n", "![binary classification metrics](../_static/images/binary_metrics.gif)\n", "\n", diff --git a/docs/examples/log_fairness_metrics.ipynb b/docs/examples/log_fairness_metrics.ipynb index 0cf1533..0661c2a 100644 --- a/docs/examples/log_fairness_metrics.ipynb +++ b/docs/examples/log_fairness_metrics.ipynb @@ -114,7 +114,7 @@ "metadata": {}, "source": [ "It is now safely logged in Neptune.\n", - "Check out [this experiment](https://ui.neptune.ml/jakub-czakon/model-fairness/e/MOD-92/logs). \n", + "Check out [this experiment](https://ui.neptune.ai/jakub-czakon/model-fairness/e/MOD-92/logs). \n", "\n", "![fairness classification metrics](../_static/images/fairness_metrics.gif)" ] diff --git a/docs/examples/monitor_fastai.ipynb b/docs/examples/monitor_fastai.ipynb index 72f0b2e..113d96a 100644 --- a/docs/examples/monitor_fastai.ipynb +++ b/docs/examples/monitor_fastai.ipynb @@ -6,7 +6,7 @@ "source": [ "# Log fast.ai metrics to neptune\n", "\n", - "![fastai neptune.ml integration](../_static/images/fastai_neptuneML.png)\n", + "![fastai neptune.ai integration](../_static/images/fastai_neptuneML.png)\n", "\n", "## Prerequisites\n", "Create your databunch." @@ -80,7 +80,7 @@ "## Monitor your fast.ai training in neptune\n", "Now you can watch your fast.ai model training in neptune!\n", "\n", - "Go to the [experiment link](https://app.neptune.ml/neptune-ml/neptune-examples/e/NEP-493/charts) to see for yourself.\n", + "Go to the [experiment link](https://ui.neptune.ai/neptune-ai/neptune-examples/e/NEP-493/charts) to see for yourself.\n", "\n", "![image2](https://gist.githubusercontent.com/jakubczakon/f754769a39ea6b8fa9728ede49b9165c/raw/c74da877561b629773976ab07139e9fe3656d17b/contrib_fastai.png)" ] diff --git a/docs/examples/monitor_lgbm.ipynb b/docs/examples/monitor_lgbm.ipynb index c81f65f..63edc06 100644 --- a/docs/examples/monitor_lgbm.ipynb +++ b/docs/examples/monitor_lgbm.ipynb @@ -6,7 +6,7 @@ "source": [ "# Log lightGBM metrics to neptune\n", "\n", - "![lightGBM neptune.ml integration](../_static/images/LightGBM_neptuneML.png)\n", + "![lightGBM neptune.ai integration](../_static/images/LightGBM_neptuneML.png)\n", "\n", "## Prerequisites\n", "Create your dataset and define model parameters." diff --git a/docs/examples/observer_sacred.ipynb b/docs/examples/observer_sacred.ipynb index eb45a0d..dfef83d 100644 --- a/docs/examples/observer_sacred.ipynb +++ b/docs/examples/observer_sacred.ipynb @@ -6,7 +6,7 @@ "source": [ "# Log Sacred experiments to neptune\n", "\n", - "![sacred neptune.ml integration](../_static/images/sacred_neptuneML.png)\n", + "![sacred neptune.ai integration](../_static/images/sacred_neptuneML.png)\n", "\n", "## Create Sacred experiment" ] @@ -79,7 +79,7 @@ "## Go to Neptune app and observe your experiment\n", "Now you can watch your Sacred model training in neptune!\n", "\n", - "For example, you can check [this experiment](https://ui.neptune.ml/jakub-czakon/examples/e/EX-341)\n", + "For example, you can check [this experiment](https://ui.neptune.ai/jakub-czakon/examples/e/EX-341)\n", " \n", "![image](https://gist.githubusercontent.com/jakubczakon/f754769a39ea6b8fa9728ede49b9165c/raw/ae86f7321113327602be89c6ed3ac9d618ffdb4c/sacred_observer.png)" ] diff --git a/docs/examples/project_progress.ipynb b/docs/examples/project_progress.ipynb index d0dbdd3..0f24f16 100644 --- a/docs/examples/project_progress.ipynb +++ b/docs/examples/project_progress.ipynb @@ -19,7 +19,7 @@ "from neptune.sessions import Session\n", "\n", "session = Session()\n", - "project = session.get_projects('neptune-ml')['neptune-ml/Salt-Detection']\n", + "project = session.get_projects('neptune-ai')['neptune-ai/Salt-Detection']\n", "leadearboard = project.get_leaderboard()" ] }, diff --git a/docs/examples/sync_with_json.ipynb b/docs/examples/sync_with_json.ipynb index e630fa2..fc78e0e 100644 --- a/docs/examples/sync_with_json.ipynb +++ b/docs/examples/sync_with_json.ipynb @@ -47,14 +47,14 @@ "\n", "```bash\n", "python -m neptunecontrib.sync.with_json \\\n", - "--project_name neptune-ml/neptune-examples \\\n", + "--project_name neptune-ai/neptune-examples \\\n", "--filepath experiment_data.json\n", "\n", "```\n", "\n", "## Explore your experiment in Neptune\n", "Now your experiment data is safely logged to Neptune and you can easily explore it.\n", - "Go to the [experiment link](https://app.neptune.ml/o/neptune-ml/org/neptune-examples/e/NEP-506/charts) to see for yourself!\n", + "Go to the [experiment link](https://ui.neptune.ai/o/neptune-ai/org/neptune-examples/e/NEP-506/charts) to see for yourself!\n", "\n", "![image](https://gist.githubusercontent.com/jakubczakon/f754769a39ea6b8fa9728ede49b9165c/raw/0f914ef66ec5821a83eec687c772fd2692a4d424/json1.png)\n", "\n", diff --git a/docs/examples/telegram_bot.ipynb b/docs/examples/telegram_bot.ipynb index 66f0e5c..07c7025 100644 --- a/docs/examples/telegram_bot.ipynb +++ b/docs/examples/telegram_bot.ipynb @@ -6,7 +6,7 @@ "source": [ "# Telegram Bot\n", "\n", - "![Telegram neptune.ml integration](../_static/images/Telegram_neptuneML.png)\n", + "![Telegram neptune.ai integration](../_static/images/Telegram_neptuneML.png)\n", "\n", "Inspired by the beautiful [blog post and package Telegrad](https://towardsdatascience.com/how-to-monitor-and-control-deep-learning-experiments-through-your-phone-35ef1704928d\n", ") we have decided to write the telegram bot for Neptune!\n", diff --git a/docs/index.rst b/docs/index.rst index 63f201c..c752cff 100644 --- a/docs/index.rst +++ b/docs/index.rst @@ -1,4 +1,4 @@ -neptune-contrib: open-source contributions to Neptune.ml +neptune-contrib: open-source contributions to Neptune.ai ======================================================== This library is a collection of helpers and extensions that make working @@ -13,23 +13,23 @@ Enjoy the following integrations: .. image:: _static/images/fastai_neptuneML.png :target: _static/images/fastai_neptuneML.png - :alt: fastai neptune.ml integration + :alt: fastai neptune.ai integration .. image:: _static/images/sacred_neptuneML.png :target: _static/images/sacred_neptuneML.png - :alt: Sacred neptune.ml integration + :alt: Sacred neptune.ai integration .. image:: _static/images/LightGBM_neptuneML.png :target: _static/images/LightGBM_neptuneML.png - :alt: lightGBM neptune.ml integration + :alt: lightGBM neptune.ai integration .. image:: _static/images/matplotlib_neptuneML.png :target: _static/images/matplotlib_neptuneML.png - :alt: matplotlib neptune.ml integration + :alt: matplotlib neptune.ai integration .. image:: _static/images/Telegram_neptuneML.png :target: _static/images/Telegram_neptuneML.png - :alt: Telegram neptune.ml integration + :alt: Telegram neptune.ai integration And the best thing is you can extend it yourself or... tell us to do it for you :). @@ -93,7 +93,7 @@ Indices and tables .. _GitHub: https://github.com/neptune-ml/neptune-contrib .. _Git Issues: https://github.com/neptune-ml/neptune-contrib/issues .. _Git Feature Request: https://github.com/neptune-ml/neptune-contrib/issues -.. _Neptune app: https://neptune.ml/ -.. _Neptune community forum: https://community.neptune.ml/ +.. _Neptune app: https://neptune.ai/ +.. _Neptune community forum: https://community.neptune.ai/ .. _Github projects: https://github.com/neptune-ml/neptune-contrib/projects .. _Neptune community spectrum: https://spectrum.chat/neptune-community?tab=posts diff --git a/docs/installation.rst b/docs/installation.rst index c1ccb58..78639bf 100644 --- a/docs/installation.rst +++ b/docs/installation.rst @@ -15,6 +15,6 @@ For example: Installation options are: [bots], [hpo], [monitoring], [versioning], [viz] and [all]. -To get all the functionality register account for free on `neptune.ml website`_. +To get all the functionality register account for free on `neptune.ai website`_. -.. _neptune.ml website: https://neptune.ml/ +.. _neptune.ai website: https://neptune.ai/ diff --git a/neptunecontrib/api/utils.py b/neptunecontrib/api/utils.py index e25e6ea..5f94381 100644 --- a/neptunecontrib/api/utils.py +++ b/neptunecontrib/api/utils.py @@ -47,7 +47,7 @@ def concat_experiments_on_channel(experiments, channel_name): Fetch a project and a list of experiments:: - project = session.get_projects('neptune-ml')['neptune-ml/Salt-Detection'] + project = session.get_projects('neptune-ai')['neptune-ai/Salt-Detection'] experiments = project.get_experiments(state=['aborted'], owner=['neyo'], min_running_time=100000) Construct a channel value dataframe:: @@ -100,7 +100,7 @@ def extract_project_progress_info(leadearboard, metric_colname, time_colname='fi Fetch a project and the experiment view of that project:: - project = session.get_projects('neptune-ml')['neptune-ml/Salt-Detection'] + project = session.get_projects('neptune-ai')['neptune-ai/Salt-Detection'] leaderboard = project.get_leaderboard() Create a progress info dataframe:: @@ -225,7 +225,7 @@ def get_filepaths(dirpath='.', extensions=None): msg = """get_filepaths() is deprecated. Starting from neptune-client==4.9 you can pass ['**/*.py*', '**/*.yaml*', '**/*.yml*'] to upload_source_files argument to upload all files with given extensions recursively. - Read more https://docs.neptune.ml/neptune-client/docs/project.html + Read more https://docs.neptune.ai/neptune-client/docs/project.html """ warnings.warn(msg, DeprecationWarning) diff --git a/neptunecontrib/bots/telegram_bot.py b/neptunecontrib/bots/telegram_bot.py index d079a26..e0ad087 100644 --- a/neptunecontrib/bots/telegram_bot.py +++ b/neptunecontrib/bots/telegram_bot.py @@ -49,7 +49,7 @@ Go to your telegram and type. - `/project list neptune-ml` + `/project list neptune-ai` Use help to see what is implemented. @@ -135,7 +135,7 @@ def _project_list(self, bot, update, args): msg = ['message should have a format:', '/project list NAMESPACE', 'for example:', - '/project list neptune-ml'] + '/project list neptune-ai'] msg = '\n'.join(msg) else: namespace = args[1] @@ -148,7 +148,7 @@ def _project_select(self, bot, update, args): msg = ['message should have a format:', '/project select NAMESPACE/PROJECT_NAME', 'for example:', - '/project select neptune-ml/neptune-examples'] + '/project select neptune-ai/neptune-examples'] msg = '\n'.join(msg) else: self.project_name = args[1] @@ -246,7 +246,7 @@ def _experiment_link(self, bot, update, args): short_id = args[1] namespace, project = self.project_name.split('/') - msg = 'https://app.neptune.ml/o/{}/org/{}/e/{}/details'.format(namespace, project, short_id) + msg = 'https://ui.neptune.ai/o/{}/org/{}/e/{}/details'.format(namespace, project, short_id) bot.send_message(chat_id=update.message.chat_id, text=msg) def _experiment_plot(self, bot, update, args): @@ -291,7 +291,7 @@ def _no_project_selected(self, bot, update): "Do so by running:\n" "/project select NAMESPACE/PROJECT_NAME", "For example:", - "/project select neptune-ml/neptune-examples"] + "/project select neptune-ai/neptune-examples"] msg = '\n'.join(msg) bot.send_message(chat_id=update.message.chat_id, text=msg) diff --git a/neptunecontrib/hpo/utils.py b/neptunecontrib/hpo/utils.py index 4d24220..1bcce82 100644 --- a/neptunecontrib/hpo/utils.py +++ b/neptunecontrib/hpo/utils.py @@ -99,7 +99,7 @@ def df2result(df, metric_col, param_cols, param_types=None): Fetch a project and a list of experiments:: - project = session.get_projects('neptune-ml')['neptune-ml/Home-Credit-Default-Risk'] + project = session.get_projects('neptune-ai')['neptune-ai/Home-Credit-Default-Risk'] leaderboard = project.get_leaderboard(state=['succeeded'], owner=['czakon']) Comvert the leaderboard dataframe to the `ResultOptimize` instance taking only the parameters and diff --git a/neptunecontrib/monitoring/fairness.py b/neptunecontrib/monitoring/fairness.py index 0685230..6c30be5 100644 --- a/neptunecontrib/monitoring/fairness.py +++ b/neptunecontrib/monitoring/fairness.py @@ -74,7 +74,7 @@ def log_fairness_classification_metrics(y_true, y_pred_class, y_pred_score, sens privileged_groups={'race':['African-American','Hispanic]}, ) - Check out this experiment https://ui.neptune.ml/jakub-czakon/model-fairness/e/MOD-92/logs. + Check out this experiment https://ui.neptune.ai/jakub-czakon/model-fairness/e/MOD-92/logs. """ _exp = experiment if experiment else neptune diff --git a/neptunecontrib/monitoring/fastai.py b/neptunecontrib/monitoring/fastai.py index 3fc4091..eedca42 100644 --- a/neptunecontrib/monitoring/fastai.py +++ b/neptunecontrib/monitoring/fastai.py @@ -35,7 +35,7 @@ class NeptuneMonitor(LearnerCallback): and logs them to appropriate Neptune channels. See the example experiment here - https://app.neptune.ml/neptune-ml/neptune-examples/e/NEP-493/charts. + https://ui.neptune.ai/neptune-ai/neptune-examples/e/NEP-493/charts. Args: diff --git a/neptunecontrib/monitoring/metrics.py b/neptunecontrib/monitoring/metrics.py index 1ac3d47..b7c96a6 100644 --- a/neptunecontrib/monitoring/metrics.py +++ b/neptunecontrib/monitoring/metrics.py @@ -71,7 +71,7 @@ def log_binary_classification_metrics(y_true, y_pred, threshold=0.5, experiment= with neptune.create_experiment(): log_binary_classification_metrics(y_test, y_test_pred, threshold=0.5) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred.shape) == 2, 'y_pred needs to be (n_samples, 2), use expand_prediction helper to format it' @@ -127,7 +127,7 @@ def log_confusion_matrix(y_true, y_pred_class, experiment=None, channel_name='me with neptune.create_experiment(): log_confusion_matrix(y_test, y_test_pred[:,1]>0.5) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred_class.shape) == 1, 'y_pred_class needs to be 1D class prediction with values 0, 1' @@ -175,7 +175,7 @@ def log_classification_report(y_true, y_pred_class, experiment=None, channel_nam with neptune.create_experiment(): log_classification_report(y_test, y_test_pred[:,1]>0.5) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred_class.shape) == 1, 'y_pred_class needs to be 1D class prediction with values 0, 1' @@ -225,7 +225,7 @@ def log_class_metrics(y_true, y_pred_class, experiment=None, prefix=''): with neptune.create_experiment(): log_class_metrics(y_test, y_test_pred[:,1]>0.5) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred_class.shape) == 1, 'y_pred_class needs to be 1D class prediction with values 0, 1' @@ -276,7 +276,7 @@ def log_class_metrics_by_threshold(y_true, y_pred_pos, experiment=None, channel_ with neptune.create_experiment(): log_class_metrics_by_threshold(y_test, y_test_pred[:,1]) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred_pos.shape) == 1, 'y_pred_pos needs to be 1D prediction for positive class' @@ -325,7 +325,7 @@ def log_roc_auc(y_true, y_pred, experiment=None, channel_name='metric_charts', p with neptune.create_experiment(): log_roc_auc(y_test, y_test_pred) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred.shape) == 2, 'y_pred needs to be (n_samples, 2), use expand_prediction helper to format it' @@ -376,7 +376,7 @@ def log_precision_recall_auc(y_true, y_pred, experiment=None, channel_name='metr with neptune.create_experiment(): log_precision_recall_auc(y_test, y_test_pred) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred.shape) == 2, 'y_pred needs to be (n_samples, 2), use expand_prediction helper to format it' @@ -426,7 +426,7 @@ def log_brier_loss(y_true, y_pred_pos, experiment=None, prefix=''): with neptune.create_experiment(): log_brier_loss(y_test, y_test_pred[:,1]) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred_pos.shape) == 1, 'y_pred_pos needs to be 1D prediction for positive class' @@ -471,7 +471,7 @@ def log_log_loss(y_true, y_pred, experiment=None, prefix=''): with neptune.create_experiment(): log_log_loss(y_test, y_test_pred) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred.shape) == 2, 'y_pred needs to be (n_samples, 2), use expand_prediction helper to format it' @@ -521,7 +521,7 @@ def log_ks_statistic(y_true, y_pred, experiment=None, channel_name='metric_chart with neptune.create_experiment(): log_ks_statistic(y_test, y_test_pred) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred.shape) == 2, 'y_pred needs to be (n_samples, 2), use expand_prediction helper to format it' @@ -573,7 +573,7 @@ def log_cumulative_gain(y_true, y_pred, experiment=None, channel_name='metric_ch with neptune.create_experiment(): log_cumulative_gain(y_test, y_test_pred) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred.shape) == 2, 'y_pred needs to be (n_samples, 2), use expand_prediction helper to format it' @@ -621,7 +621,7 @@ def log_lift_curve(y_true, y_pred, experiment=None, channel_name='metric_charts' with neptune.create_experiment(): log_lift_curve(y_test, y_test_pred) - Check out this experiment https://ui.neptune.ml/o/neptune-ml/org/binary-classification-metrics/e/BIN-101/logs. + Check out this experiment https://ui.neptune.ai/o/neptune-ai/org/binary-classification-metrics/e/BIN-101/logs. """ assert len(y_pred.shape) == 2, 'y_pred needs to be (n_samples, 2), use expand_prediction helper to format it' diff --git a/neptunecontrib/monitoring/optuna.py b/neptunecontrib/monitoring/optuna.py index a565d18..d111534 100644 --- a/neptunecontrib/monitoring/optuna.py +++ b/neptunecontrib/monitoring/optuna.py @@ -41,7 +41,7 @@ def NeptuneMonitor(experiment=None): study = optuna.create_study(direction='maximize') study.optimize(objective, n_trials=100, callbacks=[monitor]) - You can explore an example experiment in Neptune https://ui.neptune.ml/jakub-czakon/blog-hpo/e/BLOG-404/charts + You can explore an example experiment in Neptune https://ui.neptune.ai/jakub-czakon/blog-hpo/e/BLOG-404/charts """ _exp = experiment if experiment else neptune @@ -81,7 +81,7 @@ def log_study(study, experiment=None): study.optimize(objective, n_trials=100, callbacks=[monitor]) opt_utils.log_study(study) - You can explore an example experiment in Neptune https://ui.neptune.ml/jakub-czakon/blog-hpo/e/BLOG-404/charts + You can explore an example experiment in Neptune https://ui.neptune.ai/jakub-czakon/blog-hpo/e/BLOG-404/charts """ _exp = experiment if experiment else neptune diff --git a/neptunecontrib/monitoring/sacred.py b/neptunecontrib/monitoring/sacred.py index 215dfe1..2d17b33 100644 --- a/neptunecontrib/monitoring/sacred.py +++ b/neptunecontrib/monitoring/sacred.py @@ -26,9 +26,9 @@ class NeptuneObserver(RunObserver): """Logs sacred experiment data to Neptune. - Sacred observer that logs experiment metadata to neptune.ml app. + Sacred observer that logs experiment metadata to neptune. The experiment data can be accessed and shared via web UI or experiment API. - Check Neptune docs for more information https://docs.neptune.ml. + Check Neptune docs for more information https://docs.neptune.ai. Args: project_name(str): project name in Neptune app @@ -74,7 +74,7 @@ def run(C, gamma, _run): return clf.score(iris.data[90:], iris.target[90:]) - Go to the app and see the experiment. For example, https://ui.neptune.ml/jakub-czakon/examples/e/EX-341 + Go to the app and see the experiment. For example, https://ui.neptune.ai/jakub-czakon/examples/e/EX-341 """ def __init__(self, project_name, api_token=None, source_extensions=None): diff --git a/neptunecontrib/sync/with_json.py b/neptunecontrib/sync/with_json.py index fbd5e64..e51b5de 100644 --- a/neptunecontrib/sync/with_json.py +++ b/neptunecontrib/sync/with_json.py @@ -23,7 +23,7 @@ filepath(str): filepath to the `.json` file that contains experiment data. It can have ['tags', 'channels', 'properties', 'parameters', 'name'] sections. You can pass it either as --filepath or -f. - project_name(str): Full name of the project. E.g. "neptune-ml/neptune-examples", + project_name(str): Full name of the project. E.g. "neptune-ai/neptune-examples", You can pass it either as --project_name or -p. neptune_api_token(str): Neptune api token. If you have NEPTUNE_API_TOKEN environment variable set to your API token you can skip this parameter. @@ -66,7 +66,7 @@ $ python neptunecontrib.sync.with_json --neptune_api_token 'ey7123qwwskdnaqsojnd1ru0129e12e==' - --project_name neptune-ml/neptune-examples + --project_name neptune-ai/neptune-examples --filepath experiment_data.json Note: diff --git a/neptunecontrib/versioning/data.py b/neptunecontrib/versioning/data.py index ed1369d..4c4a37c 100644 --- a/neptunecontrib/versioning/data.py +++ b/neptunecontrib/versioning/data.py @@ -99,7 +99,7 @@ def log_image_dir_snapshots(image_dir, channel_name='image_dir_snapshots', exper For a given directory with images it logs a sample of images as figure to Neptune. If the `image_dir` specified contains multiple folders it will sample per folder and create multiple figures naming each figure with the folder name. - See snapshots per class here https://ui.neptune.ml/jakub-czakon/examples/e/EX-95/channels. + See snapshots per class here https://ui.neptune.ai/jakub-czakon/examples/e/EX-95/channels. Args: image_dir(str): path to directory with images. diff --git a/neptunecontrib/viz/experiments.py b/neptunecontrib/viz/experiments.py index 7001207..49f8555 100644 --- a/neptunecontrib/viz/experiments.py +++ b/neptunecontrib/viz/experiments.py @@ -55,7 +55,7 @@ def channel_curve_compare(experiment_df, Fetch a project and a list of experiments:: - project = session.get_projects('neptune-ml')['neptune-ml/Salt-Detection'] + project = session.get_projects('neptune-ai')['neptune-ai/Salt-Detection'] experiments = project.get_experiments(state=['aborted'], owner=['neyo'], min_running_time=100000) Construct a channel value dataframe:: diff --git a/neptunecontrib/viz/projects.py b/neptunecontrib/viz/projects.py index d2561ac..734bde8 100644 --- a/neptunecontrib/viz/projects.py +++ b/neptunecontrib/viz/projects.py @@ -63,7 +63,7 @@ def project_progress(progress_df, Fetch a project and the experiment view of that project:: - project = session.get_projects('neptune-ml')['neptune-ml/Salt-Detection'] + project = session.get_projects('neptune-ai')['neptune-ai/Salt-Detection'] leaderboard = project.get_leaderboard() Create a progress info dataframe:: diff --git a/pylintrc b/pylintrc index b51e30a..3b79d55 100644 --- a/pylintrc +++ b/pylintrc @@ -299,7 +299,7 @@ overgeneral-exceptions=Exception # File header file-header=# - # Copyright (c) 2019, Neptune Labs Sp. z o.o. + # Copyright (c) (2019|2020), Neptune Labs Sp. z o.o. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. diff --git a/setup.py b/setup.py index 244086d..82563ac 100644 --- a/setup.py +++ b/setup.py @@ -24,10 +24,10 @@ def main(): setup( name='neptune-contrib', version='0.15.1', - description='Neptune.ml contributions library', - author='neptune.ml', - support='contact@neptune.ml', - author_email='contact@neptune.ml', + description='Neptune.ai contributions library', + author='neptune.ai', + support='contact@neptune.ai', + author_email='contact@neptune.ai', url="https://github.com/neptune-ml/neptune-contrib", long_description=readme, license='MIT License',