lexpredict-lexnlp
lexpredict-lexnlp copied to clipboard
ValueError - sections.get_sections()
Encountering a ValueError when running get_sections()
Specifically:
Number of features of the model must match the input
Number Features in Test: 313 Features in Model: 369
It seems not all the same features are being captured within build_section_break_features()?
@dmnxprss , thanks for reporting this. Few quick questions:
- Can you share the version you're using for
lexnlp
? - Have you customized any models?
- Have you used
virtualenv
/conda
and/or a global python installation to install?
- V 2.0 (Aug Release)
- No customization of any models
- Global Python 3.6 install
@dmnxprss , had you previously installed an earlier version of LexNLP?
Yes, I believe I previously had 1.8 installed
I am encountering precisely the same error: v0.2.3 No customization Conda environment - Python 3.6.6
~~Possibly also of relevance is the following warning: "UserWarning: Trying to unpickle estimator DecisionTreeClassifier from version 0.19.0 when using version 0.19.1. This might lead to breaking code or invalid results. Use at your own risk."~~
Hi All, Checking in to see if there has been a resolution to this bug?
Thank You
Hey Guys,
Just following up here? Is there a new section_segmenter.pickle file we could use which has been trained on 313 features to allow us to use get_sections() function?
Thanks