File tree 4 files changed +10
-1
lines changed
main/java/com/arangodb/internal/velocypack
4 files changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -101,6 +101,13 @@ for a in ${COORDINATORS[*]} ; do
101
101
curl -u root:test --insecure --fail " $SCHEME ://$a /_api/version"
102
102
done
103
103
104
+ echo " "
105
+ echo " "
106
+ echo " Copying test ML models into containers..."
107
+ for c in $( docker ps -a -f name=adb-.* -q) ; do
108
+ docker cp " $LOCATION " /foo.bin " $c " :/tmp
109
+ done
110
+
104
111
echo " "
105
112
echo " "
106
113
echo " Done, your deployment is reachable at: "
Original file line number Diff line number Diff line change @@ -102,6 +102,8 @@ public class VPackDeserializers {
102
102
return context .deserialize (vpack , SegmentationAnalyzer .class );
103
103
case collation :
104
104
return context .deserialize (vpack , CollationAnalyzer .class );
105
+ case classification :
106
+ return context .deserialize (vpack , ClassificationAnalyzer .class );
105
107
default :
106
108
throw new IllegalArgumentException ("Unknown analyzer type: " + type );
107
109
}
Original file line number Diff line number Diff line change @@ -994,7 +994,7 @@ void classificationAnalyzer(ArangoDatabase db) {
994
994
assumeTrue (isEnterprise ());
995
995
996
996
ClassificationAnalyzerProperties properties = new ClassificationAnalyzerProperties ();
997
- properties .setModelLocation ("/foo/bar " );
997
+ properties .setModelLocation ("/tmp/foo.bin " );
998
998
properties .setTopK (2 );
999
999
properties .setThreshold (.5 );
1000
1000
You can’t perform that action at this time.
0 commit comments