Machine Learning Toolbox

2018.01.03

ML_Toolbox

尝试自己造一个轮子,封装出一个常用的机器学习相关工具的库
目前在写可视化,会用到 bokeh 和 polty

Visualization

From bokeh

Example

Visualization

from ML_Toolbox import vis
x = [0.1, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0]
y = [i**4 for i in x]

chart = vis.Line(x,y)
chart.x_label = "testx"
chart.y_label = "testy"
chart.show()

Line graph

from ML_Toolbox import vis
x1 = list(range(150))
y1 = [i**2 for i in x]
x2 = list(range(150))
y2 = [i**1.5 for i in x]

chart = vis.Dot(x,y,x,[i**1.5 for i in y])
chart.label1 = "testx"
chart.label2 = "testy"
chart.title: "test"
chart.show()

Dot graph

评论