tangram 0.6.1 → 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.
Files changed (36) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +4 -4
  3. data/docs/Tangram.html +4 -3
  4. data/docs/Tangram/BagOfWordsCosineSimilarityFeatureContribution.html +24 -13
  5. data/docs/Tangram/BagOfWordsFeatureContribution.html +24 -13
  6. data/docs/Tangram/Bigram.html +16 -9
  7. data/docs/Tangram/BinaryClassificationPredictOutput.html +20 -11
  8. data/docs/Tangram/FeatureContributions.html +20 -11
  9. data/docs/Tangram/IdentityFeatureContribution.html +20 -11
  10. data/docs/Tangram/LibTangram.html +2 -2
  11. data/docs/Tangram/LibTangram/TangramStringView.html +2 -2
  12. data/docs/Tangram/LoadModelOptions.html +12 -7
  13. data/docs/Tangram/Model.html +83 -43
  14. data/docs/Tangram/MulticlassClassificationPredictOutput.html +24 -13
  15. data/docs/Tangram/NormalizedFeatureContribution.html +20 -11
  16. data/docs/Tangram/OneHotEncodedFeatureContribution.html +24 -13
  17. data/docs/Tangram/PredictOptions.html +16 -9
  18. data/docs/Tangram/RegressionPredictOutput.html +16 -9
  19. data/docs/Tangram/Unigram.html +12 -7
  20. data/docs/Tangram/WordEmbeddingFeatureContribution.html +20 -11
  21. data/docs/_index.html +2 -2
  22. data/docs/file.README.html +14 -13
  23. data/docs/index.html +14 -13
  24. data/docs/top-level-namespace.html +2 -2
  25. data/examples/advanced/README.md +1 -1
  26. data/examples/advanced/main.rb +1 -1
  27. data/lib/tangram/libtangram/aarch64-apple-darwin/libtangram.dylib +0 -0
  28. data/lib/tangram/libtangram/aarch64-unknown-linux-gnu/libtangram.so +0 -0
  29. data/lib/tangram/libtangram/aarch64-unknown-linux-musl/libtangram.so +0 -0
  30. data/lib/tangram/libtangram/x86_64-apple-darwin/libtangram.dylib +0 -0
  31. data/lib/tangram/libtangram/x86_64-pc-windows-msvc/tangram.dll +0 -0
  32. data/lib/tangram/libtangram/x86_64-unknown-linux-gnu/libtangram.so +0 -0
  33. data/lib/tangram/libtangram/x86_64-unknown-linux-musl/libtangram.so +0 -0
  34. data/lib/tangram/tangram.rb +4 -4
  35. data/tangram.gemspec +4 -4
  36. metadata +4 -4
@@ -101,7 +101,8 @@
101
101
 
102
102
  <h2>Overview</h2><div class="docstring">
103
103
  <div class="discussion">
104
- <p>This is a description of the feature contributions for the prediction if the task is regression or binary classification, or for a single class if the task is multiclass classification.</p>
104
+
105
+ <p>This is a description of the feature contributions for the prediction if the task is regression or binary classification, or for a single class if the task is multiclass classification.</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'><p>This is the value the model would output if all features had baseline values.</p>
142
+ <span class="summary_desc"><div class='inline'>
143
+ <p>This is the value the model would output if all features had baseline values.</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'><p>This list will contain one entry for each of the model&#39;s features.</p>
171
+ <span class="summary_desc"><div class='inline'>
172
+ <p>This list will contain one entry for each of the model&#39;s features.</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'><p>This is the value the model output.</p>
200
+ <span class="summary_desc"><div class='inline'>
201
+ <p>This is the value the model output.</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'><p>A new instance of FeatureContributions.</p>
239
+ <span class="summary_desc"><div class='inline'>
240
+ <p>A new instance of FeatureContributions.</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
- <p>Returns a new instance of FeatureContributions.</p>
263
+
264
+ <p>Returns a new instance of FeatureContributions.</p>
259
265
 
260
266
 
261
267
  </div>
@@ -306,7 +312,8 @@
306
312
 
307
313
  </h3><div class="docstring">
308
314
  <div class="discussion">
309
- <p>This is the value the model would output if all features had baseline values.</p>
315
+
316
+ <p>This is the value the model would output if all features had baseline values.</p>
310
317
 
311
318
 
312
319
  </div>
@@ -348,7 +355,8 @@
348
355
 
349
356
  </h3><div class="docstring">
350
357
  <div class="discussion">
351
- <p>This list will contain one entry for each of the model&#39;s features. Note that features are computed from columns, so there will likely be more features than columns.</p>
358
+
359
+ <p>This list will contain one entry for each of the model&#39;s features. Note that features are computed from columns, so there will likely be more features than columns.</p>
352
360
 
353
361
 
354
362
  </div>
@@ -390,7 +398,8 @@
390
398
 
391
399
  </h3><div class="docstring">
392
400
  <div class="discussion">
393
- <p>This is the value the model output. Any difference from the <code>baseline_value</code> is because of the deviation of the features from their baseline values.</p>
401
+
402
+ <p>This is the value the model output. Any difference from the <code>baseline_value</code> is because of the deviation of the features from their baseline values.</p>
394
403
 
395
404
 
396
405
  </div>
@@ -425,9 +434,9 @@
425
434
  </div>
426
435
 
427
436
  <div id="footer">
428
- Generated on Thu Jul 15 14:34:34 2021 by
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.7.3).
439
+ 0.9.26 (ruby-2.7.4).
431
440
  </div>
432
441
 
433
442
  </div>
@@ -101,7 +101,8 @@
101
101
 
102
102
  <h2>Overview</h2><div class="docstring">
103
103
  <div class="discussion">
104
- <p>This describes the contribution of a feature from an identity feature group.</p>
104
+
105
+ <p>This describes the contribution of a feature from an identity 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'><p>This is the name of the source column for the feature group.</p>
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'><p>This is the amount that the feature contributed to the output.</p>
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'><p>This is the value of the feature.</p>
200
+ <span class="summary_desc"><div class='inline'>
201
+ <p>This is the value of the feature.</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'><p>A new instance of IdentityFeatureContribution.</p>
239
+ <span class="summary_desc"><div class='inline'>
240
+ <p>A new instance of IdentityFeatureContribution.</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
- <p>Returns a new instance of IdentityFeatureContribution.</p>
263
+
264
+ <p>Returns a new instance of IdentityFeatureContribution.</p>
259
265
 
260
266
 
261
267
  </div>
@@ -306,7 +312,8 @@
306
312
 
307
313
  </h3><div class="docstring">
308
314
  <div class="discussion">
309
- <p>This is the name of the source column for the feature group.</p>
315
+
316
+ <p>This is the name of the source column for the feature group.</p>
310
317
 
311
318
 
312
319
  </div>
@@ -348,7 +355,8 @@
348
355
 
349
356
  </h3><div class="docstring">
350
357
  <div class="discussion">
351
- <p>This is the amount that the feature contributed to the output.</p>
358
+
359
+ <p>This is the amount that the feature contributed to the output.</p>
352
360
 
353
361
 
354
362
  </div>
@@ -390,7 +398,8 @@
390
398
 
391
399
  </h3><div class="docstring">
392
400
  <div class="discussion">
393
- <p>This is the value of the feature.</p>
401
+
402
+ <p>This is the value of the feature.</p>
394
403
 
395
404
 
396
405
  </div>
@@ -425,9 +434,9 @@
425
434
  </div>
426
435
 
427
436
  <div id="footer">
428
- Generated on Thu Jul 15 14:34:34 2021 by
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.7.3).
439
+ 0.9.26 (ruby-2.7.4).
431
440
  </div>
432
441
 
433
442
  </div>
@@ -151,9 +151,9 @@
151
151
  </div>
152
152
 
153
153
  <div id="footer">
154
- Generated on Thu Jul 15 14:34:33 2021 by
154
+ Generated on Mon Jul 26 14:54:00 2021 by
155
155
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
156
- 0.9.26 (ruby-2.7.3).
156
+ 0.9.26 (ruby-2.7.4).
157
157
  </div>
158
158
 
159
159
  </div>
@@ -183,9 +183,9 @@
183
183
  </div>
184
184
 
185
185
  <div id="footer">
186
- Generated on Thu Jul 15 14:34:34 2021 by
186
+ Generated on Mon Jul 26 14:54:00 2021 by
187
187
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
188
- 0.9.26 (ruby-2.7.3).
188
+ 0.9.26 (ruby-2.7.4).
189
189
  </div>
190
190
 
191
191
  </div>
@@ -101,7 +101,8 @@
101
101
 
102
102
  <h2>Overview</h2><div class="docstring">
103
103
  <div class="discussion">
104
- <p>These are the options passed when loading a model.</p>
104
+
105
+ <p>These are the options passed when loading a model.</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'><p>If you are running the app locally or on your own server, use this field to provide the url to it.</p>
142
+ <span class="summary_desc"><div class='inline'>
143
+ <p>If you are running the app locally or on your own server, use this field to provide the url to it.</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'><p>A new instance of LoadModelOptions.</p>
181
+ <span class="summary_desc"><div class='inline'>
182
+ <p>A new instance of LoadModelOptions.</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
- <p>Returns a new instance of LoadModelOptions.</p>
205
+
206
+ <p>Returns a new instance of LoadModelOptions.</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
- <p>If you are running the app locally or on your own server, use this field to provide the url to it. If not specified, the default value is <a href="https://app.tangram.xyz">https://app.tangram.xyz</a>.</p>
253
+
254
+ <p>If you are running the app locally or on your own server, use this field to provide the url to it. If not specified, the default value is <a href="https://app.tangram.dev">app.tangram.dev</a>.</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 Thu Jul 15 14:34:33 2021 by
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.7.3).
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
- <p>Use this class to load a model, make predictions, and log events to the app.</p>
104
+
105
+ <p>Use this class to load a model, make predictions, and log events to the app.</p>
105
106
 
106
107
 
107
108
  </div>
@@ -141,7 +142,8 @@
141
142
 
142
143
 
143
144
 
144
- <span class="summary_desc"><div class='inline'><p>Load a model from bytes instead of a file.</p>
145
+ <span class="summary_desc"><div class='inline'>
146
+ <p>Load a model from bytes instead of a file.</p>
145
147
  </div></span>
146
148
 
147
149
  </li>
@@ -164,7 +166,8 @@
164
166
 
165
167
 
166
168
 
167
- <span class="summary_desc"><div class='inline'><p>Load a model from the <code>.tangram</code> file at <code>path</code>.</p>
169
+ <span class="summary_desc"><div class='inline'>
170
+ <p>Load a model from the <code>.tangram</code> file at <code>path</code>.</p>
168
171
  </div></span>
169
172
 
170
173
  </li>
@@ -196,7 +199,8 @@
196
199
 
197
200
 
198
201
 
199
- <span class="summary_desc"><div class='inline'><p>Add a prediction event to the queue.</p>
202
+ <span class="summary_desc"><div class='inline'>
203
+ <p>Add a prediction event to the queue.</p>
200
204
  </div></span>
201
205
 
202
206
  </li>
@@ -219,7 +223,8 @@
219
223
 
220
224
 
221
225
 
222
- <span class="summary_desc"><div class='inline'><p>Add a true value event to the queue.</p>
226
+ <span class="summary_desc"><div class='inline'>
227
+ <p>Add a true value event to the queue.</p>
223
228
  </div></span>
224
229
 
225
230
  </li>
@@ -242,7 +247,8 @@
242
247
 
243
248
 
244
249
 
245
- <span class="summary_desc"><div class='inline'><p>Send all events in the queue to the app.</p>
250
+ <span class="summary_desc"><div class='inline'>
251
+ <p>Send all events in the queue to the app.</p>
246
252
  </div></span>
247
253
 
248
254
  </li>
@@ -265,7 +271,8 @@
265
271
 
266
272
 
267
273
 
268
- <span class="summary_desc"><div class='inline'><p>Retrieve the model&#39;s id.</p>
274
+ <span class="summary_desc"><div class='inline'>
275
+ <p>Retrieve the model&#39;s id.</p>
269
276
  </div></span>
270
277
 
271
278
  </li>
@@ -290,7 +297,8 @@
290
297
 
291
298
 
292
299
 
293
- <span class="summary_desc"><div class='inline'><p>A new instance of Model.</p>
300
+ <span class="summary_desc"><div class='inline'>
301
+ <p>A new instance of Model.</p>
294
302
  </div></span>
295
303
 
296
304
  </li>
@@ -313,7 +321,8 @@
313
321
 
314
322
 
315
323
 
316
- <span class="summary_desc"><div class='inline'><p>Send a prediction event to the app.</p>
324
+ <span class="summary_desc"><div class='inline'>
325
+ <p>Send a prediction event to the app.</p>
317
326
  </div></span>
318
327
 
319
328
  </li>
@@ -336,7 +345,8 @@
336
345
 
337
346
 
338
347
 
339
- <span class="summary_desc"><div class='inline'><p>Send a true value event to the app.</p>
348
+ <span class="summary_desc"><div class='inline'>
349
+ <p>Send a true value event to the app.</p>
340
350
  </div></span>
341
351
 
342
352
  </li>
@@ -359,7 +369,8 @@
359
369
 
360
370
 
361
371
 
362
- <span class="summary_desc"><div class='inline'><p>Make a prediction!.</p>
372
+ <span class="summary_desc"><div class='inline'>
373
+ <p>Make a prediction!.</p>
363
374
  </div></span>
364
375
 
365
376
  </li>
@@ -382,7 +393,8 @@
382
393
 
383
394
  </h3><div class="docstring">
384
395
  <div class="discussion">
385
- <p>Returns a new instance of Model.</p>
396
+
397
+ <p>Returns a new instance of Model.</p>
386
398
 
387
399
 
388
400
  </div>
@@ -406,7 +418,7 @@
406
418
  <pre class="code"><span class="info file"># File 'lib/tangram/tangram.rb', line 257</span>
407
419
 
408
420
  <span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span><span class='lparen'>(</span><span class='id identifier rubyid_c_model'>c_model</span><span class='comma'>,</span> <span class='label'>options:</span> <span class='kw'>nil</span><span class='rparen'>)</span>
409
- <span class='ivar'>@tangram_url</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='op'>&amp;.</span><span class='id identifier rubyid_tangram_url'>tangram_url</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>https://app.tangram.xyz</span><span class='tstring_end'>&#39;</span></span> <span class='op'>:</span> <span class='id identifier rubyid_options'>options</span><span class='op'>&amp;.</span><span class='id identifier rubyid_tangram_url'>tangram_url</span>
421
+ <span class='ivar'>@tangram_url</span> <span class='op'>=</span> <span class='id identifier rubyid_options'>options</span><span class='op'>&amp;.</span><span class='id identifier rubyid_tangram_url'>tangram_url</span><span class='period'>.</span><span class='id identifier rubyid_nil?'>nil?</span> <span class='op'>?</span> <span class='tstring'><span class='tstring_beg'>&#39;</span><span class='tstring_content'>https://app.tangram.dev</span><span class='tstring_end'>&#39;</span></span> <span class='op'>:</span> <span class='id identifier rubyid_options'>options</span><span class='op'>&amp;.</span><span class='id identifier rubyid_tangram_url'>tangram_url</span>
410
422
  <span class='ivar'>@log_queue</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
411
423
  <span class='ivar'>@model</span> <span class='op'>=</span> <span class='const'>FFI</span><span class='op'>::</span><span class='const'>AutoPointer</span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span><span class='lparen'>(</span><span class='id identifier rubyid_c_model'>c_model</span><span class='period'>.</span><span class='id identifier rubyid_read_pointer'>read_pointer</span><span class='comma'>,</span> <span class='const'><span class='object_link'><a href="LibTangram.html" title="Tangram::LibTangram (module)">LibTangram</a></span></span><span class='period'>.</span><span class='id identifier rubyid_method'>method</span><span class='lparen'>(</span><span class='symbol'>:tangram_model_delete</span><span class='rparen'>)</span><span class='rparen'>)</span>
412
424
  <span class='kw'>end</span></pre>
@@ -433,7 +445,8 @@
433
445
 
434
446
  </h3><div class="docstring">
435
447
  <div class="discussion">
436
- <p>Load a model from bytes instead of a file. You should use this only if you already have a <code>.tangram</code> loaded into memory. Otherwise, use <code>Model.from_path</code>, which is faster because it memory maps the file.</p>
448
+
449
+ <p>Load a model from bytes instead of a file. You should use this only if you already have a <code>.tangram</code> loaded into memory. Otherwise, use <code>Model.from_path</code>, which is faster because it memory maps the file.</p>
437
450
 
438
451
 
439
452
  </div>
@@ -452,7 +465,8 @@
452
465
 
453
466
 
454
467
  &mdash;
455
- <div class='inline'><p>The bytes for the .tangram model.</p>
468
+ <div class='inline'>
469
+ <p>The bytes for the .tangram model.</p>
456
470
  </div>
457
471
 
458
472
  </li>
@@ -469,7 +483,8 @@
469
483
 
470
484
 
471
485
  &mdash;
472
- <div class='inline'><p>The options to use when loading the model.</p>
486
+ <div class='inline'>
487
+ <p>The options to use when loading the model.</p>
473
488
  </div>
474
489
 
475
490
  </li>
@@ -538,7 +553,8 @@
538
553
 
539
554
  </h3><div class="docstring">
540
555
  <div class="discussion">
541
- <p>Load a model from the <code>.tangram</code> file at <code>path</code>.</p>
556
+
557
+ <p>Load a model from the <code>.tangram</code> file at <code>path</code>.</p>
542
558
 
543
559
 
544
560
  </div>
@@ -557,7 +573,8 @@
557
573
 
558
574
 
559
575
  &mdash;
560
- <div class='inline'><p>The path to the <code>.tangram</code> file.</p>
576
+ <div class='inline'>
577
+ <p>The path to the <code>.tangram</code> file.</p>
561
578
  </div>
562
579
 
563
580
  </li>
@@ -574,7 +591,8 @@
574
591
 
575
592
 
576
593
  &mdash;
577
- <div class='inline'><p>The options to use when loading the model.</p>
594
+ <div class='inline'>
595
+ <p>The options to use when loading the model.</p>
578
596
  </div>
579
597
 
580
598
  </li>
@@ -649,7 +667,8 @@
649
667
 
650
668
  </h3><div class="docstring">
651
669
  <div class="discussion">
652
- <p>Add a prediction event to the queue. Remember to call <code>flush_log_queue</code> at a later point to send the event to the app.</p>
670
+
671
+ <p>Add a prediction event to the queue. Remember to call <code>flush_log_queue</code> at a later point to send the event to the app.</p>
653
672
 
654
673
 
655
674
  </div>
@@ -668,7 +687,8 @@
668
687
 
669
688
 
670
689
  &mdash;
671
- <div class='inline'><p>This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.</p>
690
+ <div class='inline'>
691
+ <p>This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.</p>
672
692
  </div>
673
693
 
674
694
  </li>
@@ -683,7 +703,8 @@
683
703
 
684
704
 
685
705
  &mdash;
686
- <div class='inline'><p>A single <code>PredictInput</code>.</p>
706
+ <div class='inline'>
707
+ <p>A single <code>PredictInput</code>.</p>
687
708
  </div>
688
709
 
689
710
  </li>
@@ -698,7 +719,8 @@
698
719
 
699
720
 
700
721
  &mdash;
701
- <div class='inline'><p>A single <code>PredictOutput</code>.</p>
722
+ <div class='inline'>
723
+ <p>A single <code>PredictOutput</code>.</p>
702
724
  </div>
703
725
 
704
726
  </li>
@@ -715,7 +737,8 @@
715
737
 
716
738
 
717
739
  &mdash;
718
- <div class='inline'><p>This is the same <code>predictOptions</code> value that you passed to <code>predict</code>.</p>
740
+ <div class='inline'>
741
+ <p>This is the same <code>predictOptions</code> value that you passed to <code>predict</code>.</p>
719
742
  </div>
720
743
 
721
744
  </li>
@@ -767,7 +790,8 @@
767
790
 
768
791
  </h3><div class="docstring">
769
792
  <div class="discussion">
770
- <p>Add a true value event to the queue. Remember to call <code>flush_log_queue</code> at a later point to send the event to the app.</p>
793
+
794
+ <p>Add a true value event to the queue. Remember to call <code>flush_log_queue</code> at a later point to send the event to the app.</p>
771
795
 
772
796
 
773
797
  </div>
@@ -786,7 +810,8 @@
786
810
 
787
811
 
788
812
  &mdash;
789
- <div class='inline'><p>This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.</p>
813
+ <div class='inline'>
814
+ <p>This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.</p>
790
815
  </div>
791
816
 
792
817
  </li>
@@ -801,7 +826,8 @@
801
826
 
802
827
 
803
828
  &mdash;
804
- <div class='inline'><p>This is the true value for the prediction.</p>
829
+ <div class='inline'>
830
+ <p>This is the true value for the prediction.</p>
805
831
  </div>
806
832
 
807
833
  </li>
@@ -849,7 +875,8 @@
849
875
 
850
876
  </h3><div class="docstring">
851
877
  <div class="discussion">
852
- <p>Send all events in the queue to the app.</p>
878
+
879
+ <p>Send all events in the queue to the app.</p>
853
880
 
854
881
 
855
882
  </div>
@@ -891,7 +918,8 @@
891
918
 
892
919
  </h3><div class="docstring">
893
920
  <div class="discussion">
894
- <p>Retrieve the model&#39;s id.</p>
921
+
922
+ <p>Retrieve the model&#39;s id.</p>
895
923
 
896
924
 
897
925
  </div>
@@ -935,7 +963,8 @@
935
963
 
936
964
  </h3><div class="docstring">
937
965
  <div class="discussion">
938
- <p>Send a prediction event to the app. If you want to batch events, you can use <code>enqueue_log_prediction</code> instead.</p>
966
+
967
+ <p>Send a prediction event to the app. If you want to batch events, you can use <code>enqueue_log_prediction</code> instead.</p>
939
968
 
940
969
 
941
970
  </div>
@@ -954,7 +983,8 @@
954
983
 
955
984
 
956
985
  &mdash;
957
- <div class='inline'><p>This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.</p>
986
+ <div class='inline'>
987
+ <p>This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.</p>
958
988
  </div>
959
989
 
960
990
  </li>
@@ -969,7 +999,8 @@
969
999
 
970
1000
 
971
1001
  &mdash;
972
- <div class='inline'><p>A single <code>PredictInput</code>.</p>
1002
+ <div class='inline'>
1003
+ <p>A single <code>PredictInput</code>.</p>
973
1004
  </div>
974
1005
 
975
1006
  </li>
@@ -984,7 +1015,8 @@
984
1015
 
985
1016
 
986
1017
  &mdash;
987
- <div class='inline'><p>A single <code>PredictOutput</code>.</p>
1018
+ <div class='inline'>
1019
+ <p>A single <code>PredictOutput</code>.</p>
988
1020
  </div>
989
1021
 
990
1022
  </li>
@@ -1001,7 +1033,8 @@
1001
1033
 
1002
1034
 
1003
1035
  &mdash;
1004
- <div class='inline'><p>This is the same <code>predictOptions</code> value that you passed to <code>predict</code>.</p>
1036
+ <div class='inline'>
1037
+ <p>This is the same <code>predictOptions</code> value that you passed to <code>predict</code>.</p>
1005
1038
  </div>
1006
1039
 
1007
1040
  </li>
@@ -1053,7 +1086,8 @@
1053
1086
 
1054
1087
  </h3><div class="docstring">
1055
1088
  <div class="discussion">
1056
- <p>Send a true value event to the app. If you want to batch events, you can use <code>enqueue_log_true_value</code> instead.</p>
1089
+
1090
+ <p>Send a true value event to the app. If you want to batch events, you can use <code>enqueue_log_true_value</code> instead.</p>
1057
1091
 
1058
1092
 
1059
1093
  </div>
@@ -1072,7 +1106,8 @@
1072
1106
 
1073
1107
 
1074
1108
  &mdash;
1075
- <div class='inline'><p>This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.</p>
1109
+ <div class='inline'>
1110
+ <p>This is a unique identifier for the prediction, which will associate it with a true value event and allow you to look it up in the app.</p>
1076
1111
  </div>
1077
1112
 
1078
1113
  </li>
@@ -1087,7 +1122,8 @@
1087
1122
 
1088
1123
 
1089
1124
  &mdash;
1090
- <div class='inline'><p>This is the true value for the prediction.</p>
1125
+ <div class='inline'>
1126
+ <p>This is the true value for the prediction.</p>
1091
1127
  </div>
1092
1128
 
1093
1129
  </li>
@@ -1135,7 +1171,8 @@
1135
1171
 
1136
1172
  </h3><div class="docstring">
1137
1173
  <div class="discussion">
1138
- <p>Make a prediction!</p>
1174
+
1175
+ <p>Make a prediction!</p>
1139
1176
 
1140
1177
 
1141
1178
  </div>
@@ -1154,7 +1191,8 @@
1154
1191
 
1155
1192
 
1156
1193
  &mdash;
1157
- <div class='inline'><p>A predict input is either a single predict input which is a map from symbols or strings to strings or floats or an array of such maps. The keys should match the columns in the CSV file you trained your model with.</p>
1194
+ <div class='inline'>
1195
+ <p>A predict input is either a single predict input which is a map from symbols or strings to strings or floats or an array of such maps. The keys should match the columns in the CSV file you trained your model with.</p>
1158
1196
  </div>
1159
1197
 
1160
1198
  </li>
@@ -1171,7 +1209,8 @@
1171
1209
 
1172
1210
 
1173
1211
  &mdash;
1174
- <div class='inline'><p>These are the predict options.</p>
1212
+ <div class='inline'>
1213
+ <p>These are the predict options.</p>
1175
1214
  </div>
1176
1215
 
1177
1216
  </li>
@@ -1189,7 +1228,8 @@
1189
1228
 
1190
1229
 
1191
1230
  &mdash;
1192
- <div class='inline'><p>. Return a single output if <code>input</code> was a single input, or an array if <code>input</code> was an array of <code>input</code>s.</p>
1231
+ <div class='inline'>
1232
+ <p>. Return a single output if <code>input</code> was a single input, or an array if <code>input</code> was an array of <code>input</code>s.</p>
1193
1233
  </div>
1194
1234
 
1195
1235
  </li>
@@ -1240,9 +1280,9 @@
1240
1280
  </div>
1241
1281
 
1242
1282
  <div id="footer">
1243
- Generated on Thu Jul 15 14:34:34 2021 by
1283
+ Generated on Mon Jul 26 14:54:00 2021 by
1244
1284
  <a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
1245
- 0.9.26 (ruby-2.7.3).
1285
+ 0.9.26 (ruby-2.7.4).
1246
1286
  </div>
1247
1287
 
1248
1288
  </div>