diff --git a/advanced_functionality/scikit_bring_your_own/scikit_bring_your_own.ipynb b/advanced_functionality/scikit_bring_your_own/scikit_bring_your_own.ipynb index 756e5cc874..b2609550ff 100644 --- a/advanced_functionality/scikit_bring_your_own/scikit_bring_your_own.ipynb +++ b/advanced_functionality/scikit_bring_your_own/scikit_bring_your_own.ipynb @@ -459,9 +459,9 @@ "metadata": {}, "outputs": [], "source": [ - "from sagemaker.predictor import csv_serializer\n", + "from sagemaker.serializers import CSVSerializer\n", "\n", - "predictor = tree.deploy(1, \"ml.m4.xlarge\", serializer=csv_serializer)" + "predictor = tree.deploy(1, \"ml.m4.xlarge\", serializer=CSVSerializer())" ] }, { @@ -677,9 +677,9 @@ ], "metadata": { "kernelspec": { - "display_name": "conda_python3", + "display_name": ".venv", "language": "python", - "name": "conda_python3" + "name": "python3" }, "language_info": { "codemirror_mode": { @@ -691,9 +691,9 @@ "name": "python", "nbconvert_exporter": "python", "pygments_lexer": "ipython3", - "version": "3.6.5" + "version": "3.8.10" } }, "nbformat": 4, "nbformat_minor": 2 -} \ No newline at end of file +}