Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8247797
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 7, 20262026-06-07T22:58:27+00:00 2026-06-07T22:58:27+00:00

I am working on model that build in Weka Model1.model, then when I run

  • 0

I am working on model that build in Weka “Model1.model”, then when I run my application in c# using this statement
weka.core.SerializationHelper.read(“Model1.model”);

I get this error
Unable to cast object of type ‘java.util.ArrayList’ to type ‘weka.core.FastVector’.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-07T22:58:28+00:00Added an answer on June 7, 2026 at 10:58 pm

    I have the same problem.

    I built a MLP model using Weka, and saved this as MLPModel.model.

    When I try to read it in C# code below:

    weka.classifiers.functions.MultilayerPerceptron cl = (weka.classifiers.functions.MultilayerPerceptron)weka.core.SerializationHelper.read("..\\..\\MLPModel.model");
    

    It outputs the following error: Unable to cast object of type ‘java.util.ArrayList’ to type ‘weka.core.FastVector’.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working with a Django model that looks like this: class Subscription(models.Model): user
i am working on an application that displays read-only data i am shipping. it
I'm working on a small picture application. That I'm trying to do is build
I am working on a database model that will hold meta data about a
I'm working with an existing EF data model that includes subclassed objects. That works
I am working on a app in CI, I have a model that inserts
I'm working on a program that makes a graphical model of Conway's Game of
I'm working on an iPhone app that requires a basic client/server interaction model. For
I'm working on an app that does some web scraping. In the sites model,
The following produces a working select drop down that pulls from my user model:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.