tangram 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/README.md +3 -27
- data/docs/Tangram.html +3 -3
- data/docs/Tangram/BagOfWordsCosineSimilarityFeatureContribution.html +507 -0
- data/docs/Tangram/BagOfWordsFeatureContribution.html +2 -2
- data/docs/Tangram/Bigram.html +2 -2
- data/docs/Tangram/BinaryClassificationPredictOutput.html +2 -2
- data/docs/Tangram/FeatureContributions.html +2 -2
- data/docs/Tangram/IdentityFeatureContribution.html +2 -2
- data/docs/Tangram/LibTangram.html +3 -2
- data/docs/Tangram/LibTangram/TangramStringView.html +6 -6
- data/docs/Tangram/LoadModelOptions.html +2 -2
- data/docs/Tangram/Model.html +92 -92
- data/docs/Tangram/MulticlassClassificationPredictOutput.html +2 -2
- data/docs/Tangram/NormalizedFeatureContribution.html +2 -2
- data/docs/Tangram/OneHotEncodedFeatureContribution.html +2 -2
- data/docs/Tangram/PredictOptions.html +2 -2
- data/docs/Tangram/RegressionPredictOutput.html +2 -2
- data/docs/Tangram/Unigram.html +2 -2
- data/docs/Tangram/WordEmbeddingFeatureContribution.html +20 -20
- data/docs/_index.html +9 -2
- data/docs/class_list.html +1 -1
- data/docs/file.README.html +5 -27
- data/docs/index.html +5 -27
- 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} +0 -0
- 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/tangram.gemspec +1 -1
- metadata +12 -4
@@ -100,9 +100,9 @@
|
|
100
100
|
</div>
|
101
101
|
|
102
102
|
<div id="footer">
|
103
|
-
Generated on
|
103
|
+
Generated on Thu Jul 1 17:11:32 2021 by
|
104
104
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
105
|
-
0.9.26 (ruby-2.
|
105
|
+
0.9.26 (ruby-2.7.3).
|
106
106
|
</div>
|
107
107
|
|
108
108
|
</div>
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# Advanced
|
2
|
+
|
3
|
+
This example demonstrates logging predictions and true values to the Tangram app. Before running the example, run `tangram app` to start the app running locally, open `http://localhost:8080` in your browser, and upload the file `heart_disease.tangram` to it.
|
4
|
+
|
5
|
+
To run the example:
|
6
|
+
|
7
|
+
```
|
8
|
+
$ bundle
|
9
|
+
$ TANGRAM_URL=http://localhost:8080 ruby main.rb
|
10
|
+
```
|
11
|
+
|
12
|
+
Now if you refresh the production stats or production metrics tabs for the model you uploaded, you should see predictions and true values.
|
13
|
+
|
14
|
+
For more information, [read the docs](https://www.tangram.xyz/docs).
|
File without changes
|
File without changes
|
Binary file
|
File without changes
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
data/tangram.gemspec
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
Gem::Specification.new do |s|
|
2
2
|
s.name = "tangram"
|
3
|
-
s.version = "0.
|
3
|
+
s.version = "0.5.0"
|
4
4
|
s.summary = "Tangram for Ruby"
|
5
5
|
s.description = "Make predictions with a Tangram model from your Ruby app. Learn more at https://www.tangram.xyz/."
|
6
6
|
s.authors = ["Tangram"]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tangram
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tangram
|
@@ -36,6 +36,7 @@ files:
|
|
36
36
|
- LICENSE
|
37
37
|
- README.md
|
38
38
|
- docs/Tangram.html
|
39
|
+
- docs/Tangram/BagOfWordsCosineSimilarityFeatureContribution.html
|
39
40
|
- docs/Tangram/BagOfWordsFeatureContribution.html
|
40
41
|
- docs/Tangram/Bigram.html
|
41
42
|
- docs/Tangram/BinaryClassificationPredictOutput.html
|
@@ -66,9 +67,16 @@ files:
|
|
66
67
|
- docs/js/jquery.js
|
67
68
|
- docs/method_list.html
|
68
69
|
- docs/top-level-namespace.html
|
69
|
-
- examples/advanced
|
70
|
-
- examples/
|
71
|
-
- examples/
|
70
|
+
- examples/advanced/Gemfile
|
71
|
+
- examples/advanced/Gemfile.lock
|
72
|
+
- examples/advanced/README.md
|
73
|
+
- examples/advanced/heart_disease.tangram
|
74
|
+
- examples/advanced/main.rb
|
75
|
+
- examples/basic/Gemfile
|
76
|
+
- examples/basic/Gemfile.lock
|
77
|
+
- examples/basic/README.md
|
78
|
+
- examples/basic/heart_disease.tangram
|
79
|
+
- examples/basic/main.rb
|
72
80
|
- lib/tangram.rb
|
73
81
|
- lib/tangram/libtangram/aarch64-apple-darwin/libtangram.dylib
|
74
82
|
- lib/tangram/libtangram/aarch64-unknown-linux-gnu/libtangram.so
|