You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
-------------------
ACHE Crawler 0.15.0
-------------------
Preparing training data...
Positive samples: 169
Negative samples: 443
Featurizing positive samples...
Featurizing negative samples...
Selecting best features based on page frequency...
Training target classifier model...
Learning algorithm: SVM
Writting temporarily data file to: /config/sample_training_data/smile_input.arff
Failed to build model.
java.text.ParseException: Invalid attribute type or invalid enumeration
at smile.data.parser.ArffParser.parseAttribute(ArffParser.java:280)
at smile.data.parser.ArffParser.readHeader(ArffParser.java:210)
at smile.data.parser.ArffParser.parse(ArffParser.java:401)
at achecrawler.target.classifier.SmileTargetClassifierBuilder.trainModel(SmileTargetClassifierBuilder.java:40)
at achecrawler.target.classifier.TargetClassifierBuilder.train(TargetClassifierBuilder.java:110)
at achecrawler.Main$BuildModel.run(Main.java:182)
at achecrawler.Main.main(Main.java:59)
The text was updated successfully, but these errors were encountered:
I got to solve the issue, added a new library for multi-language detection (so you can define a list of target languages) and also added KNN algorithm as an option. The fork is available here https://github.com/mnavasloro/ache-multilingual
I get the following error when trying to build a model using the sample_data data (both locally and using Docker):
docker run -v \config:/config -v /data:/data -p 8080:8080 vidanyu/ache buildModel -c /config/sample_config/stopwords.txt -t /config/sample_training_data -o /config/sample_model
The problem seems to be the arff file generated.
The text was updated successfully, but these errors were encountered: