Metadata-Version: 2.3
Name: crospint
Version: 0.1.4
Summary: Coordinate Rotation for Spatial Interpolation
Author: Olivier Meslin
Author-email: Olivier Meslin <olivier.meslin@insee.fr>
Requires-Dist: lightgbm>=4.6.0
Requires-Dist: matplotlib>=3.10.8
Requires-Dist: pandas>=2.3.0
Requires-Dist: polars>=1.33.1
Requires-Dist: pyarrow>=23.0.1
Requires-Dist: scikit-learn==1.7.2
Requires-Python: >=3.12
Description-Content-Type: text/markdown

#  `crospint`: Coordinate Rotation for Spatial Interpolation

This package provides lightweight utilities and `scikit-learn`-compatible transformers to build efficient **machine learning pipelines for spatio-temporal interpolation** with tree-based ensemble methods. This package also contains functions and classes uses to model housing prices at the national scale (see Meslin [2026]).

This package has three distinctive features:

- It offers a native `sklearn.Pipeline` integration;
- It uses [`polars`](https://pola.rs/) for fast feature engineering but is also fully [`pandas`](https://pandas.pydata.org/)-compatible to simplify use with other ML libraries;
- It is agnostic to the algorithms used for interpolation (though is uses [`lightgbm`](https://lightgbm.readthedocs.io/en/stable/) by default).

This package also contains functions and classes uses to model housing prices at the national scale (see Meslin [2026]).

## Installation

Just execute `uv add crospint` or `pip install crospint`.

## Basic use

To be completed

# Notebooks

Two notebooks illustrate the valuation method describe in Meslin [2026]:

- How to apply the conditional tail removal procedure [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/oliviermeslin/crospint/blob/improve_readme/notebooks/outlier_removal_through_CTR.ipynb)

- How to train price models at the national scale [![Open in Colab](https://colab.research.google.com/assets/colab-badge.svg)](https://colab.research.google.com/github/oliviermeslin/crospint/blob/improve_readme/notebooks/model_training_and_evaluation.ipynb)


