scipy解非线性方程组报错TypeError: 'int' object is not callable

scipy解非线性方程组报错TypeError: 'int' object is not callable。网上说是参数和函数重名的缘故,但貌似我的并没有重名,代码如下:

from scipy.integrate import odeint
import numpy as np
import matplotlib.pyplot as plt
from scipy.optimize import root,fsolve

def fun(x):
    for i in range(0,len(x)):
        x[i] = float(x[i])
    fy = np.array([(x[0]*2010**x[1])*np.exp(-1/2(39.9612**2/(x[2]*2010**x[3])+(-75.2303)**2/(x[4]*2010**x[5])-6259)),(x[0]*2011**x[1])*np.exp(-1/2(39.9612**2/(x[2]*2011**x[3])+(-75.2303)**2/(x[4]*2011**x[5])-5958)),(x[0]*2012**x[1])*np.exp(-1/2(41.3866**2/(x[2]*2012**x[3])+(-81.4421)**2/(x[4]*2012**x[5])-2624)),(x[0]*2014**x[1])*np.exp(-1/2(39.9612**2/(x[2]*2014**x[3])+(-75.2303)**2/(x[4]*2014**x[5])-4809)),(x[0]*2015**x[1])*np.exp(-1/2(39.701**2/(x[2]*2015**x[3])+(-84.2187)**2/(x[4]*2015**x[5])-3877)),(x[0]*2017**x[1])*np.exp(-1/2(41.3866**2/(x[2]*2017**x[3])+(-81.4421)**2/(x[4]*2017**x[5])-7381))])
    return fy
res_fsolve = fsolve(fun,[1,1,1,1,1,1])
print(res_fsolve)

报错内容如下:

TypeError Traceback (most recent call last)
in
9 fy = np.array([(x[0]*2010**x[1])*np.exp(-1/2(39.9612**2/(x[2]*2010**x[3])+(-75.2303)**2/(x[4]*2010**x[5])-6259)),(x[0]*2011**x[1])*np.exp(-1/2(39.9612**2/(x[2]*2011**x[3])+(-75.2303)**2/(x[4]*2011**x[5])-5958)),(x[0]*2012**x[1])*np.exp(-1/2(41.3866**2/(x[2]*2012**x[3])+(-81.4421)**2/(x[4]*2012**x[5])-2624)),(x[0]*2014**x[1])*np.exp(-1/2(39.9612**2/(x[2]*2014**x[3])+(-75.2303)**2/(x[4]*2014**x[5])-4809)),(x[0]*2015**x[1])*np.exp(-1/2(39.701**2/(x[2]*2015**x[3])+(-84.2187)**2/(x[4]*2015**x[5])-3877)),(x[0]*2017**x[1])*np.exp(-1/2(41.3866**2/(x[2]*2017**x[3])+(-81.4421)**2/(x[4]*2017**x[5])-7381))])
10 return fy
---> 11 res_fsolve = fsolve(fun,[1,1,1,1,1,1])
12 print(res_fsolve)

c:\users\anton\appdata\local\programs\python\python36\lib\site-packages\scipy\optimize\minpack.py in fsolve(func, x0, args, fprime, full_output, col_deriv, xtol, maxfev, band, epsfcn, factor, diag)
145 'diag': diag}
146
--> 147 res = _root_hybr(func, x0, args, jac=fprime, **options)
148 if full_output:
149 x = res['x']

c:\users\anton\appdata\local\programs\python\python36\lib\site-packages\scipy\optimize\minpack.py in _root_hybr(func, x0, args, jac, col_deriv, xtol, maxfev, band, eps, factor, diag, **unknown_options)
211 if not isinstance(args, tuple):
212 args = (args,)
--> 213 shape, dtype = _check_func('fsolve', 'func', func, x0, args, n, (n,))
214 if epsfcn is None:
215 epsfcn = finfo(dtype).eps

c:\users\anton\appdata\local\programs\python\python36\lib\site-packages\scipy\optimize\minpack.py in _check_func(checker, argname, thefunc, x0, args, numinputs, output_shape)
24 def _check_func(checker, argname, thefunc, x0, args, numinputs,
25 output_shape=None):
---> 26 res = atleast_1d(thefunc(*((x0[:numinputs],) + args)))
27 if (output_shape is not None) and (shape(res) != output_shape):
28 if (output_shape[0] != 1):

in fun(x)
7 for i in range(0,len(x)):
8 x[i] = float(x[i])
----> 9 fy = np.array([(x[0]*2010**x[1])*np.exp(-1/2(39.9612**2/(x[2]*2010**x[3])+(-75.2303)**2/(x[4]*2010**x[5])-6259)),(x[0]*2011**x[1])*np.exp(-1/2(39.9612**2/(x[2]*2011**x[3])+(-75.2303)**2/(x[4]*2011**x[5])-5958)),(x[0]*2012**x[1])*np.exp(-1/2(41.3866**2/(x[2]*2012**x[3])+(-81.4421)**2/(x[4]*2012**x[5])-2624)),(x[0]*2014**x[1])*np.exp(-1/2(39.9612**2/(x[2]*2014**x[3])+(-75.2303)**2/(x[4]*2014**x[5])-4809)),(x[0]*2015**x[1])*np.exp(-1/2(39.701**2/(x[2]*2015**x[3])+(-84.2187)**2/(x[4]*2015**x[5])-3877)),(x[0]*2017**x[1])*np.exp(-1/2(41.3866**2/(x[2]*2017**x[3])+(-81.4421)**2/(x[4]*2017**x[5])-7381))])
10 return fy
11 res_fsolve = fsolve(fun,[1,1,1,1,1,1])

TypeError: 'int' object is not callable

1个回答

我后来发现,是我大意了,在函数里面,np.exp()里面1/2与后面的部分相乘,我把*号省略了。python里面的数字与数字之间的*是不能省略的。

Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
其他相关推荐
TypeError: 'module' object is not callable cmd中pip无法使用?

C:\Users\lenovo>pip -version Traceback (most recent call last): File "c:\users\lenovo\appdata\local\programs\python\python38\lib\runpy.py", line 192, in _run_module_as_main ``` return _run_code(code, main_globals, None,"__main__", mod_spec) ``` File "c:\users\lenovo\appdata\local\programs\python\python38\lib\runpy.py", line 85, in _run_code ``` exec(code, run_globals) ``` File "C:\Users\lenovo\AppData\Local\Programs\Python\Python38\Scripts\pip.exe\__main.py", line 9, in ``` <module> ``` **TypeError: 'module' object is not callable** ![图片说明](https://img-ask.csdn.net/upload/201911/13/1573644096_292149.png) 我已经把网上所有的方法都试了, 设置添加路径 ![图片说明](https://img-ask.csdn.net/upload/201911/13/1573643660_888350.png) ![图片说明](https://img-ask.csdn.net/upload/201911/13/1573643548_640661.png) 我也重装了python 用python -m pip install -U pip 升级了pip (python -m pip可以使用) 都不行 到底怎么办啊!

如何解决numpy.ndarray' object is not callable

我用python进行非线性规划时报错numpy.ndarray' object is not callable,有大佬可以帮忙解释一下吗 直到最后一句res=minimize。。。才报错,之前检查过都没有问题 ``` from scipy.optimize import minimize import numpy as np def fun(): v=lambda x:abs((x(1)+0*x(2)+0*x(3)+0*x(4)+0*x(5)+0*x(6)+0*x(7)+0*x(8)+0*x(9)+0*x(10)+0*x(11)+0*x(12)+0*x(13)+0*x(14))) return v def cons(): # d,e=args con=({'type':'eq','fun':lambda x: x(1)-(2171.4/0.85*x(2))}, {'type': 'eq', 'fun': lambda x: (x(5)*x(6)*89.496/6.28)-x(7)-x(8)}, {'type': 'eq', 'fun': lambda x: x(9)*x(10)-x(10)*x(11)-x(8)*x(11)}, {'type': 'eq', 'fun': lambda x: x(12) - x(13)+x(11)}, {'type': 'eq', 'fun': lambda x: x(10) - 12500*3.1415}, {'type': 'ineq', 'fun': lambda x: x(6) - x(14)}, {'type': 'ineq', 'fun': lambda x: x(3) - x(4)-2.45}, {'type': 'eq', 'fun': lambda x: x(14) - 12.14*3.1415}, {'type': 'ineq', 'fun': lambda x: x(4) - 2.45}, {'type': 'ineq', 'fun': lambda x: 97.55 - x(4)}, {'type': 'ineq', 'fun': lambda x: x(3) }, {'type': 'ineq', 'fun': lambda x: 95.1 - x(3)}, {'type': 'ineq', 'fun': lambda x: x(5)-2.45-x(4)}, {'type': 'ineq', 'fun': lambda x: 100-x(5)} ) return con a=fun() b=cons() # print(b) x0=np.asarray([3,4,3,2,3,4,3,2,3,4,3,2,3,2]) bounds=((0,None),(0,None),(0,None),(0,None),(0,None),(0,None),(0,None),(0,None),(0,None),(0,None),(0,None),(0,None),(0,None),(0,None)) res=minimize(a,x0,method='SLSQP',constraints=b,bounds=bounds) print(res) print(b) ```

报错ImportError: cannot import name 'BaseEstimator'

有遇到这个问题的嘛 ![图片说明](https://img-ask.csdn.net/upload/201904/04/1554376729_569223.png) 貌似是sklearn库的问题,我卸了numpy scipy scikt-learn又重装也没得用 网上查不到这个报错”ImportError: cannot import name 'BaseEstimator'“ 代码: from sklearn.datasets import load_iris from sklearn.model_selection import train_test_split def datasets_demo(): #获取并打印数据集 iris = load_iris() print("鸢尾花数据集:\n", iris) print("查看数据集描述:\n", iris["DESCR"]) print("查看特征值名字:\n", iris.feature_names) print("查看特征值名字:\n", iris.data, iris.data.shape) x_train,x_text,y_train,y_text=train_test_split(iris.data,iris.target,text_size=0.2,random_state=22) prinit("训练集特征值:\n",x_train,x_train.shape) 报错: D:\python\python.exe "F:/Administrator/python/begin/day1/machine learning.py" Traceback (most recent call last): File "F:/Administrator/python/begin/day1/machine learning.py", line 1, in <module> from sklearn.datasets import load_iris File "D:\python\lib\site-packages\sklearn\__init__.py", line 64, in <module> from .base import clone File "D:\python\lib\site-packages\sklearn\base.py", line 6, in <module> import copy File "F:\Administrator\python\begin\day1\copy.py", line 1, in <module> from sklearn.datasets import load_iris File "D:\python\lib\site-packages\sklearn\datasets\__init__.py", line 23, in <module> from .twenty_newsgroups import fetch_20newsgroups File "D:\python\lib\site-packages\sklearn\datasets\twenty_newsgroups.py", line 44, in <module> from ..feature_extraction.text import CountVectorizer File "D:\python\lib\site-packages\sklearn\feature_extraction\__init__.py", line 7, in <module> from .dict_vectorizer import DictVectorizer File "D:\python\lib\site-packages\sklearn\feature_extraction\dict_vectorizer.py", line 11, in <module> from ..base import BaseEstimator, TransformerMixin ImportError: cannot import name 'BaseEstimator' 进程已结束,退出代码1

帮帮忙吧,急哭了:python实现拉格朗日插值进行缺失值插补时报错,出现Keyerror:0问题?

![图片说明](https://img-ask.csdn.net/upload/201911/13/1573618586_795847.png) 数据截图 ``` import pandas as pd from scipy.interpolate import lagrange inputfile = './test1.xlsx' outputfile = './test1_1.xlsx' def ployinterp_column(s,n,k=6): y = s[list(range(n-k,n)) + list(range(n+1,n+1-k))] y = y[y.notnull()] return lagrange(y.index,list(y))(n) for i in data.columns: for j in range(len(data)): if (data[i].isnull())[j]: data[i][j] = ployinterp_column(data[i],j) ``` 报错 ``` KeyError Traceback (most recent call last) <ipython-input-28-02cf873cddff> in <module>() 1 for i in data.columns: 2 for j in range(len(data)): ----> 3 if (data[i].isnull())[j]: 4 if (data[i].isnull())[j] in data: 5 data[i][j] = ployinterp_column(data[i],j) C:\Anaconda3\lib\site-packages\pandas\core\series.py in __getitem__(self, key) 765 key = com._apply_if_callable(key, self) 766 try: --> 767 result = self.index.get_value(self, key) 768 769 if not is_scalar(result): C:\Anaconda3\lib\site-packages\pandas\core\indexes\base.py in get_value(self, series, key) 3116 try: 3117 return self._engine.get_value(s, k, -> 3118 tz=getattr(series.dtype, 'tz', None)) 3119 except KeyError as e1: 3120 if len(self) > 0 and self.inferred_type in ['integer', 'boolean']: pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_value() pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_value() pandas\_libs\index.pyx in pandas._libs.index.IndexEngine.get_loc() pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.Int64HashTable.get_item() pandas\_libs\hashtable_class_helper.pxi in pandas._libs.hashtable.Int64HashTable.get_item() KeyError: 0 ```

AttributeError: module 'scipy' has no attribute 'io'

编辑如下代码时, ``` import scipy.io scipy.io.loadmat(image[0][i])['section'], dtype=np.float32) ``` 会报错: ``` AttributeError: module 'scipy' has no attribute 'io' ``` 将代码改为: ``` import scipy.io as sio sio.loadmat(image[0][i])['section'], dtype=np.float32) ``` 又会报另一个错误: ``` TypeError: super(type, obj): obj must be an instance or subtype of type ``` 这是为什么呢?求正确的解决方案。。。(scipy已经降级到1.2.1版本,python是3.7版本)

NS3进行可视化编译时出错AttributeError: 'module' object has no attribute 'require_foreign'

在安装NS3后想通过可视化界面看示例编译出错 ``` @ubuntu:~/software/ns-allinone-3.29/ns-3.29$ ./waf --pyrun src/flow-monitor/examples/wifi-olsr-flowmon.py --vis Waf: Entering directory `/home/Alao8B/software/ns-allinone-3.29/ns-3.29/build' [2497/2757] Linking build/examples/tutorial/ns3.29-third-debug Waf: Leaving directory `/home/Alao8B/software/ns-allinone-3.29/ns-3.29/build' Build commands will be stored in build/compile_commands.json 'build' finished successfully (5.867s) Traceback (most recent call last): File "<string>", line 1, in <module> File "/home/XXX/software/ns-allinone-3.29/ns-3.29/src/visualizer/visualizer/__init__.py", line 2, in <module> from core import start, register_plugin, set_bounds, add_initialization_hook File "/home/XXX/software/ns-allinone-3.29/ns-3.29/src/visualizer/visualizer/core.py", line 41, in <module> gi.require_foreign("cairo") AttributeError: 'module' object has no attribute 'require_foreign' ``` 请问大家有没有遇到类似问题 谢谢

python2.7安装sklearn报错:ImportError: DLL load failed

import sklearn 报错: Traceback (most recent call last): File "<pyshell#3>", line 1, in <module> import sklearn File "D:\Python27\lib\site-packages\scikit_learn-0.15.2-py2.7-win-amd64.egg\sklearn\__init__.py", line 38, in <module> from .base import clone File "D:\Python27\lib\site-packages\scikit_learn-0.15.2-py2.7-win-amd64.egg\sklearn\base.py", line 10, in <module> from scipy import sparse File "D:\Python27\lib\site-packages\scipy\sparse\__init__.py", line 182, in <module> from .csr import * File "D:\Python27\lib\site-packages\scipy\sparse\csr.py", line 15, in <module> from .sparsetools import csr_tocsc, csr_tobsr, csr_count_blocks, \ File "D:\Python27\lib\site-packages\scipy\sparse\sparsetools\__init__.py", line 5, in <module> from .csr import * File "D:\Python27\lib\site-packages\scipy\sparse\sparsetools\csr.py", line 26, in <module> _csr = swig_import_helper() File "D:\Python27\lib\site-packages\scipy\sparse\sparsetools\csr.py", line 22, in swig_import_helper _mod = imp.load_module('_csr', fp, pathname, description) ImportError: DLL load failed: %1 不是有效的 Win32 应用程序。 用的python2.7.9,我已经安装了numpy1.9.1,scipy0.12.0,sklearn0.15.1,这些都是支持64位系统的,遇到这个问题我该怎么办

python的scipy库读取mat文件抛出ValueError?

* 目标 想用python读取Octave保存的变量 * 我的做法 OCtave保存方式: 使用`U=eye(5)`定义了一个变量 再使用`save Ud.mat U`命令保存了变量到文件 python读取方式: ``` import scipy.io as scio d=scio.loadmat("Ud.mat") ``` * 结果 报错如下: ![图片说明](https://img-ask.csdn.net/upload/202003/29/1585490279_288531.png)

python安装matplotlib报错

,安装scipy显示no lapack/blas resources found ,这个该怎么解决?![报错图片](https://img-ask.csdn.net/upload/201606/10/1465554674_381736.png)

windows10系统下,Anaconda 3 (Python3.7),使用pip install方法安装第三方库 jieba以及nltk,出现WARNING: pip is configured with locations that require TLS/SSL, however ?

我是windows10系统,安装了Anaconda3 ( python3.7),(电脑里还有python2.7) 想利用pip install 第三方库 但是报错提示如下。 ``` C:\Users\win>cd C:\Users\win\Anaconda3\Scripts C:\Users\win\Anaconda3\Scripts>pip install jieba WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Collecting jieba WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/jieba/ WARNING: Retrying (Retry(total=3, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/jieba/ WARNING: Retrying (Retry(total=2, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/jieba/ WARNING: Retrying (Retry(total=1, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/jieba/ WARNING: Retrying (Retry(total=0, connect=None, read=None, redirect=None, status=None)) after connection broken by 'SSLError("Can't connect to HTTPS URL because the SSL module is not available.")': /simple/jieba/ Could not fetch URL https://pypi.org/simple/jieba/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/jieba/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping ERROR: Could not find a version that satisfies the requirement jieba (from versions: none) ERROR: No matching distribution found for jieba WARNING: pip is configured with locations that require TLS/SSL, however the ssl module in Python is not available. Could not fetch URL https://pypi.org/simple/pip/: There was a problem confirming the ssl certificate: HTTPSConnectionPool(host='pypi.org', port=443): Max retries exceeded with url: /simple/pip/ (Caused by SSLError("Can't connect to HTTPS URL because the SSL module is not available.")) - skipping ``` 我搜索了这个问题,有回答说要配置环境变量 , 然而配置后并没有用,可能是我操作不对 ![图片说明](https://img-ask.csdn.net/upload/201910/29/1572335749_876553.png) 目前看到一个很靠谱的博客,https://blog.csdn.net/lilongsy/article/details/87436552 但是本人太菜鸡,没看懂 ┭┮﹏┭┮

Python多进程问题的报错问题

小弟想通过多进程实现客户端给服务器发送信息,服务器同时接收多个信息。但是会收到以下报错: OSError: [WinError 10048] 通常每个套接字地址(协议/网络地址/端口)只允许使用一次。 看网上说是进程停止又重启造成的结果 小弟贴下自己的代码,麻烦大家看下 ``` import multiprocessing from socket import import time server_name='172.20.53.211' port_number1=12002 port_number2=12003 def process_one(): server_socket1 = socket(AF_INET, SOCK_DGRAM) server_socket1.bind(('', port_number1)) data_receive1, client_address = server_socket1.recvfrom(1024) server_socket1.close() print(data_receive1,1) def process_two(): server_socket2 = socket(AF_INET, SOCK_DGRAM) server_socket2.bind(('', port_number2)) data_receive2, client_address = server_socket2.recvfrom(1024) server_socket2.close() print(data_receive2,2) p1=multiprocessing.Process(target=process_one()) p1.start() p2=multiprocessing.Process(target=process_two()) p2.start() ``` 以上是服务器端的代码 以下是客户端发送代码 ``` from socket import * import time server_name='172.20.53.211' port_number1=12002 port_number2=12003 client_socket = socket(AF_INET, SOCK_DGRAM) f1=open('1.txt','rb') fcontent=f1.read() client_socket.sendto(fcontent,(server_name, port_number1)) time.sleep(0.2) client_socket.sendto('a'.encode('UTF-8'),(server_name, port_number2)) client_socket.close() ``` 求大佬指出哪里错了,谢谢

cannot import name 'imread' from 'scipy.misc'

问题如标题所示 python版本3.7,已安装numpy+mkl、scipy、pillow库,在安装scipy库之前已,先安装好numpy+mkl库,但还是无法导入imread等命令 ``` Traceback (most recent call last): File "<pyshell#0>", line 1, in <module> from scipy.misc import imread, imsave, imresize ImportError: cannot import name 'imread' from 'scipy.misc' (D:\Program Files (x86)\Python37\lib\site-packages\scipy\misc\__init__.py) ``` 已经从网上找了很多帖子关于此问题,但都未能解决,求各位大大帮忙解决下,感激不尽~~

conda安装librosa报错LinkError: post-link script failed for package conda-forge::qt?

(tensorflow-gpu) C:\Users\AnnJune>conda install -c conda-forge librosa Collecting package metadata: done Solving environment: \ The environment is inconsistent, please check the package plan carefully The following packages are causing the inconsistency: - conda-forge/noarch::librosa==0.6.3=py_0 - conda-forge/win-64::matplotlib==3.1.0=py36_1 - conda-forge/win-64::matplotlib-base==3.1.0=py36h2852a4a_1 - defaults/win-64::numba==0.39.0=py36h830ac7b_0 - conda-forge/win-64::pyqt==5.6.0=py36h764d66f_1008 - conda-forge/noarch::resampy==0.2.1=py_1 - conda-forge/win-64::scikit-learn==0.21.2=py36h0ff8352_0 - defaults/win-64::scipy==1.2.1=py36h29ff71c_0 done ## Package Plan ## environment location: C:\Users\AnnJune\Anaconda3\envs\tensorflow-gpu added / updated specs: - librosa The following packages will be downloaded: package | build ---------------------------|----------------- certifi-2019.3.9 | py36_0 149 KB conda-forge icu-58.1 | vc14_0 11.3 MB conda-forge llvmlite-0.28.0 | py36_0 12.5 MB conda-forge numba-0.43.1 | py36hf9181ef_0 2.8 MB defaults openssl-1.1.1b | hfa6e2cd_2 4.8 MB conda-forge pyqt-5.9.2 | py36h6538335_0 4.3 MB conda-forge qt-5.9.7 | hc6833c9_1 91.1 MB conda-forge sip-4.19.8 |py36h6538335_1000 281 KB conda-forge ------------------------------------------------------------ Total: 127.1 MB The following NEW packages will be INSTALLED: audioread conda-forge/win-64::audioread-2.1.6-py36_0 blas pkgs/main/win-64::blas-1.0-mkl ca-certificates conda-forge/win-64::ca-certificates-2019.3.9-hecc5488_0 cycler conda-forge/noarch::cycler-0.10.0-py_1 decorator conda-forge/noarch::decorator-4.4.0-py_0 freetype conda-forge/win-64::freetype-2.10.0-h5db478b_0 icc_rt pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1 icu conda-forge/win-64::icu-58.1-vc14_0 intel-openmp pkgs/main/win-64::intel-openmp-2019.3-203 joblib conda-forge/noarch::joblib-0.13.2-py_0 jpeg conda-forge/win-64::jpeg-9c-hfa6e2cd_1001 kiwisolver conda-forge/win-64::kiwisolver-1.1.0-py36he980bc4_0 libblas conda-forge/win-64::libblas-3.8.0-10_mkl libcblas conda-forge/win-64::libcblas-3.8.0-10_mkl liblapack conda-forge/win-64::liblapack-3.8.0-10_mkl libpng conda-forge/win-64::libpng-1.6.37-h7602738_0 llvmlite conda-forge/win-64::llvmlite-0.28.0-py36_0 mkl pkgs/main/win-64::mkl-2019.3-203 numpy conda-forge/win-64::numpy-1.16.3-py36h873a0b8_0 openssl conda-forge/win-64::openssl-1.1.1b-hfa6e2cd_2 pyparsing conda-forge/noarch::pyparsing-2.4.0-py_0 python-dateutil conda-forge/noarch::python-dateutil-2.8.0-py_0 qt conda-forge/win-64::qt-5.9.7-hc6833c9_1 sip conda-forge/win-64::sip-4.19.8-py36h6538335_1000 six conda-forge/win-64::six-1.12.0-py36_1000 tornado conda-forge/win-64::tornado-6.0.2-py36hfa6e2cd_0 zlib conda-forge/win-64::zlib-1.2.11-h2fa13f4_1004 The following packages will be UPDATED: numba 0.39.0-py36h830ac7b_0 --> 0.43.1-py36hf9181ef_0 pyqt 5.6.0-py36h764d66f_1008 --> 5.9.2-py36h6538335_0 The following packages will be SUPERSEDED by a higher-priority channel: certifi pkgs/main --> conda-forge Proceed ([y]/n)? y Downloading and Extracting Packages openssl-1.1.1b | 4.8 MB | ############################################################################ | 100% numba-0.43.1 | 2.8 MB | ############################################################################ | 100% pyqt-5.9.2 | 4.3 MB | ############################################################################ | 100% llvmlite-0.28.0 | 12.5 MB | ############################################################################ | 100% qt-5.9.7 | 91.1 MB | ############################################################################ | 100% certifi-2019.3.9 | 149 KB | ############################################################################ | 100% icu-58.1 | 11.3 MB | ############################################################################ | 100% sip-4.19.8 | 281 KB | ############################################################################ | 100% Preparing transaction: done Verifying transaction: done Executing transaction: \ ERROR conda.core.link:_execute_post_link_actions(658): An error occurred while installing package 'conda-forge::qt-5.9.7-hc6833c9_1'. LinkError: post-link script failed for package conda-forge::qt-5.9.7-hc6833c9_1 running your command again with `-v` will provide additional information location of failed script: C:\Users\AnnJune\Anaconda3\envs\tensorflow-gpu\Scripts\.qt-post-link.bat ==> script messages <== <None> Attempting to roll back. failed ERROR conda.core.link:_execute(568): An error occurred while installing package 'conda-forge::qt-5.9.7-hc6833c9_1'. LinkError: post-link script failed for package conda-forge::qt-5.9.7-hc6833c9_1 running your command again with `-v` will provide additional information location of failed script: C:\Users\AnnJune\Anaconda3\envs\tensorflow-gpu\Scripts\.qt-post-link.bat ==> script messages <== <None> Attempting to roll back. Rolling back transaction: done LinkError: post-link script failed for package conda-forge::qt-5.9.7-hc6833c9_1 running your command again with `-v` will provide additional information location of failed script: C:\Users\AnnJune\Anaconda3\envs\tensorflow-gpu\Scripts\.qt-post-link.bat ==> script messages <== <None>

mat打不开,报错zlib.error: Error -3 while decompressing data: invalid literal/length code?请帮帮忙,谢谢

import scipy.io as scio<br> dataFile = './mnist.mat'<br> data = scio.loadmat(dataFile)<br> 报错 ``` File "mio5_utils.pyx", line 675, in scipy.io.matlab.mio5_utils.VarReader5.array_from_header File "mio5_utils.pyx", line 705, in scipy.io.matlab.mio5_utils.VarReader5.array_from_header File "mio5_utils.pyx", line 778, in scipy.io.matlab.mio5_utils.VarReader5.read_real_complex File "mio5_utils.pyx", line 450, in scipy.io.matlab.mio5_utils.VarReader5.read_numeric File "mio5_utils.pyx", line 355, in scipy.io.matlab.mio5_utils.VarReader5.read_element File "streams.pyx", line 195, in scipy.io.matlab.streams.ZlibInputStream.read_string File "streams.pyx", line 171, in scipy.io.matlab.streams.ZlibInputStream.read_into File "streams.pyx", line 158, in scipy.io.matlab.streams.ZlibInputStream._fill_buffer zlib.error: Error -3 while decompressing data: invalid literal/length code ```

矩阵乘法错误 (Python3.7; jupyter notebook 6.0.0; numpy 1.16.4)该怎么办?

本人六年级小学生,很想进军人工智能领域,于是搞了本《Python神经网络编程》来看(图1),安装搭建了jupyter,可是在训练神经网络(更新权重那一步)的时候出了问题,也不只是怎么回事,打了ipdb断点,一查,阵矩大小、形状都没有问题,可是jupyter一直报错矩阵无法相乘,求大神解答(更多信息见正文) ![《Python神经网络编程》](https://img-ask.csdn.net/upload/202001/22/1579668143_1165.jpg) 先贴一下错误信息: > ValueError: matmul: Input operand 1 has a mismatch in its core dimension 0, with gufunc signature (n?,k),(k,m?)->(n?,m?) (size 3 is different from 5) 我百度了一下,这个好像是阵矩1的行与阵矩2的列不相同,我再次断点调试,各种一番捯饬,最后……额还是没找出问题…… 再贴一下诡异的jupyter运行截图: ![运行截图](https://img-ask.csdn.net/upload/202001/22/1579680986_443189.png) 图中可以看到框1是将要执行的语句,但是上一句打了ipdb断点,之后我在断点环境下执行了代码,结果成功了!!!成功了!!!可是我按下c之后就又报错了!!!求教啊,神马蛇皮走位?于是我再把断点去掉,又是同样的报错,放到导出py文件后本地执行也报错,神马情况??? 再贴一下train函数截图: ![图片说明](https://img-ask.csdn.net/upload/202001/22/1579680754_198010.png) 最后附上全部代码,方便大家解答: ```python import numpy import scipy.special # 神经网络 class Network: """神经网络类""" def __init__(self, nodes, l_rate): """神经网络初始化方法""" self.nodes = nodes self.lr = l_rate self.layer_num = len(nodes) self.weight_num = self.layer_num -1 self._init_layers() self._init_weights() self.activ = scipy.special.expit def _init_layers(self): """初始化所有神经层""" self.layers = [None for _ in range(self.layer_num)] for i in range(self.layer_num): # 本层的神经数 node_num = self.nodes[i] # 初始化本层神经,用0填充 self.layers[i] = numpy.zeros((node_num,)).T def _init_weights(self): """初始化所有权重""" self.weights = [None for _ in range(self.weight_num)] for i in range(self.weight_num): # 初始化本层权重,用[1/三√下一层神经数)]的正态分布填充 # 参数:1.正态分布中心 2.[1/(√下一层神经数)] 3.权重阵矩大小 self.weights[i] = numpy.random.normal(0.0, pow(self.nodes[i+1], -0.5), (self.nodes[i+1], self.nodes[i])) def query(self, inputs): """查询神经网络的结果""" assert len(inputs) is self.nodes[0] for i in range(self.layer_num): # 如果第是一遍遍历,将最后一次结果设为输入值 if i is 0: self.layers[0] = numpy.array(inputs, ndmin=2).T continue # 本轮神经计算值 self.layers[i] = self.weights[i - 1] @ self.layers[i - 1] self.layers[i] = self.activ(self.layers[i]) return self.layers[-1] def train(self, inputs, targets): """对神经网络进行训练""" assert len(targets) is self.nodes[-1] last_result = self.query(inputs) for i in reversed(range(self.weight_num)): if i is self.weight_num-1: errors = numpy.array(targets, ndmin=2).T - last_result else: errors = self.weights[i + 1] @ errors import ipdb; ipdb.set_trace() # 问题出在这一行↓↓↓ self.weights[i] += self.lr *((errors * self.layers[i+1] * (1.0 - self.layers[i+1])) @ self.layers[i].T) if __name__ == '__main__': nw = Network((3, 5, 5, 3), 0.01) for _ in range(10000): nw.train([1, 1, 1], [1, 1, 1]) results = nw.query([1, 1, 1]) print(results) ```

import matplotlib.pyplot as plt报错

求助matplotlib ![图片说明](https://img-ask.csdn.net/upload/202004/05/1586077078_243176.png) 我在这里运行import matplotlib.pyplot as plt 测试的代码也能运行出来 但是一到pycharm里就出错 ![图片说明](https://img-ask.csdn.net/upload/202004/05/1586077207_621135.png) 怎么回事呀

求各位大神看一下哪里错了,怎么改。

错误: ValueError: setting an array element with a sequence. import tensorflow as tf import scipy.io as sio import numpy as np import matplotlib.image as mpimg import pickle as cp import matplotlib.pyplot as plt def get_batch(image, label, batch_size, now_batch, total_batch): if now_batch < total_batch-1: image_batch = image[now_batch*batch_size:(now_batch+1)*batch_size] label_batch = label[now_batch*batch_size:(now_batch+1)*batch_size] else: image_batch = image[now_batch*batch_size:] label_batch = label[now_batch*batch_size:] return image_batch,label_batch label_tain = list(sio.loadmat('dataset/corel5k_train_annot.mat')['annot1']) #加载文件 label_test = list(sio.loadmat('dataset/corel5k_test_annot.mat')['annot2']) test_img = [] with open('dataset/corel5k_test_list.txt') as f: for i in f.readlines(): test_img += [mpimg.imread('dataset/%s.jpeg'%i.strip())] cp.dump(test_img,open("test.pkl","wb"))#一种保存列表的方式 train_img = [] with open('dataset/corel5k_train_list.txt') as f: for i in f.readlines(): train_img += [mpimg.imread('dataset/%s.jpeg'%i.strip())] cp.dump(train_img,open("train.pkl","wb")) length=len(train_img) for e in range(1,length+1): train_img[e-1] = tf.image.resize_images(train_img[e-1], [128,192], method=0) train_img[e-1] = tf.image.per_image_standardization(train_img[e-1]) def weight_variable(shape): initial = tf.truncated_normal(shape, stddev=0.1) return tf.Variable(initial) def bias_variable(shape): initial = tf.constant(0.1, shape=shape) return tf.Variable(initial) ########卷积层、池化层接下来重复使用的,分别定义创建函数######## # tf.nn.conv2d是TensorFlow中的2维卷积函数 def conv2d(x, W): return tf.nn.conv2d(x, W, strides=[1, 1, 1, 1], padding='SAME') # 使用2*2的最大池化 def max_pool_2x2(x): return tf.nn.max_pool(x, ksize=[1, 2, 2, 1],strides=[1, 2, 2, 1], padding='SAME') x = tf.placeholder(tf.float32,[None,128,192,3]) y_ = tf.placeholder(tf.float32,[None,260]) W_conv1 = weight_variable([3, 3, 3, 32]) # 用conv2d函数进行卷积操作,加上偏置 b_conv1 = bias_variable([32]) # 把x_image和权值向量进行卷积,加上偏置项,然后应用ReLU激活函数, h_conv1 = tf.nn.relu(conv2d(x, W_conv1) + b_conv1) #tf.global_variables_initializer().run() # 对卷积的输出结果进行池化操作 h_pool1 = max_pool_2x2(h_conv1) image_batch,label_batch = get_batch(train_img, label_train,5,0,9) with tf.Session() as sess: sess.run(tf.global_variables_initializer()) sess.run(h_pool1,feed_dict={x:image_batch,y_:label_batch})

Python 报错: not enough values to unpack (expected 3, got 1),该怎么解决?求大神解决!

![图片说明](https://img-ask.csdn.net/upload/201910/22/1571745918_625213.png)![图片说明](https://img-ask.csdn.net/upload/201910/22/1571745931_336418.png) 代码如下: # -*- coding:utf-8 -*- import numpy as np import pandas as pd from collections import Counter from sklearn import preprocessing import scipy import sys import os path1=os.path.abspath('.') print(path1) name=pd.read_table("genotype.sav",header=0,sep=',') print(name) print(name.columns) for i in name.columns: a,b,c=Counter(name[i]).keys() if a[0]==a[1]: #print(keys[0],keys[1]) name[i].replace(a, 0, inplace=True) name[i].replace(b, 1, inplace=True) name[i].replace(c, 2, inplace=True) elif a[0]!=a[1]: name[i].replace(a, 1, inplace=True) name[i].replace(b, 0, inplace=True) name[i].replace(c, 2, inplace=True) #print(keys) #print(name[i]) name.to_csv('rename.csv') #recode_ID()

无效的ASN.1对象标识符编码错误

<div class="post-text" itemprop="text"> <p>I am trying to create a DER file using encoding/asn1, and I keep getting an invalid Object Identifier runtime error. <code>asn1.ObjectIdentifier</code> is just an []int, so I'm not sure what's invalid.</p> <pre><code>package main import ( "encoding/asn1" "fmt" "log" ) type algorithm struct { Algo asn1.ObjectIdentifier Null asn1.RawValue } func main() { var myCert algorithm myCert.Algo = asn1.ObjectIdentifier{42, 134, 72, 134} myCert.Null = asn1.NullRawValue mdata, err := asn1.Marshal(myCert) if err != nil { log.Fatalln(err) } fmt.Println(mdata) } </code></pre> <p>The program exits with the following error: <em>"asn1: structure error: invalid object identifier"</em></p> <p>Playground example <a href="https://play.golang.org/p/2nMwbJAyPxf" rel="nofollow noreferrer">here</a></p> </div>

在中国程序员是青春饭吗?

今年,我也32了 ,为了不给大家误导,咨询了猎头、圈内好友,以及年过35岁的几位老程序员……舍了老脸去揭人家伤疤……希望能给大家以帮助,记得帮我点赞哦。 目录: 你以为的人生 一次又一次的伤害 猎头界的真相 如何应对互联网行业的「中年危机」 一、你以为的人生 刚入行时,拿着傲人的工资,想着好好干,以为我们的人生是这样的: 等真到了那一天,你会发现,你的人生很可能是这样的: ...

程序员请照顾好自己,周末病魔差点一套带走我。

程序员在一个周末的时间,得了重病,差点当场去世,还好及时挽救回来了。

Java基础知识面试题(2020最新版)

文章目录Java概述何为编程什么是Javajdk1.5之后的三大版本JVM、JRE和JDK的关系什么是跨平台性?原理是什么Java语言有哪些特点什么是字节码?采用字节码的最大好处是什么什么是Java程序的主类?应用程序和小程序的主类有何不同?Java应用程序与小程序之间有那些差别?Java和C++的区别Oracle JDK 和 OpenJDK 的对比基础语法数据类型Java有哪些数据类型switc...

技术大佬:我去,你写的 switch 语句也太老土了吧

昨天早上通过远程的方式 review 了两名新来同事的代码,大部分代码都写得很漂亮,严谨的同时注释也很到位,这令我非常满意。但当我看到他们当中有一个人写的 switch 语句时,还是忍不住破口大骂:“我擦,小王,你丫写的 switch 语句也太老土了吧!” 来看看小王写的代码吧,看完不要骂我装逼啊。 private static String createPlayer(PlayerTypes p...

和黑客斗争的 6 天!

互联网公司工作,很难避免不和黑客们打交道,我呆过的两家互联网公司,几乎每月每天每分钟都有黑客在公司网站上扫描。有的是寻找 Sql 注入的缺口,有的是寻找线上服务器可能存在的漏洞,大部分都...

Intellij IDEA 实用插件安利

1. 前言从2020 年 JVM 生态报告解读 可以看出Intellij IDEA 目前已经稳坐 Java IDE 头把交椅。而且统计得出付费用户已经超过了八成(国外统计)。IDEA 的...

女程序员,为什么比男程序员少???

昨天看到一档综艺节目,讨论了两个话题:(1)中国学生的数学成绩,平均下来看,会比国外好?为什么?(2)男生的数学成绩,平均下来看,会比女生好?为什么?同时,我又联想到了一个技术圈经常讨...

总结了 150 余个神奇网站,你不来瞅瞅吗?

原博客再更新,可能就没了,之后将持续更新本篇博客。

副业收入是我做程序媛的3倍,工作外的B面人生是怎样的?

提到“程序员”,多数人脑海里首先想到的大约是:为人木讷、薪水超高、工作枯燥…… 然而,当离开工作岗位,撕去层层标签,脱下“程序员”这身外套,有的人生动又有趣,马上展现出了完全不同的A/B面人生! 不论是简单的爱好,还是正经的副业,他们都干得同样出色。偶尔,还能和程序员的特质结合,产生奇妙的“化学反应”。 @Charlotte:平日素颜示人,周末美妆博主 大家都以为程序媛也个个不修边幅,但我们也许...

MySQL数据库面试题(2020最新版)

文章目录数据库基础知识为什么要使用数据库什么是SQL?什么是MySQL?数据库三大范式是什么mysql有关权限的表都有哪几个MySQL的binlog有有几种录入格式?分别有什么区别?数据类型mysql有哪些数据类型引擎MySQL存储引擎MyISAM与InnoDB区别MyISAM索引与InnoDB索引的区别?InnoDB引擎的4大特性存储引擎选择索引什么是索引?索引有哪些优缺点?索引使用场景(重点)...

如果你是老板,你会不会踢了这样的员工?

有个好朋友ZS,是技术总监,昨天问我:“有一个老下属,跟了我很多年,做事勤勤恳恳,主动性也很好。但随着公司的发展,他的进步速度,跟不上团队的步伐了,有点...

我入职阿里后,才知道原来简历这么写

私下里,有不少读者问我:“二哥,如何才能写出一份专业的技术简历呢?我总感觉自己写的简历太烂了,所以投了无数份,都石沉大海了。”说实话,我自己好多年没有写过简历了,但我认识的一个同行,他在阿里,给我说了一些他当年写简历的方法论,我感觉太牛逼了,实在是忍不住,就分享了出来,希望能够帮助到你。 01、简历的本质 作为简历的撰写者,你必须要搞清楚一点,简历的本质是什么,它就是为了来销售你的价值主张的。往深...

魂迁光刻,梦绕芯片,中芯国际终获ASML大型光刻机

据羊城晚报报道,近日中芯国际从荷兰进口的一台大型光刻机,顺利通过深圳出口加工区场站两道闸口进入厂区,中芯国际发表公告称该光刻机并非此前盛传的EUV光刻机,主要用于企业复工复产后的生产线扩容。 我们知道EUV主要用于7nm及以下制程的芯片制造,光刻机作为集成电路制造中最关键的设备,对芯片制作工艺有着决定性的影响,被誉为“超精密制造技术皇冠上的明珠”,根据之前中芯国际的公报,目...

优雅的替换if-else语句

场景 日常开发,if-else语句写的不少吧??当逻辑分支非常多的时候,if-else套了一层又一层,虽然业务功能倒是实现了,但是看起来是真的很不优雅,尤其是对于我这种有强迫症的程序"猿",看到这么多if-else,脑袋瓜子就嗡嗡的,总想着解锁新姿势:干掉过多的if-else!!!本文将介绍三板斧手段: 优先判断条件,条件不满足的,逻辑及时中断返回; 采用策略模式+工厂模式; 结合注解,锦...

离职半年了,老东家又发 offer,回不回?

有小伙伴问松哥这个问题,他在上海某公司,在离职了几个月后,前公司的领导联系到他,希望他能够返聘回去,他很纠结要不要回去? 俗话说好马不吃回头草,但是这个小伙伴既然感到纠结了,我觉得至少说明了两个问题:1.曾经的公司还不错;2.现在的日子也不是很如意。否则应该就不会纠结了。 老实说,松哥之前也有过类似的经历,今天就来和小伙伴们聊聊回头草到底吃不吃。 首先一个基本观点,就是离职了也没必要和老东家弄的苦...

2020阿里全球数学大赛:3万名高手、4道题、2天2夜未交卷

阿里巴巴全球数学竞赛( Alibaba Global Mathematics Competition)由马云发起,由中国科学技术协会、阿里巴巴基金会、阿里巴巴达摩院共同举办。大赛不设报名门槛,全世界爱好数学的人都可参与,不论是否出身数学专业、是否投身数学研究。 2020年阿里巴巴达摩院邀请北京大学、剑桥大学、浙江大学等高校的顶尖数学教师组建了出题组。中科院院士、美国艺术与科学院院士、北京国际数学...

为什么你不想学习?只想玩?人是如何一步一步废掉的

不知道是不是只有我这样子,还是你们也有过类似的经历。 上学的时候总有很多光辉历史,学年名列前茅,或者单科目大佬,但是虽然慢慢地长大了,你开始懈怠了,开始废掉了。。。 什么?你说不知道具体的情况是怎么样的? 我来告诉你: 你常常潜意识里或者心理觉得,自己真正的生活或者奋斗还没有开始。总是幻想着自己还拥有大把时间,还有无限的可能,自己还能逆风翻盘,只不是自己还没开始罢了,自己以后肯定会变得特别厉害...

男生更看重女生的身材脸蛋,还是思想?

往往,我们看不进去大段大段的逻辑。深刻的哲理,往往短而精悍,一阵见血。问:产品经理挺漂亮的,有点心动,但不知道合不合得来。男生更看重女生的身材脸蛋,还是...

为什么程序员做外包会被瞧不起?

二哥,有个事想询问下您的意见,您觉得应届生值得去外包吗?公司虽然挺大的,中xx,但待遇感觉挺低,马上要报到,挺纠结的。

当HR压你价,说你只值7K,你该怎么回答?

当HR压你价,说你只值7K时,你可以流畅地回答,记住,是流畅,不能犹豫。 礼貌地说:“7K是吗?了解了。嗯~其实我对贵司的面试官印象很好。只不过,现在我的手头上已经有一份11K的offer。来面试,主要也是自己对贵司挺有兴趣的,所以过来看看……”(未完) 这段话主要是陪HR互诈的同时,从公司兴趣,公司职员印象上,都给予对方正面的肯定,既能提升HR的好感度,又能让谈判气氛融洽,为后面的发挥留足空间。...

面试:第十六章:Java中级开发

HashMap底层实现原理,红黑树,B+树,B树的结构原理 Spring的AOP和IOC是什么?它们常见的使用场景有哪些?Spring事务,事务的属性,传播行为,数据库隔离级别 Spring和SpringMVC,MyBatis以及SpringBoot的注解分别有哪些?SpringMVC的工作原理,SpringBoot框架的优点,MyBatis框架的优点 SpringCould组件有哪些,他们...

面试阿里p7,被按在地上摩擦,鬼知道我经历了什么?

面试阿里p7被问到的问题(当时我只知道第一个):@Conditional是做什么的?@Conditional多个条件是什么逻辑关系?条件判断在什么时候执...

Python爬虫,高清美图我全都要(彼岸桌面壁纸)

爬取彼岸桌面网站较为简单,用到了requests、lxml、Beautiful Soup4

差点跪了...

最近微信又搞出了一个大利器,甚至都上了热搜,当然消息最敏捷的自媒体人,纷纷都开通了自己的视频号。01 视频号是什么呢?视频号是微信体系内的短视频,它不同...

面试了一个 31 岁程序员,让我有所触动,30岁以上的程序员该何去何从?

最近面试了一个31岁8年经验的程序猿,让我有点感慨,大龄程序猿该何去何从。

Vue回炉重造之router路由(更新中)

你好,我是Vam的金豆之路,可以叫我豆哥。2019年年度博客之星、技术领域博客专家。主要领域:前端开发。我的微信是 maomin9761,有什么疑问可以加我哦,自己创建了一个微信技术交流群,可以加我邀请你一起交流学习。最后自己也创建了一个微信公众号,里面的文章是我自己精挑细选的文章,主要介绍各种IT新技术。欢迎关注哦,微信搜索:臻美IT,等你来。 欢迎阅读本博文,本博文主要讲述【】,文字通...

大三实习生,字节跳动面经分享,已拿Offer

说实话,自己的算法,我一个不会,太难了吧

程序员垃圾简历长什么样?

已经连续五年参加大厂校招、社招的技术面试工作,简历看的不下于万份 这篇文章会用实例告诉你,什么是差的程序员简历! 疫情快要结束了,各个公司也都开始春招了,作为即将红遍大江南北的新晋UP主,那当然要为小伙伴们做点事(手动狗头)。 就在公众号里公开征简历,义务帮大家看,并一一点评。《启舰:春招在即,义务帮大家看看简历吧》 一石激起千层浪,三天收到两百多封简历。 花光了两个星期的所有空闲时...

Java岗开发3年,公司临时抽查算法,离职后这几题我记一辈子

前几天我们公司做了一件蠢事,非常非常愚蠢的事情。我原以为从学校出来之后,除了找工作有测试外,不会有任何与考试有关的事儿。 但是,天有不测风云,公司技术总监、人事总监两位大佬突然降临到我们事业线,叫上我老大,给我们组织了一场别开生面的“考试”。 那是一个风和日丽的下午,我翘着二郎腿,左手端着一杯卡布奇诺,右手抓着我的罗技鼠标,滚动着轮轴,穿梭在头条热点之间。 “淡黄的长裙~蓬松的头发...

大胆预测下未来5年的Web开发

在2019年的ReactiveConf 上,《Elm in Action》的作者Richard Feldman对未来5年Web开发的发展做了预测,很有意思,分享给大家。如果你有机会从头...

立即提问
相关内容推荐