- Timestamp:
- 07/15/17 14:19:44 (7 years ago)
- Location:
- branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem.Common/3.3
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem.Common/3.3
- Property svn:ignore
-
old new 2 2 bin 3 3 obj 4 *.user
-
- Property svn:ignore
-
branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem.Common/3.3/KnowledgeCenter.cs
r14776 r15255 244 244 tsneFeatures[key2Idx.GetByFirst(instance.Key)] = new DoubleArray(instance.Value); 245 245 } 246 var tsne = new TSNE<DoubleArray>(new EuclidianDistance(), new FastRandom(42), stopLyingIter: 0, momSwitchIter: 0, momentum: 0, finalMomentum: 0, eta: 10);247 var tsneCoords = tsne.Run(tsneFeatures, 2, Math.Min((instances.Count - 1) / 4, 50), 0);248 //var tsneCoords = TSNE<DoubleArray>.Run(tsneFeatures, 2, Math.Min((instances.Count - 1) / 4, 50), 0, euclidDArray, new FastRandom(42));246 var tsneCoords = TSNEStatic<DoubleArray>.Run(tsneFeatures, new EuclideanDistance(), new FastRandom(42), 247 newDimensions: 2, perplexity: Math.Min((instances.Count - 1) / 4, 50), theta: 0, 248 stopLyingIter: 0, momSwitchIter: 0, momentum: 0, finalMomentum: 0, eta: 10); 249 249 #endregion 250 250 -
branches/PerformanceComparison/HeuristicLab.OptimizationExpertSystem.Common/3.3/Recommenders/KNearestNeighborRecommender.cs
r13878 r15255 37 37 } 38 38 39 public int K { 40 get { return KParameter.Value.Value; } 41 set { KParameter.Value.Value = value; } 42 } 43 39 44 [StorableConstructor] 40 45 private KNearestNeighborRecommender(bool deserializing) : base(deserializing) { }
Note: See TracChangeset
for help on using the changeset viewer.