Coder Social home page Coder Social logo

datumbox-framework-examples's People

Contributors

datumbox avatar dependabot[bot] avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

datumbox-framework-examples's Issues

an issue with LanguageDetection

I am trying to use Language Detection, however the framework detects any content as "hi" (Hindi). Here is the code I am using:

Configuration configuration = Configuration.getConfiguration();
InMemoryConfiguration storageConfiguration = new InMemoryConfiguration();
storageConfiguration.setDirectory("/Users/oal/Desktop/devsrc/main/resources/datumbox-framework-zoo-develop");
configuration.setStorageConfiguration(storageConfiguration);
TextClassifier textClassifier = MLBuilder.load(TextClassifier.class, "LanguageDetection", configuration);
return (String) textClassifier.predict(content).getYPredicted();

setFeatureSelectorTrainingParametersList error.

When I tried to execute the code.I'm getting following error near( setting) FeatureSelectorTrainingParametersList as follow

trainingParameters.setFeatureSelectorTrainingParametersList(Arrays.asList(new ChisquareSelect.TrainingParameters()));

The method setFeatureSelectorTrainingParametersList(List<AbstractTrainer.AbstractTrainingParameters>) in the type Modeler.TrainingParameters is not applicable for the arguments (List<ChisquareSelect.TrainingParameters>)

so, i changed the line as follow. trainingParameters.setFeatureSelectorTrainingParametersList((List) new ChisquareSelect.TrainingParameters());

I'm getting exception saying:
Exception in thread "main" java.lang.ClassCastException: com.datumbox.framework.core.machinelearning.featureselection.ChisquareSelect$TrainingParameters cannot be cast to java.util.List

Getting error when trying to run the Compiled main class from the Terminal?

I cloned the examples and wanted to run an example from the Terminal (working fine in Eclipse) getting following exception.

INFO c.d.f.c.d.Dataframe$Builder - Dataset Parsing negative class
Exception in thread "main" java.lang.IllegalArgumentException: URI is not hierarchical
at java.io.File.(File.java:418)
at com.datumbox.framework.common.dataobjects.Dataframe$Builder.parseTextFiles(Dataframe.java:93)
at com.datumbox.framework.applications.nlp.TextClassifier.fit(TextClassifier.java:143)
at com.datumbox.examples.TextClassification.main(TextClassification.java:99)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.