Zingg Training Error: Insufficient Training Data Showing 0 Matches Despite Labeling 76 Matches and 41 Non-Matches
Hi Team, I am running the zingg and have labelled the data during the training phase getTrainingData
You have labeled 76 matches and 41 non-matches.
If you need more pairs to label, re-start the iteration loop.But then I am running trainMatch and it is giving me the error:
['--phase', 'trainMatch']
arguments for client options are ['--phase', 'trainMatch', '--license', 'zinggLic.txt', '--email', 'zingg@zingg.ai', '--conf', 'dummyConf.json']
Py4JJavaError: An error occurred while calling o518.execute.
: zingg.common.client.ZinggClientException: Unable to train as insufficient training data found. Training data has 0 matches and 17 non matches. Please run findTrainingData and label till you have sufficient labelled data to build the models
at zingg.common.core.executor.Trainer.verifyTraining(Trainer.java:78)
at zingg.common.core.executor.Trainer.execute(Trainer.java:37)
at zingg.common.core.executor.TrainMatcher.execute(TrainMatcher.java:34)
at zingg.common.client.Client.execute(Client.java:251)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:498)
at py4j.reflection.MethodInvoker.invoke(MethodInvoker.java:244)
at py4j.reflection.ReflectionEngine.invoke(ReflectionEngine.java:397)
at py4j.Gateway.invoke(Gateway.java:306)
at py4j.commands.AbstractCommand.invokeMethod(AbstractCommand.java:132)
at py4j.commands.CallCommand.execute(CallCommand.java:79)
at py4j.ClientServerConnection.waitForCommands(ClientServerConnection.java:199)
at py4j.ClientServerConnection.run(ClientServerConnection.java:119)
at java.lang.Thread.run(Thread.java:750)
File <command-3095877016256703>, line 9
5 options = ClientOptions([ClientOptions.PHASE, "trainMatch"])
7 zingg = ZinggWithSpark(args, options)
----> 9 zingg.initAndExecute()
File /databricks/spark/python/lib/py4j-0.10.9.7-src.zip/py4j/protocol.py:326, in get_return_value(answer, gateway_client, target_id, name)
324 value = OUTPUT_CONVERTER[type](answer[2:], gateway_client)
325 if answer[1] == REFERENCE_TYPE:
--> 326 raise Py4JJavaError(
327 "An error occurred while calling {0}{1}{2}.\n".
328 format(target_id, ".", name), value)
329 else:
330 raise Py4JError(
331 "An error occurred while calling {0}{1}{2}. Trace:\n{3}\n".
332 format(target_id, ".", name, value))Can someone please help seems it is going to wrong path and dont know from where it is getting 0 matched and 17 non matches?