Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

04 sentence classifier experimentation #12

Merged
merged 5 commits into from
Jul 6, 2021
Merged

Conversation

lizgzil
Copy link
Contributor

@lizgzil lizgzil commented Jun 30, 2021


Addressing #4

  • Experiment with a classifier to say whether a sentence contains a skill or not
  • Experiment with using the ESCO skills extractions to train a NER model (window_char_len = 50, n JDs = 10000, 25917 training data of sentences with skill entities in, test results: 'SKILL': 0.866)

Best result:

I think the best results are between experiments 3 and 7. Although 3 has a better recall of the positive class, I think I will take forward the parameters in experiment 7 since they are only slightly worse in the recall of the positive class, and much better in the recall of the negative class.

Experiment number Recall of the positive class Recall of the negative class
3 0.85 0.84
7 0.83 0.93

Makefile Outdated
@@ -11,7 +11,7 @@ endif
PROFILE = default
# Import env variables
include .env.shared
include .env
# include .env
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@bishax When this wasn't commented out if I did make conda-create I would get the error

Makefile:14: .env: No such file or directory
make: *** No rule to make target `.env'.  Stop

With it commented out things worked as I expected.
Is there a work around this/should I not be building the virtualenv this way?

Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's a bug in the cookiecutter that has since been fixed. Fix is to add this line...

https://github.com/nestauk/ds-cookiecutter/blob/7e06b34f99b8f80390fe150e6114a80cacafcb0e/%7B%7B%20cookiecutter.repo_name%20%7D%7D/Makefile#L19


It happens because .env is git ignored and so doesn't exist when a cookiecutter is cloned by someone else.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah ha! Thanks so much, I'll add that instead of commenting out

@lizgzil lizgzil merged commit 27f7bc3 into dev Jul 6, 2021
@lizgzil lizgzil deleted the 04_sentence_classifier branch July 6, 2021 09:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants