Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Hourout/linora

Folders and files

NameName
Last commit message
Last commit date

Latest commit

History

1,174 Commits

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

AltStyle によって変換されたページ (->オリジナル) /