tangram 0.4.0 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +6 -30
- data/docs/Tangram.html +5 -4
- data/docs/Tangram/BagOfWordsCosineSimilarityFeatureContribution.html +518 -0
- data/docs/Tangram/BagOfWordsFeatureContribution.html +24 -13
- data/docs/Tangram/Bigram.html +16 -9
- data/docs/Tangram/BinaryClassificationPredictOutput.html +20 -11
- data/docs/Tangram/FeatureContributions.html +20 -11
- data/docs/Tangram/IdentityFeatureContribution.html +20 -11
- data/docs/Tangram/LibTangram.html +3 -2
- data/docs/Tangram/LibTangram/TangramStringView.html +6 -6
- data/docs/Tangram/LoadModelOptions.html +12 -7
- data/docs/Tangram/Model.html +173 -133
- data/docs/Tangram/MulticlassClassificationPredictOutput.html +24 -13
- data/docs/Tangram/NormalizedFeatureContribution.html +20 -11
- data/docs/Tangram/OneHotEncodedFeatureContribution.html +24 -13
- data/docs/Tangram/PredictOptions.html +16 -9
- data/docs/Tangram/RegressionPredictOutput.html +16 -9
- data/docs/Tangram/Unigram.html +12 -7
- data/docs/Tangram/WordEmbeddingFeatureContribution.html +38 -29
- data/docs/_index.html +9 -2
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +16 -37
- data/docs/index.html +16 -37
- data/docs/method_list.html +69 -29
- data/docs/top-level-namespace.html +2 -2
- data/examples/advanced/Gemfile +2 -0
- data/examples/advanced/Gemfile.lock +15 -0
- data/examples/advanced/README.md +14 -0
- data/examples/{heart_disease.tangram → advanced/heart_disease.tangram} +0 -0
- data/examples/{advanced.rb → advanced/main.rb} +1 -1
- data/examples/basic/Gemfile +2 -0
- data/examples/basic/Gemfile.lock +15 -0
- data/examples/basic/README.md +10 -0
- data/examples/basic/heart_disease.tangram +0 -0
- data/examples/{basic.rb → basic/main.rb} +0 -0
- data/lib/tangram/libtangram/aarch64-apple-darwin/libtangram.dylib +0 -0
- data/lib/tangram/libtangram/aarch64-unknown-linux-gnu/libtangram.so +0 -0
- data/lib/tangram/libtangram/aarch64-unknown-linux-musl/libtangram.so +0 -0
- data/lib/tangram/libtangram/x86_64-apple-darwin/libtangram.dylib +0 -0
- data/lib/tangram/libtangram/x86_64-pc-windows-msvc/tangram.dll +0 -0
- data/lib/tangram/libtangram/x86_64-unknown-linux-gnu/libtangram.so +0 -0
- data/lib/tangram/libtangram/x86_64-unknown-linux-musl/libtangram.so +0 -0
- data/lib/tangram/tangram.rb +9 -9
- data/scripts/release +8 -0
- data/tangram.gemspec +4 -4
- metadata +16 -8
data/docs/Tangram/Unigram.html
CHANGED
@@ -101,7 +101,8 @@
|
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
104
|
-
|
104
|
+
|
105
|
+
<p>This describes a unigram ngram.</p>
|
105
106
|
|
106
107
|
|
107
108
|
</div>
|
@@ -138,7 +139,8 @@
|
|
138
139
|
|
139
140
|
|
140
141
|
|
141
|
-
<span class="summary_desc"><div class='inline'
|
142
|
+
<span class="summary_desc"><div class='inline'>
|
143
|
+
<p>This is the token.</p>
|
142
144
|
</div></span>
|
143
145
|
|
144
146
|
</li>
|
@@ -176,7 +178,8 @@
|
|
176
178
|
|
177
179
|
|
178
180
|
|
179
|
-
<span class="summary_desc"><div class='inline'
|
181
|
+
<span class="summary_desc"><div class='inline'>
|
182
|
+
<p>A new instance of Unigram.</p>
|
180
183
|
</div></span>
|
181
184
|
|
182
185
|
</li>
|
@@ -199,7 +202,8 @@
|
|
199
202
|
|
200
203
|
</h3><div class="docstring">
|
201
204
|
<div class="discussion">
|
202
|
-
|
205
|
+
|
206
|
+
<p>Returns a new instance of Unigram.</p>
|
203
207
|
|
204
208
|
|
205
209
|
</div>
|
@@ -246,7 +250,8 @@
|
|
246
250
|
|
247
251
|
</h3><div class="docstring">
|
248
252
|
<div class="discussion">
|
249
|
-
|
253
|
+
|
254
|
+
<p>This is the token.</p>
|
250
255
|
|
251
256
|
|
252
257
|
</div>
|
@@ -281,9 +286,9 @@
|
|
281
286
|
</div>
|
282
287
|
|
283
288
|
<div id="footer">
|
284
|
-
Generated on
|
289
|
+
Generated on Mon Jul 26 14:54:00 2021 by
|
285
290
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
286
|
-
0.9.26 (ruby-2.
|
291
|
+
0.9.26 (ruby-2.7.4).
|
287
292
|
</div>
|
288
293
|
|
289
294
|
</div>
|
@@ -101,7 +101,8 @@
|
|
101
101
|
|
102
102
|
<h2>Overview</h2><div class="docstring">
|
103
103
|
<div class="discussion">
|
104
|
-
|
104
|
+
|
105
|
+
<p>This describes the contribution of a feature from a word embedding feature group.</p>
|
105
106
|
|
106
107
|
|
107
108
|
</div>
|
@@ -138,7 +139,8 @@
|
|
138
139
|
|
139
140
|
|
140
141
|
|
141
|
-
<span class="summary_desc"><div class='inline'
|
142
|
+
<span class="summary_desc"><div class='inline'>
|
143
|
+
<p>This is the name of the source column for the feature group.</p>
|
142
144
|
</div></span>
|
143
145
|
|
144
146
|
</li>
|
@@ -166,7 +168,8 @@
|
|
166
168
|
|
167
169
|
|
168
170
|
|
169
|
-
<span class="summary_desc"><div class='inline'
|
171
|
+
<span class="summary_desc"><div class='inline'>
|
172
|
+
<p>This is the amount that the feature contributed to the output.</p>
|
170
173
|
</div></span>
|
171
174
|
|
172
175
|
</li>
|
@@ -194,7 +197,8 @@
|
|
194
197
|
|
195
198
|
|
196
199
|
|
197
|
-
<span class="summary_desc"><div class='inline'
|
200
|
+
<span class="summary_desc"><div class='inline'>
|
201
|
+
<p>This is the index of the feature in the word embedding.</p>
|
198
202
|
</div></span>
|
199
203
|
|
200
204
|
</li>
|
@@ -232,7 +236,8 @@
|
|
232
236
|
|
233
237
|
|
234
238
|
|
235
|
-
<span class="summary_desc"><div class='inline'
|
239
|
+
<span class="summary_desc"><div class='inline'>
|
240
|
+
<p>A new instance of WordEmbeddingFeatureContribution.</p>
|
236
241
|
</div></span>
|
237
242
|
|
238
243
|
</li>
|
@@ -255,7 +260,8 @@
|
|
255
260
|
|
256
261
|
</h3><div class="docstring">
|
257
262
|
<div class="discussion">
|
258
|
-
|
263
|
+
|
264
|
+
<p>Returns a new instance of WordEmbeddingFeatureContribution.</p>
|
259
265
|
|
260
266
|
|
261
267
|
</div>
|
@@ -269,14 +275,14 @@
|
|
269
275
|
<pre class="lines">
|
270
276
|
|
271
277
|
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
278
|
+
216
|
279
|
+
217
|
280
|
+
218
|
281
|
+
219
|
282
|
+
220</pre>
|
277
283
|
</td>
|
278
284
|
<td>
|
279
|
-
<pre class="code"><span class="info file"># File 'lib/tangram/tangram.rb', line
|
285
|
+
<pre class="code"><span class="info file"># File 'lib/tangram/tangram.rb', line 216</span>
|
280
286
|
|
281
287
|
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='label'>column_name:</span><span class='comma'>,</span> <span class='label'>value_index:</span><span class='comma'>,</span> <span class='label'>feature_contribution_value:</span><span class='rparen'>)</span>
|
282
288
|
<span class='ivar'>@column_name</span> <span class='op'>=</span> <span class='id identifier rubyid_column_name'>column_name</span>
|
@@ -306,7 +312,8 @@
|
|
306
312
|
|
307
313
|
</h3><div class="docstring">
|
308
314
|
<div class="discussion">
|
309
|
-
|
315
|
+
|
316
|
+
<p>This is the name of the source column for the feature group.</p>
|
310
317
|
|
311
318
|
|
312
319
|
</div>
|
@@ -320,12 +327,12 @@
|
|
320
327
|
<pre class="lines">
|
321
328
|
|
322
329
|
|
323
|
-
|
324
|
-
|
325
|
-
|
330
|
+
211
|
331
|
+
212
|
332
|
+
213</pre>
|
326
333
|
</td>
|
327
334
|
<td>
|
328
|
-
<pre class="code"><span class="info file"># File 'lib/tangram/tangram.rb', line
|
335
|
+
<pre class="code"><span class="info file"># File 'lib/tangram/tangram.rb', line 211</span>
|
329
336
|
|
330
337
|
<span class='kw'>def</span> <span class='id identifier rubyid_column_name'>column_name</span>
|
331
338
|
<span class='ivar'>@column_name</span>
|
@@ -348,7 +355,8 @@
|
|
348
355
|
|
349
356
|
</h3><div class="docstring">
|
350
357
|
<div class="discussion">
|
351
|
-
|
358
|
+
|
359
|
+
<p>This is the amount that the feature contributed to the output.</p>
|
352
360
|
|
353
361
|
|
354
362
|
</div>
|
@@ -362,12 +370,12 @@
|
|
362
370
|
<pre class="lines">
|
363
371
|
|
364
372
|
|
365
|
-
|
366
|
-
|
367
|
-
|
373
|
+
215
|
374
|
+
216
|
375
|
+
217</pre>
|
368
376
|
</td>
|
369
377
|
<td>
|
370
|
-
<pre class="code"><span class="info file"># File 'lib/tangram/tangram.rb', line
|
378
|
+
<pre class="code"><span class="info file"># File 'lib/tangram/tangram.rb', line 215</span>
|
371
379
|
|
372
380
|
<span class='kw'>def</span> <span class='id identifier rubyid_feature_contribution_value'>feature_contribution_value</span>
|
373
381
|
<span class='ivar'>@feature_contribution_value</span>
|
@@ -390,7 +398,8 @@
|
|
390
398
|
|
391
399
|
</h3><div class="docstring">
|
392
400
|
<div class="discussion">
|
393
|
-
|
401
|
+
|
402
|
+
<p>This is the index of the feature in the word embedding.</p>
|
394
403
|
|
395
404
|
|
396
405
|
</div>
|
@@ -404,12 +413,12 @@
|
|
404
413
|
<pre class="lines">
|
405
414
|
|
406
415
|
|
407
|
-
|
408
|
-
|
409
|
-
|
416
|
+
213
|
417
|
+
214
|
418
|
+
215</pre>
|
410
419
|
</td>
|
411
420
|
<td>
|
412
|
-
<pre class="code"><span class="info file"># File 'lib/tangram/tangram.rb', line
|
421
|
+
<pre class="code"><span class="info file"># File 'lib/tangram/tangram.rb', line 213</span>
|
413
422
|
|
414
423
|
<span class='kw'>def</span> <span class='id identifier rubyid_value_index'>value_index</span>
|
415
424
|
<span class='ivar'>@value_index</span>
|
@@ -425,9 +434,9 @@
|
|
425
434
|
</div>
|
426
435
|
|
427
436
|
<div id="footer">
|
428
|
-
Generated on
|
437
|
+
Generated on Mon Jul 26 14:54:00 2021 by
|
429
438
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
430
|
-
0.9.26 (ruby-2.
|
439
|
+
0.9.26 (ruby-2.7.4).
|
431
440
|
</div>
|
432
441
|
|
433
442
|
</div>
|
data/docs/_index.html
CHANGED
@@ -80,6 +80,13 @@
|
|
80
80
|
<li class="letter">B</li>
|
81
81
|
<ul>
|
82
82
|
|
83
|
+
<li>
|
84
|
+
<span class='object_link'><a href="Tangram/BagOfWordsCosineSimilarityFeatureContribution.html" title="Tangram::BagOfWordsCosineSimilarityFeatureContribution (class)">BagOfWordsCosineSimilarityFeatureContribution</a></span>
|
85
|
+
|
86
|
+
<small>(Tangram)</small>
|
87
|
+
|
88
|
+
</li>
|
89
|
+
|
83
90
|
<li>
|
84
91
|
<span class='object_link'><a href="Tangram/BagOfWordsFeatureContribution.html" title="Tangram::BagOfWordsFeatureContribution (class)">BagOfWordsFeatureContribution</a></span>
|
85
92
|
|
@@ -300,9 +307,9 @@
|
|
300
307
|
</div>
|
301
308
|
|
302
309
|
<div id="footer">
|
303
|
-
Generated on
|
310
|
+
Generated on Mon Jul 26 14:54:00 2021 by
|
304
311
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
305
|
-
0.9.26 (ruby-2.
|
312
|
+
0.9.26 (ruby-2.7.4).
|
306
313
|
</div>
|
307
314
|
|
308
315
|
</div>
|
data/docs/class_list.html
CHANGED
@@ -43,7 +43,7 @@
|
|
43
43
|
|
44
44
|
<ul id="full_list" class="class">
|
45
45
|
<li id="object_" class="odd"><div class="item" style="padding-left:30px"><span class='object_link'><a href="top-level-namespace.html" title="Top Level Namespace (root)">Top Level Namespace</a></span></div></li>
|
46
|
-
<li id='object_Tangram' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Tangram.html" title="Tangram (module)">Tangram</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Tangram::
|
46
|
+
<li id='object_Tangram' class='even'><div class='item' style='padding-left:30px'><a class='toggle'></a> <span class='object_link'><a href="Tangram.html" title="Tangram (module)">Tangram</a></span><small class='search_info'>Top Level Namespace</small></div><ul><li id='object_Tangram::BagOfWordsCosineSimilarityFeatureContribution' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/BagOfWordsCosineSimilarityFeatureContribution.html" title="Tangram::BagOfWordsCosineSimilarityFeatureContribution (class)">BagOfWordsCosineSimilarityFeatureContribution</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::BagOfWordsFeatureContribution' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/BagOfWordsFeatureContribution.html" title="Tangram::BagOfWordsFeatureContribution (class)">BagOfWordsFeatureContribution</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::Bigram' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/Bigram.html" title="Tangram::Bigram (class)">Bigram</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::BinaryClassificationPredictOutput' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/BinaryClassificationPredictOutput.html" title="Tangram::BinaryClassificationPredictOutput (class)">BinaryClassificationPredictOutput</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::FeatureContributions' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/FeatureContributions.html" title="Tangram::FeatureContributions (class)">FeatureContributions</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::IdentityFeatureContribution' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/IdentityFeatureContribution.html" title="Tangram::IdentityFeatureContribution (class)">IdentityFeatureContribution</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::LibTangram' class='collapsed odd'><div class='item' style='padding-left:45px'><a class='toggle'></a> <span class='object_link'><a href="Tangram/LibTangram.html" title="Tangram::LibTangram (module)">LibTangram</a></span><small class='search_info'>Tangram</small></div><ul><li id='object_Tangram::LibTangram::TangramStringView' class='collapsed'><div class='item' style='padding-left:60px'><span class='object_link'><a href="Tangram/LibTangram/TangramStringView.html" title="Tangram::LibTangram::TangramStringView (class)">TangramStringView</a></span> < Struct<small class='search_info'>Tangram::LibTangram</small></div></li></ul></li><li id='object_Tangram::LoadModelOptions' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/LoadModelOptions.html" title="Tangram::LoadModelOptions (class)">LoadModelOptions</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::Model' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/Model.html" title="Tangram::Model (class)">Model</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::MulticlassClassificationPredictOutput' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/MulticlassClassificationPredictOutput.html" title="Tangram::MulticlassClassificationPredictOutput (class)">MulticlassClassificationPredictOutput</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::NormalizedFeatureContribution' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/NormalizedFeatureContribution.html" title="Tangram::NormalizedFeatureContribution (class)">NormalizedFeatureContribution</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::OneHotEncodedFeatureContribution' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/OneHotEncodedFeatureContribution.html" title="Tangram::OneHotEncodedFeatureContribution (class)">OneHotEncodedFeatureContribution</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::PredictOptions' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/PredictOptions.html" title="Tangram::PredictOptions (class)">PredictOptions</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::RegressionPredictOutput' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/RegressionPredictOutput.html" title="Tangram::RegressionPredictOutput (class)">RegressionPredictOutput</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::Unigram' class='collapsed odd'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/Unigram.html" title="Tangram::Unigram (class)">Unigram</a></span> < Object<small class='search_info'>Tangram</small></div></li><li id='object_Tangram::WordEmbeddingFeatureContribution' class='collapsed even'><div class='item' style='padding-left:45px'><span class='object_link'><a href="Tangram/WordEmbeddingFeatureContribution.html" title="Tangram::WordEmbeddingFeatureContribution (class)">WordEmbeddingFeatureContribution</a></span> < Object<small class='search_info'>Tangram</small></div></li></ul></li>
|
47
47
|
|
48
48
|
</ul>
|
49
49
|
</div>
|
data/docs/file.README.html
CHANGED
@@ -57,16 +57,17 @@
|
|
57
57
|
<div class="clear"></div>
|
58
58
|
</div>
|
59
59
|
|
60
|
-
<div id="content"><div id='filecontents'
|
60
|
+
<div id="content"><div id='filecontents'>
|
61
|
+
<h1 id="label-Tangram+for+Ruby">Tangram for Ruby</h1>
|
62
|
+
<ul><li>
|
63
|
+
<p><a href="https://www.tangram.dev">Watch the Video</a></p>
|
64
|
+
</li><li>
|
65
|
+
<p><a href="https://www.tangram.dev/docs">Read the Docs</a></p>
|
66
|
+
</li></ul>
|
61
67
|
|
62
|
-
<
|
63
|
-
<li><a href="https://www.tangram.xyz">Watch the Video</a></li>
|
64
|
-
<li><a href="https://www.tangram.xyz/docs">Read the Docs</a></li>
|
65
|
-
</ul>
|
68
|
+
<p>The Tangram Ruby library makes it easy to make predictions with your Tangram machine learning model from Ruby.</p>
|
66
69
|
|
67
|
-
<
|
68
|
-
|
69
|
-
<h2 id="usage">Usage</h2>
|
70
|
+
<h2 id="label-Usage">Usage</h2>
|
70
71
|
|
71
72
|
<pre class="code ruby"><code class="ruby">$ gem install tangram
|
72
73
|
</code></pre>
|
@@ -84,43 +85,21 @@
|
|
84
85
|
<span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='id identifier rubyid_model'>model</span><span class='period'>.</span><span class='id identifier rubyid_predict'>predict</span><span class='lparen'>(</span><span class='id identifier rubyid_input'>input</span><span class='rparen'>)</span>
|
85
86
|
</code></pre>
|
86
87
|
|
87
|
-
<p>For more information, <a href="https://www.tangram.
|
88
|
-
|
89
|
-
<h2 id="platform-support">Platform Support</h2>
|
90
|
-
|
91
|
-
<p>Tangram for Ruby is currently supported on Linux, macOS, and Windows with AMD64 CPUs. Are you interested in another platform? <a href="https://github.com/tangramxyz/tangram/issues/new">Open an issue</a> or send us an email at <a href="mailto:help@tangram.xyz">help@tangram.xyz</a>.</p>
|
92
|
-
|
93
|
-
<h2 id="examples">Examples</h2>
|
94
|
-
|
95
|
-
<p>The source for this gem contains two examples, <code>examples/predict</code> and <code>examples/monitor</code>.</p>
|
96
|
-
|
97
|
-
<h3 id="basic">Basic</h3>
|
98
|
-
|
99
|
-
<p>The basic example demonstrates loading a model from a <code>.tangram</code> file and making a prediction.</p>
|
88
|
+
<p>For more information, <a href="https://www.tangram.dev/docs">read the docs</a>.</p>
|
100
89
|
|
101
|
-
<
|
90
|
+
<h2 id="label-Platform+Support">Platform Support</h2>
|
102
91
|
|
103
|
-
<
|
104
|
-
</code></pre>
|
105
|
-
|
106
|
-
<h3 id="advanced">Advanced</h3>
|
107
|
-
|
108
|
-
<p>The advanced example demonstrates logging predictions and true values to the Tangram app. Before running the example, run <code>tangram app</code> to start the app running locally, open <code>http://localhost:8080</code> in your browser, and upload the file <code>examples/heart_disease.tangram</code> to it.</p>
|
109
|
-
|
110
|
-
<p>To run the example:</p>
|
111
|
-
|
112
|
-
<pre class="code ruby"><code class="ruby">$ TANGRAM_URL=http://localhost:8080 ruby examples/advanced.rb
|
113
|
-
</code></pre>
|
92
|
+
<p>Tangram for Ruby is currently supported on Linux, macOS, and Windows with ARM64 and AMD64 CPUs. Are you interested in another platform? <a href="https://github.com/tangramdotdev/tangram/issues/new">Open an issue</a> or send us an email at <a href="mailto:help@tangram.dev">help@tangram.dev</a>.</p>
|
114
93
|
|
115
|
-
<
|
94
|
+
<h2 id="label-Examples">Examples</h2>
|
116
95
|
|
117
|
-
<p>
|
96
|
+
<p>The source for this package contains a number of examples in the <code>examples</code> directory. Each example has a <code>README.md</code> explaining how to run it.</p>
|
118
97
|
</div></div>
|
119
98
|
|
120
99
|
<div id="footer">
|
121
|
-
Generated on
|
100
|
+
Generated on Mon Jul 26 14:54:00 2021 by
|
122
101
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
|
-
0.9.26 (ruby-2.
|
102
|
+
0.9.26 (ruby-2.7.4).
|
124
103
|
</div>
|
125
104
|
|
126
105
|
</div>
|
data/docs/index.html
CHANGED
@@ -57,16 +57,17 @@
|
|
57
57
|
<div class="clear"></div>
|
58
58
|
</div>
|
59
59
|
|
60
|
-
<div id="content"><div id='filecontents'
|
60
|
+
<div id="content"><div id='filecontents'>
|
61
|
+
<h1 id="label-Tangram+for+Ruby">Tangram for Ruby</h1>
|
62
|
+
<ul><li>
|
63
|
+
<p><a href="https://www.tangram.dev">Watch the Video</a></p>
|
64
|
+
</li><li>
|
65
|
+
<p><a href="https://www.tangram.dev/docs">Read the Docs</a></p>
|
66
|
+
</li></ul>
|
61
67
|
|
62
|
-
<
|
63
|
-
<li><a href="https://www.tangram.xyz">Watch the Video</a></li>
|
64
|
-
<li><a href="https://www.tangram.xyz/docs">Read the Docs</a></li>
|
65
|
-
</ul>
|
68
|
+
<p>The Tangram Ruby library makes it easy to make predictions with your Tangram machine learning model from Ruby.</p>
|
66
69
|
|
67
|
-
<
|
68
|
-
|
69
|
-
<h2 id="usage">Usage</h2>
|
70
|
+
<h2 id="label-Usage">Usage</h2>
|
70
71
|
|
71
72
|
<pre class="code ruby"><code class="ruby">$ gem install tangram
|
72
73
|
</code></pre>
|
@@ -84,43 +85,21 @@
|
|
84
85
|
<span class='id identifier rubyid_output'>output</span> <span class='op'>=</span> <span class='id identifier rubyid_model'>model</span><span class='period'>.</span><span class='id identifier rubyid_predict'>predict</span><span class='lparen'>(</span><span class='id identifier rubyid_input'>input</span><span class='rparen'>)</span>
|
85
86
|
</code></pre>
|
86
87
|
|
87
|
-
<p>For more information, <a href="https://www.tangram.
|
88
|
-
|
89
|
-
<h2 id="platform-support">Platform Support</h2>
|
90
|
-
|
91
|
-
<p>Tangram for Ruby is currently supported on Linux, macOS, and Windows with AMD64 CPUs. Are you interested in another platform? <a href="https://github.com/tangramxyz/tangram/issues/new">Open an issue</a> or send us an email at <a href="mailto:help@tangram.xyz">help@tangram.xyz</a>.</p>
|
92
|
-
|
93
|
-
<h2 id="examples">Examples</h2>
|
94
|
-
|
95
|
-
<p>The source for this gem contains two examples, <code>examples/predict</code> and <code>examples/monitor</code>.</p>
|
96
|
-
|
97
|
-
<h3 id="basic">Basic</h3>
|
98
|
-
|
99
|
-
<p>The basic example demonstrates loading a model from a <code>.tangram</code> file and making a prediction.</p>
|
88
|
+
<p>For more information, <a href="https://www.tangram.dev/docs">read the docs</a>.</p>
|
100
89
|
|
101
|
-
<
|
90
|
+
<h2 id="label-Platform+Support">Platform Support</h2>
|
102
91
|
|
103
|
-
<
|
104
|
-
</code></pre>
|
105
|
-
|
106
|
-
<h3 id="advanced">Advanced</h3>
|
107
|
-
|
108
|
-
<p>The advanced example demonstrates logging predictions and true values to the Tangram app. Before running the example, run <code>tangram app</code> to start the app running locally, open <code>http://localhost:8080</code> in your browser, and upload the file <code>examples/heart_disease.tangram</code> to it.</p>
|
109
|
-
|
110
|
-
<p>To run the example:</p>
|
111
|
-
|
112
|
-
<pre class="code ruby"><code class="ruby">$ TANGRAM_URL=http://localhost:8080 ruby examples/advanced.rb
|
113
|
-
</code></pre>
|
92
|
+
<p>Tangram for Ruby is currently supported on Linux, macOS, and Windows with ARM64 and AMD64 CPUs. Are you interested in another platform? <a href="https://github.com/tangramdotdev/tangram/issues/new">Open an issue</a> or send us an email at <a href="mailto:help@tangram.dev">help@tangram.dev</a>.</p>
|
114
93
|
|
115
|
-
<
|
94
|
+
<h2 id="label-Examples">Examples</h2>
|
116
95
|
|
117
|
-
<p>
|
96
|
+
<p>The source for this package contains a number of examples in the <code>examples</code> directory. Each example has a <code>README.md</code> explaining how to run it.</p>
|
118
97
|
</div></div>
|
119
98
|
|
120
99
|
<div id="footer">
|
121
|
-
Generated on
|
100
|
+
Generated on Mon Jul 26 14:54:00 2021 by
|
122
101
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
123
|
-
0.9.26 (ruby-2.
|
102
|
+
0.9.26 (ruby-2.7.4).
|
124
103
|
</div>
|
125
104
|
|
126
105
|
</div>
|
data/docs/method_list.html
CHANGED
@@ -108,6 +108,22 @@
|
|
108
108
|
</li>
|
109
109
|
|
110
110
|
|
111
|
+
<li class="odd ">
|
112
|
+
<div class="item">
|
113
|
+
<span class='object_link'><a href="Tangram/BagOfWordsCosineSimilarityFeatureContribution.html#column_name_a-instance_method" title="Tangram::BagOfWordsCosineSimilarityFeatureContribution#column_name_a (method)">#column_name_a</a></span>
|
114
|
+
<small>Tangram::BagOfWordsCosineSimilarityFeatureContribution</small>
|
115
|
+
</div>
|
116
|
+
</li>
|
117
|
+
|
118
|
+
|
119
|
+
<li class="even ">
|
120
|
+
<div class="item">
|
121
|
+
<span class='object_link'><a href="Tangram/BagOfWordsCosineSimilarityFeatureContribution.html#column_name_b-instance_method" title="Tangram::BagOfWordsCosineSimilarityFeatureContribution#column_name_b (method)">#column_name_b</a></span>
|
122
|
+
<small>Tangram::BagOfWordsCosineSimilarityFeatureContribution</small>
|
123
|
+
</div>
|
124
|
+
</li>
|
125
|
+
|
126
|
+
|
111
127
|
<li class="odd ">
|
112
128
|
<div class="item">
|
113
129
|
<span class='object_link'><a href="Tangram/PredictOptions.html#compute_feature_contributions-instance_method" title="Tangram::PredictOptions#compute_feature_contributions (method)">#compute_feature_contributions</a></span>
|
@@ -173,6 +189,14 @@
|
|
173
189
|
|
174
190
|
|
175
191
|
<li class="odd ">
|
192
|
+
<div class="item">
|
193
|
+
<span class='object_link'><a href="Tangram/BagOfWordsCosineSimilarityFeatureContribution.html#feature_contribution_value-instance_method" title="Tangram::BagOfWordsCosineSimilarityFeatureContribution#feature_contribution_value (method)">#feature_contribution_value</a></span>
|
194
|
+
<small>Tangram::BagOfWordsCosineSimilarityFeatureContribution</small>
|
195
|
+
</div>
|
196
|
+
</li>
|
197
|
+
|
198
|
+
|
199
|
+
<li class="even ">
|
176
200
|
<div class="item">
|
177
201
|
<span class='object_link'><a href="Tangram/WordEmbeddingFeatureContribution.html#feature_contribution_value-instance_method" title="Tangram::WordEmbeddingFeatureContribution#feature_contribution_value (method)">#feature_contribution_value</a></span>
|
178
202
|
<small>Tangram::WordEmbeddingFeatureContribution</small>
|
@@ -180,7 +204,7 @@
|
|
180
204
|
</li>
|
181
205
|
|
182
206
|
|
183
|
-
<li class="
|
207
|
+
<li class="odd ">
|
184
208
|
<div class="item">
|
185
209
|
<span class='object_link'><a href="Tangram/RegressionPredictOutput.html#feature_contributions-instance_method" title="Tangram::RegressionPredictOutput#feature_contributions (method)">#feature_contributions</a></span>
|
186
210
|
<small>Tangram::RegressionPredictOutput</small>
|
@@ -188,7 +212,7 @@
|
|
188
212
|
</li>
|
189
213
|
|
190
214
|
|
191
|
-
<li class="
|
215
|
+
<li class="even ">
|
192
216
|
<div class="item">
|
193
217
|
<span class='object_link'><a href="Tangram/BinaryClassificationPredictOutput.html#feature_contributions-instance_method" title="Tangram::BinaryClassificationPredictOutput#feature_contributions (method)">#feature_contributions</a></span>
|
194
218
|
<small>Tangram::BinaryClassificationPredictOutput</small>
|
@@ -196,7 +220,7 @@
|
|
196
220
|
</li>
|
197
221
|
|
198
222
|
|
199
|
-
<li class="
|
223
|
+
<li class="odd ">
|
200
224
|
<div class="item">
|
201
225
|
<span class='object_link'><a href="Tangram/MulticlassClassificationPredictOutput.html#feature_contributions-instance_method" title="Tangram::MulticlassClassificationPredictOutput#feature_contributions (method)">#feature_contributions</a></span>
|
202
226
|
<small>Tangram::MulticlassClassificationPredictOutput</small>
|
@@ -204,7 +228,7 @@
|
|
204
228
|
</li>
|
205
229
|
|
206
230
|
|
207
|
-
<li class="
|
231
|
+
<li class="even ">
|
208
232
|
<div class="item">
|
209
233
|
<span class='object_link'><a href="Tangram/IdentityFeatureContribution.html#feature_value-instance_method" title="Tangram::IdentityFeatureContribution#feature_value (method)">#feature_value</a></span>
|
210
234
|
<small>Tangram::IdentityFeatureContribution</small>
|
@@ -212,7 +236,7 @@
|
|
212
236
|
</li>
|
213
237
|
|
214
238
|
|
215
|
-
<li class="
|
239
|
+
<li class="odd ">
|
216
240
|
<div class="item">
|
217
241
|
<span class='object_link'><a href="Tangram/NormalizedFeatureContribution.html#feature_value-instance_method" title="Tangram::NormalizedFeatureContribution#feature_value (method)">#feature_value</a></span>
|
218
242
|
<small>Tangram::NormalizedFeatureContribution</small>
|
@@ -220,7 +244,7 @@
|
|
220
244
|
</li>
|
221
245
|
|
222
246
|
|
223
|
-
<li class="
|
247
|
+
<li class="even ">
|
224
248
|
<div class="item">
|
225
249
|
<span class='object_link'><a href="Tangram/OneHotEncodedFeatureContribution.html#feature_value-instance_method" title="Tangram::OneHotEncodedFeatureContribution#feature_value (method)">#feature_value</a></span>
|
226
250
|
<small>Tangram::OneHotEncodedFeatureContribution</small>
|
@@ -228,7 +252,7 @@
|
|
228
252
|
</li>
|
229
253
|
|
230
254
|
|
231
|
-
<li class="
|
255
|
+
<li class="odd ">
|
232
256
|
<div class="item">
|
233
257
|
<span class='object_link'><a href="Tangram/BagOfWordsFeatureContribution.html#feature_value-instance_method" title="Tangram::BagOfWordsFeatureContribution#feature_value (method)">#feature_value</a></span>
|
234
258
|
<small>Tangram::BagOfWordsFeatureContribution</small>
|
@@ -236,6 +260,14 @@
|
|
236
260
|
</li>
|
237
261
|
|
238
262
|
|
263
|
+
<li class="even ">
|
264
|
+
<div class="item">
|
265
|
+
<span class='object_link'><a href="Tangram/BagOfWordsCosineSimilarityFeatureContribution.html#feature_value-instance_method" title="Tangram::BagOfWordsCosineSimilarityFeatureContribution#feature_value (method)">#feature_value</a></span>
|
266
|
+
<small>Tangram::BagOfWordsCosineSimilarityFeatureContribution</small>
|
267
|
+
</div>
|
268
|
+
</li>
|
269
|
+
|
270
|
+
|
239
271
|
<li class="odd ">
|
240
272
|
<div class="item">
|
241
273
|
<span class='object_link'><a href="Tangram/Model.html#flush_log_queue-instance_method" title="Tangram::Model#flush_log_queue (method)">#flush_log_queue</a></span>
|
@@ -365,6 +397,14 @@
|
|
365
397
|
|
366
398
|
|
367
399
|
<li class="odd ">
|
400
|
+
<div class="item">
|
401
|
+
<span class='object_link'><a href="Tangram/BagOfWordsCosineSimilarityFeatureContribution.html#initialize-instance_method" title="Tangram::BagOfWordsCosineSimilarityFeatureContribution#initialize (method)">#initialize</a></span>
|
402
|
+
<small>Tangram::BagOfWordsCosineSimilarityFeatureContribution</small>
|
403
|
+
</div>
|
404
|
+
</li>
|
405
|
+
|
406
|
+
|
407
|
+
<li class="even ">
|
368
408
|
<div class="item">
|
369
409
|
<span class='object_link'><a href="Tangram/WordEmbeddingFeatureContribution.html#initialize-instance_method" title="Tangram::WordEmbeddingFeatureContribution#initialize (method)">#initialize</a></span>
|
370
410
|
<small>Tangram::WordEmbeddingFeatureContribution</small>
|
@@ -372,7 +412,7 @@
|
|
372
412
|
</li>
|
373
413
|
|
374
414
|
|
375
|
-
<li class="
|
415
|
+
<li class="odd ">
|
376
416
|
<div class="item">
|
377
417
|
<span class='object_link'><a href="Tangram/Model.html#initialize-instance_method" title="Tangram::Model#initialize (method)">#initialize</a></span>
|
378
418
|
<small>Tangram::Model</small>
|
@@ -380,7 +420,7 @@
|
|
380
420
|
</li>
|
381
421
|
|
382
422
|
|
383
|
-
<li class="
|
423
|
+
<li class="even ">
|
384
424
|
<div class="item">
|
385
425
|
<span class='object_link'><a href="Tangram/LibTangram/TangramStringView.html#into_string-instance_method" title="Tangram::LibTangram::TangramStringView#into_string (method)">#into_string</a></span>
|
386
426
|
<small>Tangram::LibTangram::TangramStringView</small>
|
@@ -388,7 +428,7 @@
|
|
388
428
|
</li>
|
389
429
|
|
390
430
|
|
391
|
-
<li class="
|
431
|
+
<li class="odd ">
|
392
432
|
<div class="item">
|
393
433
|
<span class='object_link'><a href="Tangram/Model.html#log_prediction-instance_method" title="Tangram::Model#log_prediction (method)">#log_prediction</a></span>
|
394
434
|
<small>Tangram::Model</small>
|
@@ -396,7 +436,7 @@
|
|
396
436
|
</li>
|
397
437
|
|
398
438
|
|
399
|
-
<li class="
|
439
|
+
<li class="even ">
|
400
440
|
<div class="item">
|
401
441
|
<span class='object_link'><a href="Tangram/Model.html#log_true_value-instance_method" title="Tangram::Model#log_true_value (method)">#log_true_value</a></span>
|
402
442
|
<small>Tangram::Model</small>
|
@@ -404,7 +444,7 @@
|
|
404
444
|
</li>
|
405
445
|
|
406
446
|
|
407
|
-
<li class="
|
447
|
+
<li class="odd ">
|
408
448
|
<div class="item">
|
409
449
|
<span class='object_link'><a href="Tangram/BagOfWordsFeatureContribution.html#ngram-instance_method" title="Tangram::BagOfWordsFeatureContribution#ngram (method)">#ngram</a></span>
|
410
450
|
<small>Tangram::BagOfWordsFeatureContribution</small>
|
@@ -412,7 +452,7 @@
|
|
412
452
|
</li>
|
413
453
|
|
414
454
|
|
415
|
-
<li class="
|
455
|
+
<li class="even ">
|
416
456
|
<div class="item">
|
417
457
|
<span class='object_link'><a href="Tangram/FeatureContributions.html#output-instance_method" title="Tangram::FeatureContributions#output (method)">#output</a></span>
|
418
458
|
<small>Tangram::FeatureContributions</small>
|
@@ -420,7 +460,7 @@
|
|
420
460
|
</li>
|
421
461
|
|
422
462
|
|
423
|
-
<li class="
|
463
|
+
<li class="odd ">
|
424
464
|
<div class="item">
|
425
465
|
<span class='object_link'><a href="Tangram/Model.html#predict-instance_method" title="Tangram::Model#predict (method)">#predict</a></span>
|
426
466
|
<small>Tangram::Model</small>
|
@@ -428,7 +468,7 @@
|
|
428
468
|
</li>
|
429
469
|
|
430
470
|
|
431
|
-
<li class="
|
471
|
+
<li class="even ">
|
432
472
|
<div class="item">
|
433
473
|
<span class='object_link'><a href="Tangram/MulticlassClassificationPredictOutput.html#probabilities-instance_method" title="Tangram::MulticlassClassificationPredictOutput#probabilities (method)">#probabilities</a></span>
|
434
474
|
<small>Tangram::MulticlassClassificationPredictOutput</small>
|
@@ -436,7 +476,7 @@
|
|
436
476
|
</li>
|
437
477
|
|
438
478
|
|
439
|
-
<li class="
|
479
|
+
<li class="odd ">
|
440
480
|
<div class="item">
|
441
481
|
<span class='object_link'><a href="Tangram/BinaryClassificationPredictOutput.html#probability-instance_method" title="Tangram::BinaryClassificationPredictOutput#probability (method)">#probability</a></span>
|
442
482
|
<small>Tangram::BinaryClassificationPredictOutput</small>
|
@@ -444,7 +484,7 @@
|
|
444
484
|
</li>
|
445
485
|
|
446
486
|
|
447
|
-
<li class="
|
487
|
+
<li class="even ">
|
448
488
|
<div class="item">
|
449
489
|
<span class='object_link'><a href="Tangram/MulticlassClassificationPredictOutput.html#probability-instance_method" title="Tangram::MulticlassClassificationPredictOutput#probability (method)">#probability</a></span>
|
450
490
|
<small>Tangram::MulticlassClassificationPredictOutput</small>
|
@@ -452,7 +492,7 @@
|
|
452
492
|
</li>
|
453
493
|
|
454
494
|
|
455
|
-
<li class="
|
495
|
+
<li class="odd ">
|
456
496
|
<div class="item">
|
457
497
|
<span class='object_link'><a href="Tangram/LoadModelOptions.html#tangram_url-instance_method" title="Tangram::LoadModelOptions#tangram_url (method)">#tangram_url</a></span>
|
458
498
|
<small>Tangram::LoadModelOptions</small>
|
@@ -460,7 +500,7 @@
|
|
460
500
|
</li>
|
461
501
|
|
462
502
|
|
463
|
-
<li class="
|
503
|
+
<li class="even ">
|
464
504
|
<div class="item">
|
465
505
|
<span class='object_link'><a href="Tangram/PredictOptions.html#threshold-instance_method" title="Tangram::PredictOptions#threshold (method)">#threshold</a></span>
|
466
506
|
<small>Tangram::PredictOptions</small>
|
@@ -468,7 +508,7 @@
|
|
468
508
|
</li>
|
469
509
|
|
470
510
|
|
471
|
-
<li class="
|
511
|
+
<li class="odd ">
|
472
512
|
<div class="item">
|
473
513
|
<span class='object_link'><a href="Tangram/PredictOptions.html#to_json-instance_method" title="Tangram::PredictOptions#to_json (method)">#to_json</a></span>
|
474
514
|
<small>Tangram::PredictOptions</small>
|
@@ -476,7 +516,7 @@
|
|
476
516
|
</li>
|
477
517
|
|
478
518
|
|
479
|
-
<li class="
|
519
|
+
<li class="even ">
|
480
520
|
<div class="item">
|
481
521
|
<span class='object_link'><a href="Tangram/RegressionPredictOutput.html#to_json-instance_method" title="Tangram::RegressionPredictOutput#to_json (method)">#to_json</a></span>
|
482
522
|
<small>Tangram::RegressionPredictOutput</small>
|
@@ -484,7 +524,7 @@
|
|
484
524
|
</li>
|
485
525
|
|
486
526
|
|
487
|
-
<li class="
|
527
|
+
<li class="odd ">
|
488
528
|
<div class="item">
|
489
529
|
<span class='object_link'><a href="Tangram/BinaryClassificationPredictOutput.html#to_json-instance_method" title="Tangram::BinaryClassificationPredictOutput#to_json (method)">#to_json</a></span>
|
490
530
|
<small>Tangram::BinaryClassificationPredictOutput</small>
|
@@ -492,7 +532,7 @@
|
|
492
532
|
</li>
|
493
533
|
|
494
534
|
|
495
|
-
<li class="
|
535
|
+
<li class="even ">
|
496
536
|
<div class="item">
|
497
537
|
<span class='object_link'><a href="Tangram/MulticlassClassificationPredictOutput.html#to_json-instance_method" title="Tangram::MulticlassClassificationPredictOutput#to_json (method)">#to_json</a></span>
|
498
538
|
<small>Tangram::MulticlassClassificationPredictOutput</small>
|
@@ -500,7 +540,7 @@
|
|
500
540
|
</li>
|
501
541
|
|
502
542
|
|
503
|
-
<li class="
|
543
|
+
<li class="odd ">
|
504
544
|
<div class="item">
|
505
545
|
<span class='object_link'><a href="Tangram/Unigram.html#token-instance_method" title="Tangram::Unigram#token (method)">#token</a></span>
|
506
546
|
<small>Tangram::Unigram</small>
|
@@ -508,7 +548,7 @@
|
|
508
548
|
</li>
|
509
549
|
|
510
550
|
|
511
|
-
<li class="
|
551
|
+
<li class="even ">
|
512
552
|
<div class="item">
|
513
553
|
<span class='object_link'><a href="Tangram/Bigram.html#token_a-instance_method" title="Tangram::Bigram#token_a (method)">#token_a</a></span>
|
514
554
|
<small>Tangram::Bigram</small>
|
@@ -516,7 +556,7 @@
|
|
516
556
|
</li>
|
517
557
|
|
518
558
|
|
519
|
-
<li class="
|
559
|
+
<li class="odd ">
|
520
560
|
<div class="item">
|
521
561
|
<span class='object_link'><a href="Tangram/Bigram.html#token_b-instance_method" title="Tangram::Bigram#token_b (method)">#token_b</a></span>
|
522
562
|
<small>Tangram::Bigram</small>
|
@@ -524,7 +564,7 @@
|
|
524
564
|
</li>
|
525
565
|
|
526
566
|
|
527
|
-
<li class="
|
567
|
+
<li class="even ">
|
528
568
|
<div class="item">
|
529
569
|
<span class='object_link'><a href="Tangram/RegressionPredictOutput.html#value-instance_method" title="Tangram::RegressionPredictOutput#value (method)">#value</a></span>
|
530
570
|
<small>Tangram::RegressionPredictOutput</small>
|
@@ -532,7 +572,7 @@
|
|
532
572
|
</li>
|
533
573
|
|
534
574
|
|
535
|
-
<li class="
|
575
|
+
<li class="odd ">
|
536
576
|
<div class="item">
|
537
577
|
<span class='object_link'><a href="Tangram/WordEmbeddingFeatureContribution.html#value_index-instance_method" title="Tangram::WordEmbeddingFeatureContribution#value_index (method)">#value_index</a></span>
|
538
578
|
<small>Tangram::WordEmbeddingFeatureContribution</small>
|
@@ -540,7 +580,7 @@
|
|
540
580
|
</li>
|
541
581
|
|
542
582
|
|
543
|
-
<li class="
|
583
|
+
<li class="even ">
|
544
584
|
<div class="item">
|
545
585
|
<span class='object_link'><a href="Tangram/OneHotEncodedFeatureContribution.html#variant-instance_method" title="Tangram::OneHotEncodedFeatureContribution#variant (method)">#variant</a></span>
|
546
586
|
<small>Tangram::OneHotEncodedFeatureContribution</small>
|