Java is an object-oriented language and runtime environment (JRE). Java programs are compiled to bytecode and run in a virtual machine (JVM).

learn more… | top users | synonyms

0
votes
0answers
6 views

plot graphics result for example association rules via “aruleViz” from java code using Rserve [migrated]

I have written an R function, that connect to database, fetch some records, obtain association rule of the object via arules library and plot the rules using ...
0
votes
1answer
54 views

MNIST Softmax regression hitting a wall at 70% accuracy

I've implemented a Softmax regression algorithm in java as part of an Android machine learning program. However, no matter how long I let it run for, the accuracy gets to about 70.5% and then plateaus ...
1
vote
0answers
20 views

What is the most popular file type for datasets? Why smile don't have database interface? [closed]

I just read smile document and it support many type of dataset file, but I want to know which dataset file type I should to stick around and why do they don't have database interface on smile? In the ...
1
vote
0answers
9 views

Neural network fails to capture 2D shape possibly due to biases

I am attempting to develop a Neural Network that I can generalize to several different applications. As part of this, I am attempting to verify that my Neural Network works properly on a simple ...
0
votes
0answers
8 views

Frame work for neural net and recurrent net

I would like to run neural net and recurrent net (such as jordan net and elman net and so on) program using java program language. Is there anyone who recommend me to useful flame work? Thank you in ...
0
votes
0answers
4 views

DataMining Classifier Model PIMA Diabetes

I am doing a project Diabetes Diagnosis using Data Mining.I done with Classifier Model with the help Weka Now My Model Can give expected result.But problem is that this is a webBased Application I ...
0
votes
0answers
14 views

Feed forward network values always converge to 1

I'm not sure what's going on with my network, but the output values quickly converge to a value of 1. The network is a feed forward network with back propagation. I have bias included, but haven't ...
1
vote
0answers
50 views

Improving the results coming from an image recognition API

We are developing a software application that will automatically suggest tags (keywords) for images that are being uploaded into a database of already-tagged (by a human) images. We are using a 3rd ...
1
vote
0answers
43 views

What algorithm could be used to recommend wine given past ratings

Description: given a user's history of 'likes', I would like to predict what product should I recommend to the user, based on past likes (content based). The idea is very similar to Pandora, except ...
0
votes
0answers
10 views

How to set arbitrary number of values for variables in Banjo

I'm using Banjo (BAyesian Network inference with Java Objects) to analyze a set of data. I want each variable to take a range of more than 7 values (Banjo put this limit in the amount of values a ...
0
votes
0answers
47 views

Learning the boolean AND function using a perceptron

I'm new to machine learning. I've written this code http://ideone.com/t9VOag for training a perceptron to learn the boolean AND function using the perceptron training rule. The perceptron never ...
0
votes
2answers
102 views

How are the values of residuals (white noise) calculated in ARMA model?

I am trying to implement ARMA model in Java. I have trouble with calculating residuals (white noise) in Moving average part of the model. From the answer on this question (Fitted values of ARMA model) ...
1
vote
0answers
45 views

How to reduce dataset for plotting

I have a large dataset that contains a lot of noise that I would like to eliminate in order to reduce the size of the dataset and speed up data visualization. I was thinking to reduce the number of ...
0
votes
0answers
29 views

Calculate the PDF given a list of values and a list of correlated

The question itself is simple; I have a list of event/values and another list of values correlated with the first one. Let's say something like that: ...
1
vote
2answers
388 views

Calculating gradient of a function for optimization

I need to optimize a function. This function is a likelihood function which takes a set of parameters (to be optimized) and calculates the likelihood (to be optimized) as a result. ...
0
votes
0answers
196 views

Train neural network for forecasting

I am trying to use time series neural network to predict future values. I have time series data from 2010-2014 and I need to predict the values from 2015-2020 using time series neural network. I am ...
2
votes
1answer
1k views

Need guidance in image classification

I'm new to machine learning and need some help. I need image classification to tell if an image is a car or not. Is there any working example or guidance or a book for this particular question? ...
2
votes
2answers
517 views

How does one extract the final equation from glm poisson model?

I have a Poisson model that is performing well. Now we need to put it into Java code and release it to the world. What is the equation that I plug the Poisson coefficients into? Similar to this ...
1
vote
0answers
54 views

Statistical graphical models in practice

I've followed the probabilistic graphical models course in coursera and now I would like to apply what I've learnt with real data. I want to implement LDA on a large corpus of text and I was ...
0
votes
0answers
76 views

Machine Learning: curve completion using sets of completed curves

I am very new to the world of machine learning and i am wondering if a) machine learning is able to solve the problem b) whats the best way to do it (pref with example) I have a set of curves for a ...
2
votes
1answer
302 views

Which library is the easiest to start with for Deep Learning

I am quite proficient with Machine Learning libraries and now want to get into Deep Learning. I am even quite comfortable with neural networks as far as understanding back propagation algorithm is ...
0
votes
1answer
112 views

difference between stochastic gradient descent and batch

I've watched the canonical Andrew Ng video on the subject but I'm trying to translate those concepts into java, and I'm not quite sure I did it right. The thing that's confusing me is, I made a toy ...
0
votes
1answer
100 views

Java and R: Least Squares Coefficient Estimation - Start at time Zero?

This is the data set I have: vector <- c( -7.459981, 13.26651, 12.10128, 2.380662, 26.42393) Doing an estimation of the coefficient with a linear regression ...
0
votes
1answer
663 views

JFreeChart Boxplot appearance

I'm need to create boxplots to analyse and evaluate test results. Since I program in Java this answer convinced me to use JFreeChart. The BoxAndWhisker chart seemed similar to what I wanted. I spent ...
1
vote
1answer
807 views

One-Max fitness function (Java) [closed]

Whilst searching on Google about Genetic Algorithms, I came across OneMax Problem, my search showed that this is one of the very first problem that the Genetic Algorithm was applied to. However, I am ...
1
vote
1answer
44 views

Collective randomness of data generated using different seeds

We are generating 5 random numbers for every object we process - this is Java, but the code is pretty easy to follow (docs): ...
0
votes
1answer
952 views

Weka java API: Attribute Selection and Cross Validation

Is there a way to perform Attirbute selection(aka feature selection) (regardless of method) only for the training dataset before passing data for Cross Validation ? I currently think that the only ...
0
votes
1answer
53 views

Statistical Commute Analysis in Java

I have a rather large commute every day - it ranges between about an hour and about an hour and half of driving. I have been tracking my driving times, and want to continue to do so. I am capturing ...
2
votes
0answers
55 views

Graphing the usage of legal precedents

I would like to hear recommendations on what tools to use to graph the usage of precedents in a legal court in Brazil. The data is searchable at www.stj.jus.br/SCON/, and in the most recent collegiate ...
0
votes
0answers
204 views

Point Biserial correlation coefficient in Java

I've recently installed Apache Commons Math library to help me with some basic statistics in my project. Basically, what I need is to calculate the correlation coefficient for 2 arrays, which I can ...
1
vote
0answers
325 views

generate frequency distribution from database

In a MySQL database there's a table with a single numeric value column. I want to plot the distribution of these values as a bar chart/histogram with the following ...
1
vote
0answers
528 views

J48 Handling Missing Value with Tree based Imputation

Aloha, currently i have some trouble and question zu implement some kind of special missing value handling in WEKA J48 algorithm using WEKA JAVA API. I want to test the performance of SHAPIRO ...
4
votes
3answers
5k views

Complete machine learning library for Java/Scala [closed]

Python is plenty of ML libraries (like the great scikit-learn). Is there any good for java/scala, containing many algos (regression, classification, clustering, cross-validation, feature processing), ...
2
votes
1answer
255 views

Predictive Modeler: How can learning Python and/or Java benefit me?

On a daily basis, I build predictive models (namely, logistic regression and credit scorecard models) using fairly large datasets (typically ~500k records and ~1k candidate variables) to predict ...
0
votes
0answers
346 views

Simulating unfair die with java/R (programming done)

Task : Unfair die(6 sides) is being rolled n times. Probability of 1 is p1, probability of 2 is p2 and so on. Write a computer program, that for given n (n<100), the probability of set (p1,p2,p3,p4,...
0
votes
2answers
1k views

Latent Dirichlet Allocation as input for WEKA

I am using the Weka API for my research about document classification. I wish to apply Latent Dirichelet Allocation on my dataset followed by using a classifier in Weka. However, it is not so clear to ...
-1
votes
1answer
48 views

Converting FuzzykMeans to SphericalFuzzyKMeans?

I grabbed an implementation of FuzzyKMeans (FuzzyCMeans) from the nightly build of the Apache Commons Math library, but I now realize I need to use Cosine Similarity instead of the Euclidean Distance. ...
1
vote
1answer
520 views

how to add instances data into test arff file with the same attribute and relation with training file [closed]

I have training arff file, and also I have instances data at hand. Now I want to add the instances data onto another file, called test file, and this test file has the same relation header and ...
1
vote
1answer
677 views

Compute p-value of single value in arbitrary distribution (using java and apache.commons.math3)

I want to compute the p-value of a single numeric value drawn from an arbirtary distribution. The p-value should be comparable to p-values that have been computed with single distinict values drawn ...
0
votes
1answer
457 views

Detecting An Image is Bright or Dark? [closed]

I use Java and I have some PNG images. I want to put a caption on my images. However I want that: if an image is bright I want to put a black text on image and if an image is dark I want to put a ...
1
vote
0answers
94 views

range normalized with unclear highest value

I tried to normalize many set, which each set consists of 12 values. I want to normalize it into range between 1 and -1. However, the highest value is unclear because the value can be trillion, or ...
0
votes
1answer
917 views

Is WEKA's logistic regression tool slow? If yes, are there faster alternatives?

I have to run logistic regression several thousand times, within a Java/Scala program. A general spec for one of the problems is: ~300 continuous attributes ~<10000 positives, and randomly pick ...
2
votes
2answers
197 views

Implementation of online classification algorithms?

I'm looking for implementations of online learners. I guess that is possible with AdaBoost. Where you train the model and then you modify it by adding later more training data. However you don't have ...
2
votes
1answer
494 views

Obtaining R pec survival patient risk percentage

Introduction I have a 300,000-row cancer dataset with around 60 variables (cancer stage, year of diagnosis, radiation therapy, histology, etc.) with a time variable ("number of months survived") and ...
0
votes
1answer
46 views

Application “tuning” based on statistics: Lowest-Learning-Curve API for Java programmer?

I want to write an application, where users will have to choose between different "configurations", and I am looking for a way to statistically validate the "balance" of those "configurations", to ...
1
vote
1answer
478 views

Test the convergence of a neural network

I'm using Weka multilayer-perceptron classifier to do classifications. I want to know after exactly how many epochs the neural network converges(weights don't update any more). I'm using its java API, ...
1
vote
1answer
94 views

Finding the most relevant factors that lead to an event

I have been tasked with looking at a set of data with about 6000 records that each have 60 or so qualities associated with them (Let these be X1, X2, ... ) and determining what are the top 8 factors ...
0
votes
1answer
2k views

Percentile to Z-score in PHP or JAVA

I am searching for a way to calculate the $z$-score for a given percentile $p$. I found this site doing such a calculation. They have given a formula for calculating $P(Z\leq z)$: $$ \Phi(z) = P(Z ...
4
votes
1answer
829 views

Verifying the output of implementing internal clustering validity indexes

I have implemented some internal clustering validity indexes in Java: Simplified Silhouette. Calinski-Harabasz (VRC). Davies -Bouldin. Dunn's Index. How could I verify if my implementation is ...
2
votes
0answers
994 views

Outlier detection in time series data

I checked different questions on similar topics, but none were exactly the answer I wanted and I am confused. I am working with big data, the data has a bursty nature with high frequency. I ...