This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="utf-8"?> | |
<configuration> | |
<configSections> | |
<!-- For more information on Entity Framework configuration, visit http://go.microsoft.com/fwlink/?LinkID=237468 --> | |
<section name="entityFramework" type="System.Data.Entity.Internal.ConfigFile.EntityFrameworkSection, EntityFramework, Version=6.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false" /> | |
</configSections> | |
<entityFramework> | |
<defaultConnectionFactory type="System.Data.Entity.Infrastructure.LocalDbConnectionFactory, EntityFramework"> | |
<parameters> | |
<parameter value="v11.0" /> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
CollectionSentenceIterator collectionSentenceIterator = new CollectionSentenceIterator(smsPreprocessor, inputLines); | |
InMemoryLookupCache cache = new InMemoryLookupCache(); | |
WeightLookupTable table = new InMemoryLookupTable.Builder() | |
.vectorLength(25) | |
.useAdaGrad(false) | |
.cache(cache) | |
.lr(0.025f).build(); | |
Word2Vec word2VecModel = new Word2Vec.Builder() | |
.minWordFrequency(5).iterations(3) |