classification


MarkLogic keeps crushing when I try to run cts.train() function


MarkLogic keeps crushing when I try to run cts.train() function.
Is it my code or something else? Can you help me figure out what's wrong?
MarkLogic Server 8.0-6.4
var labels = []
var voi = cts.collectionQuery(["VehicleOfInterest"])
for(var v in voi)
labels.push({classes:{name:"car"}})
v = cts.search(voi)
var all = [].concat.apply([], [v.toArray()])
var classifier = cts.train( all, labels, {classifierType: "supports", kernel:"simple", epsilon: 0.01} );
Sample node
<?xml version="1.0" encoding="UTF-8"?>
<root>
<RECORD__>1</RECORD__>
<ENTRY_DATE>2/15/2017</ENTRY_DATE>
<EXPIRY_DATE>2/15/2019</EXPIRY_DATE>
<VEHICLE_MAKE>Toyota</VEHICLE_MAKE>
<VEHICLE_MODEL>Corolla</VEHICLE_MODEL>
<VEHICLE_YEAR>2013</VEHICLE_YEAR>
<REGISTRATION>A29302843</REGISTRATION>
<VIN>1234134</VIN>
<LOCATION>MN</LOCATION>
<CLAIM_NUMBER>12345678</CLAIM_NUMBER>
<BACKGROUND___COMMENT>This is a test 1.</BACKGROUND___COMMENT>
<ORIGINAL_SOURCE>INFORMANT</ORIGINAL_SOURCE>
<RISK_CATEGORY>A1</RISK_CATEGORY>
<LINKED_PHONE__>9382938402</LINKED_PHONE__>
</root>
/var/opt/MarkLogic/Logs/ErrorLog.txt
Segmentation fault in thread 0x00007f6739864700
Thread 56 (Thread 0x7f67ec83d700 (LWP 6369)):
#0 0x00007f67e895379b in do_futex_wait.constprop.1 () from /lib64/libpthread.so.0
#1 0x00007f67e895382f in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0
#2 0x00007f67e89538cb in sem_wait##GLIBC_2.2.5 () from /lib64/libpthread.so.0
#3 0x0000000004322515 in svc::Semaphore::wait ()
#4 0x000000000433f151 in svc::StarterThread::run ()
#5 0x000000000434166e in svc::Thread::top ()
#6 0x00000000043428b9 in runThread ()
#7 0x00007f67e894ddc5 in start_thread () from /lib64/libpthread.so.0
#8 0x00007f67e7d3e6ed in clone () from /lib64/libc.so.6
Thread 55 (Thread 0x7f67ec79f700 (LWP 6377)):
#0 0x00007f67e7d3fb7f in accept4 () from /lib64/libc.so.6
#1 0x000000000433087a in svc::Socket::accept ()
#2 0x000000000402c8bf in xdmp::XDQPServerThread::run ()
#3 0x000000000434166e in svc::Thread::top ()
#4 0x00000000043428b9 in runThread ()
#5 0x00007f67e894ddc5 in start_thread () from /lib64/libpthread.so.0
#6 0x00007f67e7d3e6ed in clone () from /lib64/libc.so.6
Thread 54 (Thread 0x7f67ec780700 (LWP 6378)):
#0 0x00007f67e8954bdd in nanosleep () from /lib64/libpthread.so.0
#1 0x000000000433ed12 in svc::Thread::sleep ()
#2 0x00000000024cffa2 in xdmp::ClusterManager::clusterThread ()
#3 0x000000000434166e in svc::Thread::top ()
#4 0x00000000043428b9 in runThread ()
#5 0x00007f67e894ddc5 in start_thread () from /lib64/libpthread.so.0
#6 0x00007f67e7d3e6ed in clone () from /lib64/libc.so.6
Thread 53 (Thread 0x7f673e7ff700 (LWP 6380)):
#0 0x00007f67e895379b in do_futex_wait.constprop.1 () from /lib64/libpthread.so.0
#1 0x00007f67e895382f in __new_sem_wait_slow.constprop.0 () from /lib64/libpthread.so.0
#2 0x00007f67e89538cb in sem_wait##GLIBC_2.2.5 () from /lib64/libpthread.so.0
#3 0x0000000004322515 in svc::Semaphore::wait ()
#4 0x00000000043445a6 in svc::PooledThread::run ()
#5 0x000000000434166e in svc::Thread::top ()
#6 0x00000000043428b9 in runThread ()
#7 0x00007f67e894ddc5 in start_thread () from /lib64/libpthread.so.0
#8 0x00007f67e7d3e6ed in clone () from /lib64/libc.so.6
...

Related Links

finding vegetarian users in Yelp data
CRFSuite predictions are swallowed if label is ':'?
Does sklearn support a cost matrix?
Naive bayes classifier calculation
How to perform logistic regression using vowpal wabbit on very imbalanced dataset
randomForest Need at least two classes to do classification
Batching within an Apache Spark RDD map
Weka classify new instance with loaded model?
Comparing Results from Undersampling Data
Stop priniting the Accurancy while cross validation in SVM in LIBSVM [closed]
Gaussian Naive Bayes classifiers - how is the data distributed?
choose the best class if 2 class have same P (c|d), naive bayes
Error Correcting Tournaments (ect) Multi Class Classification in Vowpal Wabbit
supervised classification of multiple categories with a natural ordering
Subspace clustering with random transformation
Massive Online Analysis Framework- Split criteria

Categories

HOME
internet-explorer
azure-documentdb
salesforce
snappy
microcontroller
windows-server-2008
arcgis
livecharts
stdout
arguments
hiveql
ebay
sdk
msbi
glympse
autocad
servicenow
sequence
clip-path
samsung-gear-s2
yacc
normals
digital
osclass
resharper
appsettings
internet-explorer-7
smooth-scrolling
passbook
gpo
udeploy
vala
fibonacci
oracle10g
meteor-accounts
javapns
boost-log
ports
microstrategy
ilog
http-proxy
powerbi-embedded
ansible-inventory
android-databinding
pygraphviz
libconfig
julia-jump
susy
aspnetboilerplate
bzip2
automapper-4
rivets.js
playframework-1.x
nservicebus6
critical-section
tsc
scanf
sqlproj
portaudio
mongodb-3.3
altova
disconnect
android-xmlpullparser
vitamio
laterjs
pebble-js
trendline
apache2-module
fadein
markerspiderfier
wiql
sdkman
taverna
notice
self-join
personality-insights
exchange-server-2007
maven-archetype
method-overloading
react-os
mvcgrid
twitter-finagle
reactjs-native
yandex-api
traceur
vbaccelerator
logo-lang
netbeans-plugins
tlbimp
friendly-url
leap-year
pageload
reference-manual
quit
derived-class
databus
flatten
pinchzoom
towerjs
copyfile
jquery-click-event
jexcelapi
hs-err
simultaneous
managed-code

Resources

Mobile Apps Dev
Database Users
javascript
java
csharp
php
android
MS Developer
developer works
python
ios
c
html
jquery
RDBMS discuss
Cloud Virtualization
Database Dev&Adm
javascript
java
csharp
php
python
android
jquery
ruby
ios
html
Mobile App
Mobile App
Mobile App