From 4036e30abe630f6157bc48dca6fdedf8459686c8 Mon Sep 17 00:00:00 2001 From: Mathias Leys Date: Fri, 16 Aug 2024 13:32:53 +0100 Subject: [PATCH 1/2] Update gitignore --- .gitignore | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 67b18d0..43b5af5 100644 --- a/.gitignore +++ b/.gitignore @@ -160,4 +160,5 @@ bench/ # option (not recommended) you can uncomment the following to ignore the entire idea folder. #.idea/ -data/ \ No newline at end of file +data/ +.DS_Store \ No newline at end of file From 1d71e29426e82d3c8b774cf5a29c9be71d0a7ddf Mon Sep 17 00:00:00 2001 From: Mathias Leys Date: Fri, 16 Aug 2024 13:33:08 +0100 Subject: [PATCH 2/2] Add github username telemetry --- examples/complex_model/complex_model.ipynb | 7 +++-- examples/conv_net/conv_net.ipynb | 29 ++++--------------- .../linear_regression/linear_regression.ipynb | 29 ++++--------------- examples/neural_net/neural_net.ipynb | 29 ++++--------------- examples/spam_detection/spam_detection.ipynb | 29 ++++--------------- examples/time_series/time_series.ipynb | 29 ++++--------------- 6 files changed, 29 insertions(+), 123 deletions(-) diff --git a/examples/complex_model/complex_model.ipynb b/examples/complex_model/complex_model.ipynb index 15716b7..c1fb4fc 100644 --- a/examples/complex_model/complex_model.ipynb +++ b/examples/complex_model/complex_model.ipynb @@ -60,7 +60,8 @@ }, "outputs": [], "source": [ - "%pip install nada-ai~=0.3.0 --quiet" + "%%capture\n", + "!pip install nada-ai~=0.3.0" ] }, { @@ -87,7 +88,7 @@ "source": [ "# Configure telemetry settings\n", "enable_telemetry = True #@param {type:\"boolean\"}\n", - "my_identifier = \"your-telemetry-identifier\" #@param {type:\"string\"}" + "my_github_username = \"your-github-username\" #@param {type:\"string\"}" ] }, { @@ -152,7 +153,7 @@ "\n", "# Set telemetry if opted in\n", "if enable_telemetry:\n", - " identifier = f\"nada-ai-complex-model-{str(uuid.uuid4())}-{my_identifier}\"\n", + " identifier = f\"nada-ai-complex-model-{str(uuid.uuid4())}-{my_github_username}\"\n", " !echo 'yes' | nilup instrumentation enable --wallet {identifier}\n", "\n", "# Install the lastest SDK and initialise it\n", diff --git a/examples/conv_net/conv_net.ipynb b/examples/conv_net/conv_net.ipynb index 47db481..c5fc1a7 100644 --- a/examples/conv_net/conv_net.ipynb +++ b/examples/conv_net/conv_net.ipynb @@ -62,29 +62,10 @@ "id": "o4PXBlE2v_7K", "outputId": "01e87267-59cf-49c4-b088-c94ed94b2185" }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.0/61.0 kB\u001b[0m \u001b[31m795.7 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.8/54.8 kB\u001b[0m \u001b[31m3.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m18.2/18.2 MB\u001b[0m \u001b[31m47.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.6/12.6 MB\u001b[0m \u001b[31m53.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.4/13.4 MB\u001b[0m \u001b[31m42.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m413.1/413.1 kB\u001b[0m \u001b[31m19.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m294.6/294.6 kB\u001b[0m \u001b[31m18.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m55.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m149.3/149.3 kB\u001b[0m \u001b[31m11.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.3/21.3 MB\u001b[0m \u001b[31m53.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", - "tensorflow-metadata 1.15.0 requires protobuf<4.21,>=3.20.3; python_version < \"3.11\", but you have protobuf 4.25.4 which is incompatible.\u001b[0m\u001b[31m\n", - "\u001b[0m" - ] - } - ], + "outputs": [], "source": [ - "%pip install nada-ai~=0.3.0 --quiet" + "%%capture\n", + "pip install nada-ai~=0.3.0" ] }, { @@ -111,7 +92,7 @@ "source": [ "# Configure telemetry settings\n", "enable_telemetry = True #@param {type:\"boolean\"}\n", - "my_identifier = \"your-telemetry-identifier\" #@param {type:\"string\"}" + "my_github_username = \"your-github-username\" #@param {type:\"string\"}" ] }, { @@ -174,7 +155,7 @@ "\n", "# Set telemetry if opted in\n", "if enable_telemetry:\n", - " identifier = f\"nada-ai-conv-net-{str(uuid.uuid4())}-{my_identifier}\"\n", + " identifier = f\"nada-ai-conv-net-{str(uuid.uuid4())}-{my_github_username}\"\n", " !echo 'yes' | nilup instrumentation enable --wallet {identifier}\n", "\n", "# Install the lastest SDK and initialise it\n", diff --git a/examples/linear_regression/linear_regression.ipynb b/examples/linear_regression/linear_regression.ipynb index ee907db..aea3dc1 100644 --- a/examples/linear_regression/linear_regression.ipynb +++ b/examples/linear_regression/linear_regression.ipynb @@ -62,29 +62,10 @@ "id": "o4PXBlE2v_7K", "outputId": "943693f2-51f8-4685-ea29-07b89b7b876a" }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.0/61.0 kB\u001b[0m \u001b[31m1.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.8/54.8 kB\u001b[0m \u001b[31m3.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m18.2/18.2 MB\u001b[0m \u001b[31m70.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.6/12.6 MB\u001b[0m \u001b[31m4.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.4/13.4 MB\u001b[0m \u001b[31m77.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m413.1/413.1 kB\u001b[0m \u001b[31m22.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m294.6/294.6 kB\u001b[0m \u001b[31m16.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m57.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m149.3/149.3 kB\u001b[0m \u001b[31m9.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.3/21.3 MB\u001b[0m \u001b[31m60.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", - "tensorflow-metadata 1.15.0 requires protobuf<4.21,>=3.20.3; python_version < \"3.11\", but you have protobuf 4.25.4 which is incompatible.\u001b[0m\u001b[31m\n", - "\u001b[0m" - ] - } - ], + "outputs": [], "source": [ - "%pip install nada-ai~=0.3.0 --quiet" + "%%capture\n", + "!pip install nada-ai~=0.3.0" ] }, { @@ -111,7 +92,7 @@ "source": [ "# Configure telemetry settings\n", "enable_telemetry = True #@param {type:\"boolean\"}\n", - "my_identifier = \"your-telemetry-identifier\" #@param {type:\"string\"}" + "my_github_username = \"your-github-username\" #@param {type:\"string\"}" ] }, { @@ -174,7 +155,7 @@ "\n", "# Set telemetry if opted in\n", "if enable_telemetry:\n", - " identifier = f\"nada-ai-linear-regression-{str(uuid.uuid4())}-{my_identifier}\"\n", + " identifier = f\"nada-ai-linear-regression-{str(uuid.uuid4())}-{my_github_username}\"\n", " !echo 'yes' | nilup instrumentation enable --wallet {identifier}\n", "\n", "# Install the lastest SDK and initialise it\n", diff --git a/examples/neural_net/neural_net.ipynb b/examples/neural_net/neural_net.ipynb index 96fb3b8..86620cb 100644 --- a/examples/neural_net/neural_net.ipynb +++ b/examples/neural_net/neural_net.ipynb @@ -62,29 +62,10 @@ "id": "o4PXBlE2v_7K", "outputId": "4b268ef1-60d7-49df-b9c1-51c4038addd1" }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.0/61.0 kB\u001b[0m \u001b[31m1.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.8/54.8 kB\u001b[0m \u001b[31m2.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m18.2/18.2 MB\u001b[0m \u001b[31m35.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.6/12.6 MB\u001b[0m \u001b[31m51.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.4/13.4 MB\u001b[0m \u001b[31m44.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m413.1/413.1 kB\u001b[0m \u001b[31m24.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m294.6/294.6 kB\u001b[0m \u001b[31m17.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m57.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m149.3/149.3 kB\u001b[0m \u001b[31m10.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.3/21.3 MB\u001b[0m \u001b[31m61.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", - "tensorflow-metadata 1.15.0 requires protobuf<4.21,>=3.20.3; python_version < \"3.11\", but you have protobuf 4.25.4 which is incompatible.\u001b[0m\u001b[31m\n", - "\u001b[0m" - ] - } - ], + "outputs": [], "source": [ - "%pip install nada-ai~=0.3.0 --quiet" + "%%capture\n", + "!pip install nada-ai~=0.3.0" ] }, { @@ -111,7 +92,7 @@ "source": [ "# Configure telemetry settings\n", "enable_telemetry = True #@param {type:\"boolean\"}\n", - "my_identifier = \"your-telemetry-identifier\" #@param {type:\"string\"}" + "my_github_username = \"your-github-username\" #@param {type:\"string\"}" ] }, { @@ -174,7 +155,7 @@ "\n", "# Set telemetry if opted in\n", "if enable_telemetry:\n", - " identifier = f\"nada-ai-neural-net-{str(uuid.uuid4())}-{my_identifier}\"\n", + " identifier = f\"nada-ai-neural-net-{str(uuid.uuid4())}-{my_github_username}\"\n", " !echo 'yes' | nilup instrumentation enable --wallet {identifier}\n", "\n", "# Install the lastest SDK and initialise it\n", diff --git a/examples/spam_detection/spam_detection.ipynb b/examples/spam_detection/spam_detection.ipynb index 7d98e3c..3287cc5 100644 --- a/examples/spam_detection/spam_detection.ipynb +++ b/examples/spam_detection/spam_detection.ipynb @@ -62,29 +62,10 @@ "id": "o4PXBlE2v_7K", "outputId": "3427388e-6089-4d0c-fe10-db3bde3ca5a7" }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.0/61.0 kB\u001b[0m \u001b[31m998.5 kB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.8/54.8 kB\u001b[0m \u001b[31m2.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m18.2/18.2 MB\u001b[0m \u001b[31m30.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.6/12.6 MB\u001b[0m \u001b[31m11.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.4/13.4 MB\u001b[0m \u001b[31m26.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m413.1/413.1 kB\u001b[0m \u001b[31m25.3 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m294.6/294.6 kB\u001b[0m \u001b[31m19.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m71.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m149.3/149.3 kB\u001b[0m \u001b[31m10.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.3/21.3 MB\u001b[0m \u001b[31m70.6 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", - "tensorflow-metadata 1.15.0 requires protobuf<4.21,>=3.20.3; python_version < \"3.11\", but you have protobuf 4.25.4 which is incompatible.\u001b[0m\u001b[31m\n", - "\u001b[0m" - ] - } - ], + "outputs": [], "source": [ - "%pip install nada-ai~=0.3.0 --quiet" + "%%capture\n", + "!pip install nada-ai~=0.3.0" ] }, { @@ -111,7 +92,7 @@ "source": [ "# Configure telemetry settings\n", "enable_telemetry = True #@param {type:\"boolean\"}\n", - "my_identifier = \"your-telemetry-identifier\" #@param {type:\"string\"}" + "my_github_username = \"your-github-username\" #@param {type:\"string\"}" ] }, { @@ -174,7 +155,7 @@ "\n", "# Set telemetry if opted in\n", "if enable_telemetry:\n", - " identifier = f\"nada-ai-spam-detection-{str(uuid.uuid4())}-{my_identifier}\"\n", + " identifier = f\"nada-ai-spam-detection-{str(uuid.uuid4())}-{my_github_username}\"\n", " !echo 'yes' | nilup instrumentation enable --wallet {identifier}\n", "\n", "# Install the lastest SDK and initialise it\n", diff --git a/examples/time_series/time_series.ipynb b/examples/time_series/time_series.ipynb index 3428bff..e81f4f7 100644 --- a/examples/time_series/time_series.ipynb +++ b/examples/time_series/time_series.ipynb @@ -62,29 +62,10 @@ "id": "o4PXBlE2v_7K", "outputId": "036c73f6-22c0-4868-ee69-869b987ed74a" }, - "outputs": [ - { - "name": "stdout", - "output_type": "stream", - "text": [ - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m61.0/61.0 kB\u001b[0m \u001b[31m1.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m54.8/54.8 kB\u001b[0m \u001b[31m2.4 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m18.2/18.2 MB\u001b[0m \u001b[31m8.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m12.6/12.6 MB\u001b[0m \u001b[31m1.9 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m13.4/13.4 MB\u001b[0m \u001b[31m2.5 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m413.1/413.1 kB\u001b[0m \u001b[31m3.2 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m294.6/294.6 kB\u001b[0m \u001b[31m3.1 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m2.1/2.1 MB\u001b[0m \u001b[31m3.8 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m149.3/149.3 kB\u001b[0m \u001b[31m2.7 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[2K \u001b[90m━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━\u001b[0m \u001b[32m21.3/21.3 MB\u001b[0m \u001b[31m6.0 MB/s\u001b[0m eta \u001b[36m0:00:00\u001b[0m\n", - "\u001b[?25h\u001b[31mERROR: pip's dependency resolver does not currently take into account all the packages that are installed. This behaviour is the source of the following dependency conflicts.\n", - "tensorflow-metadata 1.15.0 requires protobuf<4.21,>=3.20.3; python_version < \"3.11\", but you have protobuf 4.25.4 which is incompatible.\u001b[0m\u001b[31m\n", - "\u001b[0m" - ] - } - ], + "outputs": [], "source": [ - "%pip install nada-ai~=0.3.0 --quiet" + "%%capture\n", + "!pip install nada-ai~=0.3.0" ] }, { @@ -111,7 +92,7 @@ "source": [ "# Configure telemetry settings\n", "enable_telemetry = True #@param {type:\"boolean\"}\n", - "my_identifier = \"your-telemetry-identifier\" #@param {type:\"string\"}" + "my_github_username = \"your-github-username\" #@param {type:\"string\"}" ] }, { @@ -174,7 +155,7 @@ "\n", "# Set telemetry if opted in\n", "if enable_telemetry:\n", - " identifier = f\"nada-ai-time-series-{str(uuid.uuid4())}-{my_identifier}\"\n", + " identifier = f\"nada-ai-time-series-{str(uuid.uuid4())}-{my_github_username}\"\n", " !echo 'yes' | nilup instrumentation enable --wallet {identifier}\n", "\n", "# Install the lastest SDK and initialise it\n",