How to implement a machine learning model in Anylogic - anylogic

I have designed a machine learning model with the KNN algorithm that I want to integrate into anylogic, I can't do it. Someone can help me

if you are using Python for KNN, you can use AnyLogic Pypeline to connect it to your simulation model. Please check here the instructions: https://www.anylogic.com/resources/educational-videos/webinar-pypeline-a-python-connector-library-for-anylogic/

Related

Agent based modeling for Supply Chain Management

I am a final year student of Computer System Engineering.My FYP is Agent Based Modeling for Supply Chain Management. I don't know how to start it or which software should I use. Repast? Netlogo? Anylogic?
Please guide me how to proceed with my project.
Even though this question is opinion-based, I was part of a project whose objective was to compare exactly the softwares you mentioned here: Repast, Netlogo and AnyLogic. What I did in this study was to create AnyLogic models. Someone else was creating the models in Netlogo and Repast.
There is no paper with the conclusions yet, but the person who did this study told me that AnyLogic was better in terms of easy to use and scalability than the others and Repast has the steepest learning curve. Nevertheless for small scale projects, AnyLogic and Netlogo are equally suited so it doesn't matter which one you choose.
Nevertheless, remember that AnyLogic on its free version allows you to use only 10 agents, which is a lot, but if your project is really big and you want everything for free, you may encounter a problem there.
As a platform that allows to work with agents that include in the same platform: editing code, show the area of simulation and generate graphics. I think Netlogo platform is suitable for this reason. you can also link it with other programming languages like python and R.

WSN Packages in Matlab

I want to simulate my protocol in Matlab. I do not know about any toolbox nor i get any information about WSN coding in Matlab.
I want to know about it.
regards,
You can use Low Energy Adaptive Clustering Hierarchy (LEACH) cluster based routing protocol in WSN:
http://www.mathworks.com/matlabcentral/fileexchange/25853-wireless-networks
And you can write your own simulator using the MATLAB scripting language. Examples:
SimEvents, Prowler, TrueTime and Complex Networks Package
Hope this helps.

best toolbox for simulating multiagent systems

I want to simulate a multiagent system. Is netlogo good for that? Does it have good abilities for simulating all multiagent systems with any characteristics.
Is netlogo good in graphic ?
Can we do task sharing between agents with netlogo?
Can we do functional analysis with netlogo?
what other toolbox do you suggest?
Netlogo is good and easy and fast to implement. If you are an experienced Java programmer you might think of Mason too. I am using netlogo for social simulation, so far I did not feel that I need anything more than what Netlogo has, but I have performance problems which I might never faced with Mason. It all depends on what do you need from each agent and what are your priorities. You can check this website to see the different models and their characteristics and different frameworks used for developing them :
http://www.openabm.org/

A Simple Tool to Train and Test Neural Networks

I’m looking a simple tool to train and test neural networks for classification tasks. It need not be very sophisticated tool and I just want to train and test simple data sets such as given in the following web site.
http://www.stats.ox.ac.uk/pub/PRNN/
It's not a pre-made utility, but you could roll your own quite quickly using the Encog neural network framework (for both Java and .NET).
I've used it before and it was quite easy to get to grips with. The documentation is quite good, and if you need it, I've also found support on the forums to be good.
* UPDATE *
I just remembered that Encog does actually ship with a pre-made utility called Encog Workbench, which should do what you want.

easiest tool to use for a extreme beginner for classification/clustering

I saw that the tool weka is having a gui interface. This gui interface is very easy for non coding users to classify data sets into classes. Matlab is very difficult since say for example making a neural network you need to write code and to do that you need to have a solid understanding of whats going on. Are there other tools like weka or else is there a plugin to matlab that gives more power to it?
RapidMiner has a functional GUI, and will work for both classification and clustering. It is the most popular open-source (free) data mining application available as of 2012.
RapidMiner: http://rapid-i.com/
It also has numerous training videos and tutorials that you can follow along with - I learned basic clustering methods using a K-means cluster method in about 3 hours. See the Vancouver Data blog for some great RapidMiner analytics videos. Top-notch stuff, really.
Vancouver Data (Neil McGuigan): http://vancouverdata.blogspot.com/
As a bonus, you can install the Weka plug-in, which then gives you GUI Weka. All of the add-ons are free and well-integrated. Other add-ons include a GUI 'R' (the stats program), Reporting Services, Text and Web Analytics, etc. It is fairly simple to use straight 'out of the box' (IMO).
Weka is very (very) powerful and you can write your own classifier if that's what you need to do.
Between Matlab and Weka there's pretty much nothing you can't do in terms of Machine Learning.
You might want to check out Netlab toolkit for Matlab, which is a neural network toolkit developed by a Professor at Aston University - it is available from http://www1.aston.ac.uk/eas/research/groups/ncrg/resources/netlab/