吴恩达机器学习问题

在吴恩达的C1_W2_Lab02_Multiple_Variable_Soln实验中,遇到了一个问题,小白正在寻求解决方案。具体问题出现在In[39],可能涉及图像或数学计算。
摘要由CSDN通过智能技术生成

C1_W2_Lab02_Multiple_Variable_Soln中的

In[39]

出现了图片中的问题,小白求救!

TypeError                                 Traceback (most recent call last)
Cell In[39], line 4
      2 import numpy as np
      3 import matplotlib.pyplot as plt
----> 4 plt.style.use('./deeplearning.mplstyle')
      5 np.set_printoptions(precision=2)

File C:\Anaconda\lib\site-packages\matplotlib\style\core.py:153, in use(style)
    151 pkg, _, name = style.rpartition(".")
    152 try:
--> 153     path = (importlib_resources.files(pkg)
    154             / f"{name}.{STYLE_EXTENSION}")
    155     style = _rc_params_in_file(path)
    156 except (ModuleNotFoundError, IOError) as exc:
    157     # There is an ambiguity whether a dotted name refers to a
    158     # package.style_name or to a dotted file path.  Currently,
   (...)
    161     # either use Path objects or be prepended with "./" and use
    162     # the slash as ma
评论 9
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值