/linora

Simple and efficient tools for data science.

Primary LanguageJupyter NotebookApache License 2.0Apache-2.0

PyPI version Github license PyPI PyPI format contributors downloads

Linora is a simple and efficient tools for data mining and data analysis.

| API Document | 中文介绍 |

Installation

To install this verson from PyPI, type:

pip install linora

To get the newest one from this repo (note that we are in the alpha stage, so there may be frequent updates), type:

pip install git+git://github.com/Hourout/linora.git

Feature

  • metrics
  • metrics charts
  • feature columns
  • feature selection
  • image augmentation
  • text processing
  • model param search
  • sample splits

Example

more example

import linora as la

# plot ks curve
label = [1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 0, 1, 1, 0, 0, 1, 0, 1, 0, 1, 1, 0, 0, 0, 1, 1, 0, 1, 1]
label_prob = [0.8, 0.4, 0.2, 0.5, 0.9, 0.2, 0.8, 0.6, 0.1, 0.3, 0.8, 0.3, 0.9, 0.2, 0.84, 
              0.2, 0.5, 0.23, 0.83, 0.71, 0.34, 0.3, 0.2, 0.7, 0.2, 0.8, 0.3, 0.59, 0.26, 0.16, 0.13, 0.8]
la.chart.ks_curve(label, label_prob)

Contact

Please contact me if you have any related questions or improvements.

WeChat