A toolbox for machine learning and data processing
Project description
# ML_Toolbox
![](https://img.shields.io/badge/language-python3.6-5FA8E7.svg?style=flat-square)
[![](https://img.shields.io/badge/codebeat-A-brightgreen.svg?style=flat-square)](https://codebeat.co/projects/github-com-fredliang44-ml_toolbox-master)
## Visualization
From [bokeh](https://bokeh.pydata.org)
## Install
``` bash
pip3 install fred_toolbox
```
## Example
### Visualization
```python
from fred_toolbox import vis as v
x = [0.1, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0]
y = [i**4 for i in x]
chart = v.Line(x,y)
chart.x_label = "testx"
chart.y_label = "testy"
chart.show()
```
![Line graph](https://img.l-do.cn/line.png-github)
```python
from fred_toolbox import vis as v
x1 = list(range(150))
y1 = [i**2 for i in x]
x2 = list(range(150))
y2 = [i**1.5 for i in x]
chart = v.Dot(x,y,x,[i**1.5 for i in y])
chart.label1 = "testx"
chart.label2 = "testy"
chart.title = "test"
chart.show()
```
![Dot graph](https://img.l-do.cn/dot.png-github)
![](https://img.shields.io/badge/language-python3.6-5FA8E7.svg?style=flat-square)
[![](https://img.shields.io/badge/codebeat-A-brightgreen.svg?style=flat-square)](https://codebeat.co/projects/github-com-fredliang44-ml_toolbox-master)
## Visualization
From [bokeh](https://bokeh.pydata.org)
## Install
``` bash
pip3 install fred_toolbox
```
## Example
### Visualization
```python
from fred_toolbox import vis as v
x = [0.1, 0.5, 1.0, 1.5, 2.0, 2.5, 3.0]
y = [i**4 for i in x]
chart = v.Line(x,y)
chart.x_label = "testx"
chart.y_label = "testy"
chart.show()
```
![Line graph](https://img.l-do.cn/line.png-github)
```python
from fred_toolbox import vis as v
x1 = list(range(150))
y1 = [i**2 for i in x]
x2 = list(range(150))
y2 = [i**1.5 for i in x]
chart = v.Dot(x,y,x,[i**1.5 for i in y])
chart.label1 = "testx"
chart.label2 = "testy"
chart.title = "test"
chart.show()
```
![Dot graph](https://img.l-do.cn/dot.png-github)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
fred_toolbox-0.1.1.tar.gz
(1.5 kB
view hashes)