Questions tagged [smile]

Smile is a fast and comprehensive machine learning system for using in Java, Scala or any other JVM languages. Smile supports many machine learning techniques, including classification, regression, clustering, association rule mining, feature selection, manifold learning, genetic algorithm, missing value imputation, nearest neighbor search, etc as well as natural language processing and common math and stat operations.

Smile is a fast and comprehensive machine learning system for using in Java, Scala or any other JVM languages. Smile supports many machine learning techniques, including classification, regression, clustering, association rule mining, feature selection, multidimensional scaling, manifold learning, genetic algorithm, missing value imputation, nearest neighbor search, etc. as well as natural language processing and common math and stat operations.

See https://haifengl.github.io/smile/ for the complete list of supported algorithms.

Smile is open source, Apache License 2.0, and the source code is available on Github: https://github.com/haifengl/smile.

Any question on the usage of Smile library or issues faced in integrating Smile etc can use the Smile tag.

You can check the Smile FAQ: https://haifengl.github.io/smile/faq.html.

25 questions
0
votes
1 answer

SMILE xmeans gave wrong clustering

I am testing xmeans clustering with this 2 dimensional array and smile-core 2.4.0. import smile.clustering.xmeans val arrData = Array(Array(0.0,0,0), Array(0.0,0,0), Array(0,0.0,0), Array(0,0,0.0), Array(0,0,0.0), Array(100,100.0,100), …
davidzxc574
  • 471
  • 1
  • 8
  • 21
0
votes
1 answer

How to create clusters with equal sizes

I have a big array of data. I want to create clusters with equal sizes, no matter what quantity of clusters is. I use SMILE library for this. What clustering method should I use or how can I implement clustering with equal sizes of clusters.
Nane Petrosyan
  • 553
  • 1
  • 7
  • 19
0
votes
1 answer

How can I SET a value on a tech.tablesaw.api.Table?

I have a tech.tablesaw.api.Table that got filled by SQL Result Set. But I want to overwrite one of the columns with other values before running SMILE (the setValue method below doesn't exist, but I'm looking for something like that). Is the Table…
fandang
  • 605
  • 1
  • 6
  • 14
0
votes
3 answers

How to get the optimal cluster number using the elbow method for java?

I use haifengl/smile and I need to get the optimal cluster number. I am using CLARANS where I need to specify the number of clusters to create. I think maybe there is some solution to sort out for example from 2 to 10 clusters, see the best result…
tambovflow
  • 153
  • 1
  • 1
  • 7
0
votes
1 answer

How to fix smile NeuralNetwork for regression which outputs always the same prediction

I am using the smile library for training a neural network for a simple nonlinear regression problem. For every input I get the same prediction. Maybe I am doing something wrong with the construction of the neural network. Could you maybe suggest…
Ana Smile
  • 131
  • 1
  • 9
0
votes
0 answers

Import pysmile_license

I am using pysmile in Python 2.7. When I run the .py file for the first time I need to import the library and the license that SMILE needs. The first time it runs okay. But after that, it says that the license has been already initialized and I…
0
votes
1 answer

Do using Smile library over H2O is good idea on the scale of performances?

Walkthrough of Smile performance as compared to H2O. Smile - Statistical Machine Intelligence and Learning Engine. I Want to use Smile library for Constructing Pipeline using word2vec model.
roshan_ray
  • 197
  • 1
  • 1
  • 9
0
votes
1 answer

How to prevent html code from being written to the "database"?

The working principle of my code is the following: if in the input line there are have such smileys (":)", ":(") then you need to replace them with pictures. Here's how I do it: $smile = array(":)", ":("); $grafic = array("
Tick-Tack
  • 213
  • 2
  • 20
0
votes
0 answers

SMILE link error with Visual Studio 2010

I am working with an older version of a C++ SMILE library for Bayesian analysis that was freely available before they started selling it. I have no idea what compiler was used to create the libraries, but all I have are the headers and lib files. I…
ScoJay
  • 19
  • 7
-1
votes
1 answer

Unresolved imports in 'Smile' machine learning library

The following import does not resolve. import smile.data.{Attribute, AttributeDataset, NumericAttribute} Any idea on this if those attributes were removed from new Smile version 3.0.0 ? I am using Scala 2.13.10. How to translate the following code…
PainPoints
  • 461
  • 8
  • 20
1
2