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

  • SEARCH
  • Home
  • 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 8264165
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T04:21:33+00:00 2026-06-08T04:21:33+00:00

I have locally trained a sklearn classifier and I have to create a simple

  • 0

I have locally trained a sklearn classifier and I have to create a simple web application that demonstrate its use. I’m a complete noob on web app development and I don’t want to waste hours on creating a web app using a framework that doesn’t support the modules I’m using.

  1. What do you suggest would be a good approach for this task?
  2. What web app development framework should I use (if any)?
  3. Do I have to dive into things like Heroku , django etc. or is there more simple and quicker solutions for a simple scientific demo?

My thought was to take the classifier I trained, pickle it and un-pickle it on the server, then to run classify from the server, but I’m not sure where to begin.

  • 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-08T04:21:34+00:00Added an answer on June 8, 2026 at 4:21 am

    If this is just for a demo, train your classifier offline, pickle the model and then use a simple python web framework such as flask or bottle to unpickle the model at server startup time and call the predict function in an HTTP request handler.

    django is a feature complete framework hence is longer to learn than flask or bottle but it has a great documentation and a larger community.

    heroku is a service to host your application in the cloud. It’s possible to host flask applications on heroku, here is a simple template project + instructions to do so.

    For “production” setups I would advise you not to use pickle but to write your own persistence layer for the machine learning model so as to have full control on the parameters your store and be more robust to library upgrades that might break the unpickling of old models.

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

Sidebar

Related Questions

I have a web service that I have published locally. I wrote an HTML
I have 16 locally stored pre-rendered 40x40 px images that I want to use
I'm using C# and i have written a locally installed application that dynamically generates
I'd like to see which tags I have locally that aren't available on a
I have installed WordPress locally on WampServer for testing purposes. I discovered that when
I have an application it works fine locally and when I deploy it remotely
I have used PHPStorm frequently to download files locally with the use of FTP,
I have locally installed a newer version of Python. For that I did the
I'm using only CCRC and I don't have ClearCase locally installed. I use CCRC
I'm using only CCRC - I don't have ClearCase locally installed. I use CCRC

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.