We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var StringIndexer = require(EclairJS_Globals.NAMESPACE + '/ml/feature/StringIndexer'); var stringIndexer1 = new StringIndexer(); var SparkContext = require(EclairJS_Globals.NAMESPACE + '/SparkContext'); var jsc = new SparkContext("local[*]", "test"); var SQLContext = require(EclairJS_Globals.NAMESPACE + '/sql/SQLContext'); var sqlcontext1 = new SQLContext(jsc); var data = sqlcontext1 .read() .format("libsvm") .load("/Users/doronrosenberg/mystuff/ibm/eclairjs/git/eclairjs-nashorn/examples/data/mllib/sample_libsvm_data.txt"); var labelIndexer = new StringIndexer() .setInputCol("label") .setOutputCol("indexedLabel") .fit(data);
running JSON.stringify(labelIndexer.labels()) === undefined shows true.
JSON.stringify(labelIndexer.labels()) === undefined
true
The text was updated successfully, but these errors were encountered:
No branches or pull requests
running
JSON.stringify(labelIndexer.labels()) === undefined
showstrue
.The text was updated successfully, but these errors were encountered: