semvec/pypi-packages huggingface dataset:
maize 0.4.0
一个强大易用的爬虫框架
License: MIT
Requires Python: <3.14,>=3.10

<div align="center">
  <img src="docs/assets/logo.svg" alt="Logo" width="200" height="200">
</div>

# maize

[![codecov](https://codecov.io/gh/seehar/maize/graph/badge.svg?token=ZG5ESDLPX6)](https://codecov.io/gh/seehar/maize)
![](https://img.shields.io/github/watchers/seehar/maize?style=social)
![](https://img.shields.io/github/stars/seehar/maize?style=social)
![](https://img.shields.io/github/forks/seehar/maize?style=social)
[![Downloads](https://pepy.tech/badge/maize)](https://pepy.tech/project/maize)
[![Downloads](https://pepy.tech/badge/maize/month)](https://pepy.tech/project/maize)
[![Downloads](https://pepy.tech/badge/maize/week)](https://pepy.tech/project/maize)

> 一个 Python 爬虫框架

### 安装

```shell
pip install maize
```

### 开发

安装预提交钩子

```shell
pre-commit install
```

代码覆盖率

```shell
pytest --cov=./maize --cov-report=html
```
gaussianprocessderivatives 0.1.68
Uses Gaussian processes to smooth data and estimate first- and second-order derivatives
License: MIT
Requires Python: <3.12,>=3.8
Keywords: gaussian process, derivative

A Python package for smoothing data and estimating first- and second-order derivatives and their errors.

Covariance functions can either be linear, squared exponential, neural network-like, or squared exponential with a linear trend.

An example workflow to smooth data (x, y), where the columns of y are replicates, is

>>> import gaussian process as gp
>>> g= gp.maternGP({0: (-4, 4), 1: (-4, 4), 2: (-4, -2)}, x, y)

The dictionary sets bounds on the hyperparameters, so that 0: (-4, 4) means that the bounds on the first hyperparameter are 1e-4 and 1e4.

>>> g.info()

explains what each hyperparameter does.

Once g is instantiated,

>>> g.findhyperparameters()
>>> g.results()
>>> g.predict(x, derivs= 2)

optimises the hyperparameters and determines a smoothed version of the data and estimates the derivatives.

The results can be visualised by

>>> import matplotlib.pylab as plt
>>> plt.figure()
>>> plt.subplot(2,1,1)
>>> g.sketch('.')
>>> plt.subplot(2,1,2)
>>> g.sketch('.', derivs= 1)
>>> plt.show()

and are available as g.f and g.fvar (smoothed data and error), g.df and g.dfvar (estimate of dy/dx), and g.ddf and g.ddfvar (estimate of d2y/dx2).