Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/lawlite19/MachineLearning_Python
/ plot_data_2d
Function
plot_data_2d
PCA/PCA.py:75–77 ·
view source on GitHub ↗
(X,marker)
Source
from the content-addressed store, hash-verified
73
74
# 可视化二维数据
75
def
plot_data_2d(X,marker):
76
plt.plot(X[:,0],X[:,1],marker)
77
return
plt
78
79
# 归一化数据
80
def
featureNormalize(X):
Callers
1
PCA_2D
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected