Cloud Computing and MATLAB [closed] - matlab

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I have written some MATLAB code that classifies sounds, based on an Artificial intelligence approach.
Now I would like to use the same program on the cloud.
Do I need I convert the code to some other programming language, or is it possible to use the same MATLAB code on the cloud?

If you would like to move your application to the cloud in order to speed it up by running it on a cloud computing resource, it's possible to parallelize your application using Parallel Computing Toolbox, and then to execute that on instances of MATLAB Distributed Computing Server that are running in the cloud, such as on Amazon EC2. MathWorks have resources on their website, including a white paper, on how to do this. Note that, unusually for MathWorks products, if you do this it's possible to pay for the instances of MATLAB Distributed Computing Server by the hour, rather than having to buy an expensive permanent license (speak to your account manager to find out about that payment option).
If you'd like to run your code on the cloud just for convenience, or to offload it from your computer, rather than to speed it up, then if you have a MATLAB license you can use MATLAB Mobile (for iPhone or Android) to run your code on MathWorks' own cloud resources, for free (including storage of up to 500MB of your data).
Of course, you may find that for various reasons you eventually think it's better to recode it all in a different language - but there are several options you can try out pretty quickly before committing to that lengthy task.

Yes, if parallel computing toolbox is not enough you can look at MATLAB Distributed Computing Server.

Related

ItextSharp implementation across load balancer [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 3 years ago.
Improve this question
We're evaluating ITextSharp (now known as IText) for producing pdf documents. This will be used in our websites which will be published across a load-balanced solution amongst several servers.
According to Itext, this will require a production license per server (we're not open-source) in our load balanced configuration, as well as uat and developer licenses. This is obviously a considerable investment.
Could anyone recommend any alternatives to reduce the costs?
Also, is there a pattern we could adopt to minimise the migration effort of the existing website prototype if we were to use another product?
You could change your architecture a bit and have a dedicated PDF generation server. You'd then need to boil your requests down to something that could be sent between the servers. Depending on your goals, that could be something relatively simple, such as a user ID and a report name, or complex (text layout, that image there).
As far as distancing yourself from the commercial iText, there are two options.
1) Use the older MPL iTextSharp. It won't have all the latest features and bugfixes, but it's hard to beat the price.
2) The "wrapper" design pattern. Build a relatively generic interface, and have your current implementation of that interface sit atop iText. If you later need to swap it out, you're rebuilding the glue code, not your whole app.

Does Google Cloud Vision OCR API have better accuracy and performance than Tesseract OCR API [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 months ago.
Improve this question
I have integrated Google Cloud Vision API in my java application for text recognition from complex formatted documents. One of my colleague suggested to use "Tesseract API".Can anyone please give difference between these two API's.And which is better in terms of accuracy or have any advantage over other.TIA
I have used both of them.
Google Vision is much faster than Tesseract and If it was a year back then the accuracy was also better.
Tesseract lately adapted LSTM with preferred language choice and trained data which when optimized could get faster about 2X or more. But surely it can not get faster than Google vision unless they start supporting CUDA.
Regarding accuracy I have tested both of them with best and worst document images and were Google Vision landed on 66.6% accuracy, Tesseract went to 82% which is high enough for me.
If you prefer accuracy Tesseract is a winner and if you prefer time Google Vision is the best option.
Also there are couple of other CUDA supported projects which may be better than them.
Google Vision OCR is paid and it better than tesseract, while tesseract is completely free and an open-source project.
you can read these block for understanding the differences:
1.https://www.reddit.com/r/computervision/comments/74qcqv/tesseract_or_google_vision_api_for_image_ocr/
2.https://dataturks.com/blog/compare-image-text-recognition-apis.php

Is MatLab worth buying? [closed]

Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 7 years ago.
Improve this question
I can access MatLab on school computers, but it would be more like a convenience factor as of right now. I want to get into programming using raspberry pi later on, but is it worth buying in the meantime? Will it be useful to me as a computer engineer? Thanks.
I have used Matlab as a student and employee for over 10 years now. I have recently taken an interest in Python as a free open-source alternative to Matlab and have been extremely impressed. Matlab is a very powerful and convenient tool, but has a significant cost, especially if toolboxes are needed. Python seems to cover all the same capability needs that I have in Matlab (with toolboxes), and if I ever need help doing something in python that I know how to do in matlab, I just do a quick google search and 9 times out of 10 I end up on this website, taking advantage of the questions that others have already answered.
With your question on Raspberry pi, it can actually run python code on board, but not the case for matlab.
I am not a computer engineer, but am of the opinion that python would likely benefit you more than matlab in the end as it is free, more widely used and can be used on devices such as raspberry pi. For reference, I have degrees in physics and electrical engineering and spend a great deal of time at work building optical sensors, operating them, and processing their data.
One more note: I like the Anaconda distribution of python, highly recommended

MATLAB Compiler Licensing [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
This question does not appear to be about programming within the scope defined in the help center.
Closed 8 years ago.
Improve this question
I am planning to deploy a MATLAB application using the MATLAB compiler.
My plan is to compile the code using the toolbox, install the runtime in a web server, and create a website that calls this application and retrieve some results.
My question is regarding the licenses required:
I already know that MCR is royalty free for desktop applications. What about web aplications?
I do NOT need to buy "MATLAB Production Server", right?
obs: I already have MATLAB Compiler license
With regard to licensing, that's correct. The MCR can be redistributed and used royalty-free, and you don't need to buy MATLAB Production Server.
Technically, however, this is unlikely to be a good solution unless your web application is very small scale, and is OK to be very slow. Each time your web application needs to make a call to the MATLAB component, it will need to start up the MCR, which can take rather a long time. In addition, if you need to support multiple people using the web application simultaneously, multiple copies of the MCR will start up at once, and you may run out of memory fast.
You may like to consider using either one of the MATLAB Builder products, which enable you to integrate better with web applications, or MATLAB Production Server, which will enable you to scale better.

Undergraduate project related to High Performance Computing or similar fields [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 9 years ago.
Improve this question
I am looking for ideas for my undergraduate project and I quite like the area of High Performance Computing , has got a lot of scope for research . Are there any ideas / already existing open source projects worth looking at ?
One hot field right now is in the area of algorithmic trading. You can sign up for $3000 (if you're under 21 -- it's $10k for over 21) at InteractiveBrokers.com and they will give you a free paper trading account (which is fake money traded using realtime data) of $10,000,000. They have API's in C#, C++, VB, Java and reasonable support... You could write your own stock pair trading algorithm. They have good documentation on how to get started.
You can scale this as high as you want, also a lot of people do high frequency trading which requires hpc and in-depth knowledge of Unix and C++.
Worth looking into, my 2 cents.
Perhaps massively parallel processing? Libraries like Cuda, OpenCL, and DirectCompute are just blossoming, and have a high likelihood of becoming commonplace. In my company, we are researching uses for OpenCL, and we're finding that it has the potential to revolutionize our industry.
Just a thought.
I would suggest looking at Sandia National Labs's SST (The Structural Simulation Toolkit). Its a highly parallel simulator framework used for HPC. It uses and incorporates other simulators from academia and industry. For instance, it currently integrates GEM5, QSim, MacSim, DRAMSim, Merlin, Portals, DRAMSim2, Iris, etc. Moreover, it is open source so you can contribute to the development.
You could work on integrating other academia components into SST, improve the interface of one of the components with SST, or just improve of the components themselves.