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

Spec-ifying ngram similarity tests #299

Merged
merged 4 commits into from
Apr 20, 2019
Merged

Spec-ifying ngram similarity tests #299

merged 4 commits into from
Apr 20, 2019

Conversation

snabar
Copy link
Contributor

@snabar snabar commented Apr 19, 2019

Converting NGramSimilarityTest to use OpTransformerSpec

@codecov
Copy link

codecov bot commented Apr 19, 2019

Codecov Report

Merging #299 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff            @@
##           master     #299    +/-   ##
========================================
  Coverage   86.42%   86.42%            
========================================
  Files         322      322            
  Lines       10570    10570            
  Branches      350      572   +222     
========================================
  Hits         9135     9135            
  Misses       1435     1435

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3ac0a50...bd944e3. Read the comment docs.

)

val(dsText, f1Text, f2Text) = TestFeatureBuilder(
class TextNGramSimilarityTest extends OpTransformerSpec[RealNN, NGramSimilarity[Text]]{
Copy link
Collaborator

Choose a reason for hiding this comment

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

why not use the correct type here?

class TextNGramSimilarityTest extends OpTransformerSpec[RealNN, TextNGramSimilarity]

and the same for the other test

@tovbinm tovbinm merged commit 4773967 into master Apr 20, 2019
@tovbinm tovbinm deleted the NGramSimilarityTest branch April 20, 2019 14:55
@Jauntbox Jauntbox mentioned this pull request May 2, 2019
@salesforce-cla
Copy link

salesforce-cla bot commented Mar 1, 2021

Thanks for the contribution! It looks like @snabar is an internal user so signing the CLA is not required. However, we need to confirm this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants