-
Notifications
You must be signed in to change notification settings - Fork 6
/
weibull.py
53 lines (34 loc) · 909 Bytes
/
weibull.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
# -*- coding: utf-8 -*-
# @author: Longxing Tan, tanlongxing888@163.com
# @date: 2019-05
# This script is to define the core weibull
# https://github.com/slightlynybbled/weibull/blob/master/weibull/weibull.py
# https://github.com/MatthewReid854/reliability
import logging
import numpy as np
import pandas as pd
from scipy import stats
import matplotlib.pyplot as plt
from sklearn import linear_model
logger = logging.getLogger(__name__)
logging.basicConfig(level=logging.WARN)
def transform_x():
# detailed explanation about did like this, please refer to the docs
pass
def transform_y():
pass
def inverse_transform_y():
pass
class Weibull(object):
def __init__(self):
pass
def train(self):
pass
def predict(self):
pass
def predict_calendar(self):
pass
def plot(self):
pass
def _confidence(self):
pass