Skip to content

Hourout/linora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PyPI version Github license PyPI PyPI format contributors downloads Documentation

Linora is a simple and efficient data mining and data analysis tool that allows you to do related data mining tasks without using sklearn to the maximum extent. It is perfectly compatible with pandas and runs faster and saves memory compared to sklearn.

| API Document | 中文介绍 |

Installation

To install this verson from PyPI, type:

pip install linora -U

To get the newest one from this repo (note there may be frequent updates), type:

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

Feature

  • metrics
  • metrics charts
  • feature columns module
  • feature selection module
  • image augmentation
  • text processing
  • model param search
  • sample
  • parallel
  • logger
  • config
  • progbar
  • schedulers

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