| Branch | Description |
|---|---|
main |
Baseline Fuzzy-Neural CF with pipeline and hyperparameter tuning |
gaussian_fuzzy_cf_v2 |
Improved Gaussian membership Fuzzy CF with Huber loss and deeper architecture |
This repository implements the Fuzzy Neural Collaborative Filtering (Fuzzy-Neural CF) model inspired by the 2024 study, combining fuzzy logic and neural collaborative filtering to enhance recommendation accuracy.
This work reimplements the Fuzzy-Neural CF method using the MovieLens 100K dataset.
It fuses four fuzzy membership degrees β positive (ΞΌ), neutral (Ξ·), negative (Ξ½), and refusal (Ο) β into a neural network that learns nonlinear relationships for userβitem preference prediction.
fuzzy_neural_cf/ βββ data/ βββ src/ β βββ preprocessing/ β βββ models/ β βββ utils/ βββ results/ βββ notebooks/
# Clone the repo
git clone https://github.com/<your-username>/fuzzy_neural_cf.git
cd fuzzy_neural_cf
# Install dependencies using uv
uv sync
π Training Pipeline
python src/preprocessing/build_preference_matrices.py
python src/models/train_bemf.py
python src/models/compute_memberships.py
python src/models/fuzzy_cf.py