File size: 729 Bytes
7f50cd1
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
The regression fitting routine is adapted from AllenAI SciRepEval:
https://github.com/allenai/scirepeval/blob/e04594e6401cb68fb4ddf6daa801fb219cccc0bb/evaluation/evaluator.py

The upstream Apache 2.0 licence is included as LICENSE-scirepeval.md.
The routine's docstring identifies the changes. It uses the scikit-learn fallback
already present in that upstream version. Cross-validation is serial; its
estimator, C grid, three folds, default R-squared selection, and seed are retained.

TF-IDF uses the installed scikit-learn 1.5.2 implementation with its documented
defaults. Its BSD licence is included as LICENSE-scikit-learn.txt for reference.
No scikit-learn implementation files or pretrained model assets are copied here.