Skip to content

Single Node Example Applications#

After you have followed the instructions for the Single Node Setup and have successfully logged in, you can test some example applications we provide.
Please follow the next steps:

1. Run Handwritten Letters classification Example (letters 380MB)

  • Load datasets into file system:
${INACCEL_HOME}/bin/load-demo-data-file nist/letters_libsvm_train.dat
${INACCEL_HOME}/bin/load-demo-data-file nist/letters_libsvm_test.dat
  • Run LogisticRegression Application:
${INACCEL_HOME}/bin/run-spark-example --inaccel --master local[*] ml.LogisticRegressionExample file://${INACCEL_HOME}/data/nist/letters_libsvm_train.dat file://${INACCEL_HOME}/data/nist/letters_libsvm_test.dat --numFeatures 784

2. Run Handwritten Digits classification Example (mnist8m 24GB):

  • Load dataset into file system:
${INACCEL_HOME}/bin/load-demo-data-file nist/mnist8m_libsvm.dat
  • Run LogisticRegression Application:
${INACCEL_HOME}/bin/run-spark-example --inaccel --master local[*] ml.LogisticRegressionExample file://${INACCEL_HOME}/data/nist/mnist8m_libsvm.dat file://${INACCEL_HOME}/data/nist/mnist8m_libsvm.dat --numFeatures 784

Cluster node Example Applications#

After you have followed the instructions for the Cluster Node Setup and have successfully logged in the master node, you can test some example applications we provide.
Please follow the next steps:

1. Run Handwritten Letters classification Example (letters 380MB)

  • Load datasets into file system:
${INACCEL_HOME}/bin/load-demo-data-file nist/letters_libsvm_train.dat
${INACCEL_HOME}/bin/load-demo-data-file nist/letters_libsvm_test.dat
  • Run LogisticRegression Application:
${INACCEL_HOME}/bin/run-spark-example --inaccel ml.LogisticRegressionExample hdfs:///data/nist/letters_libsvm_train.dat hdfs:///data/nist/letters_libsvm_test.dat --numFeatures 784

2. Run Handwritten Digits classification Example (mnist8m 24GB):

  • Load dataset into file system:
${INACCEL_HOME}/bin/load-demo-data-file nist/mnist8m_libsvm.dat
  • Run LogisticRegression Application:
${INACCEL_HOME}/bin/run-spark-example --inaccel ml.LogisticRegressionExample hdfs:///data/nist/mnist8m_libsvm.dat hdfs:///data/nist/mnist8m_libsvm.dat --numFeatures 784