Comments (3)
Для себя проблему решил скопировав файлы из репозитория и прописав нужный мне KFoldSplitter в rectools/model_selection/__init__.py
файле:
Изначально там был только TimeRangeSplitter
"""
Model selection tools (:mod:`rectools.model_selection`)
=======================================================
Instruments to validate and compare models.
Splitters
---------
`model_selection.TimeRangeSplit` - split interactions by time
"""
from .time_split import TimeRangeSplitter
from .kfold_split import KFoldSplitter
__all__ = ("TimeRangeSplitter", "KFoldSplitter")
from rectools.
В общем если это баг, то готов добавить все оставшиеся сплиттеры и сделать PR.
from rectools.
Это не баг, дело в том, что еще не было релиза с этими сплиттерами, поэтому при установки из PyPI, этого функционала нет. Можно установить напрямую из Github, тогда все будет работать
from rectools.
Related Issues (12)
- Windows + python=3.9 is not supported HOT 2
- np.setdiff1d is too slow HOT 1
- Не работают обертки для ряда моделей HOT 1
- AttributeError: 'IntegerArray' object has no attribute 'size'
- rectools.metrics.calc_metrics method does not work HOT 1
- does not work rectools.metrics.ranking.MAP HOT 2
- errore install [all] HOT 1
- `cross-validate` function HOT 1
- Visual analysis
- Community guidlines HOT 1
- Update `pandas` and `torch` versions
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rectools.