Questions tagged [java]

Java (not to be confused with JavaScript) is a general-purpose object-oriented programming language designed to be used in conjunction with the Java Virtual Machine (JVM). "Java platform" is the name for a computing system that has installed tools for developing and running Java programs. Use this tag for questions referring to Java programming language or Java platform tools.

15 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
325 views

Changing default values of ANNIE resources in GATE from Java code

In GATE, default values for ANNIE are set during initialization, but sometimes based on requirements they have to be changed. My Requirement : I want to extract English sentences without considering ...
3
votes
2answers
179 views

Lightweight execution of Spark MLLib models

I have some training data which I am using to build a Spark MLLib model which is in a Hive database. I am using simple linear regression models and the PySpark API. I have a code set up to train this ...
3
votes
1answer
1k views

Running Tensorflow MobileNet from Java

I am trying to run Tensorflow for image recognition (classification) in Java (JSE not Android). I am using the code from here, and here. It works for Inceptionv3 models, and for models retrained from ...
2
votes
1answer
173 views

Needed: Java library to calculate text readability/complexity

In principle the same as this but for Java (and ideally for multiple languages) (e.g. flesch reading ease, smog index, flesch kincaid grade, coleman liau index, automated readability index, dale chall ...
2
votes
0answers
376 views

How to resample non-equidistant timeseries data in java?

I have a lot of movement data from a sensor of an android phone. The sensor-data is not equally spaced. The first column is the timestamp, the second to fourth are the values. I have many of these ...
2
votes
0answers
73 views

Is there any way to generate ROC curves from KEEL?

i am using the KEEL gui for my experiments . I want to plot a ROC curve of the results produced by KEEL rather than a just a roc score value .
2
votes
0answers
164 views

Debugging Neural Network for (Natural Language) Tagging

I've been coding a Neural Network for recognizing and tagging parts of speech in English (written in Java). The code itself has no 'errors' or apparent flaws. Nevertheless, it is not learning -- the ...
2
votes
0answers
496 views

How do I best parse ECOG scores in cancer clinical trial results in java?

I was informed of 5 java NLP libraries. Apache cTAKES™ MetaMap LexEVS (http://lexsrv3.nlm.nih.gov/LexSysGroup/Projects/lvg/current/web/download.html) Apache OpenNLP I also plan to parallelize an NLP ...
1
vote
1answer
134 views

Android: NLP library for date recognition in string

I am currently working on an android app which should make appointments automatically by reading the incoming messages from your mobile phone. I've managed to create a service which monitors the ...
1
vote
0answers
86 views

How does Stanford CRF encode NER string features?

Most features created by the NERFeatureFactory are strings e.g. from usePrev, useNext, ...
1
vote
0answers
35 views

modeling binary classification data

I am new to Machine learning. While reading SparkMLLib java code, I found Binary_classification dataset. But I am not able to understand how this data is modeled and if I want to model same type of ...
1
vote
0answers
33 views

Processed data cannot build Naive Bayes Classifier model

Having preprocessed data using weka supervised cfssubseteval forward and backward selection, the decision tree model builds and makes prediction well, but naive Bayes do not recognize the same Arff ...
1
vote
0answers
31 views

large database operation. check for relatedness between entities

I have one small list of entities, such as: Russia Vladimir Moscow Then I have a massive database of JSON indices. For each entry there are multiple alpha-...
0
votes
0answers
256 views

Analyze paragraphs using Neuroph

Currently we are regularly analyzing sets of paragraphs every month. I would like to automate this and split each paragraphs into chunks of data. To do this I would like to employ a neural network. ...
-1
votes
1answer
2k views

Simple Weka classification example in Java gives inconsistent answers

I have the following simple weka code to use a simple decision tree, train it, and then make predictions. ...