Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
2.4k views
in Technique[技术] by (71.8m points)

machine learning - How do I use Particle Swarm Optimisation on this dataset?

I'm new to Machine Learning, so kindly ask for more details if required or do point me towards the resources I should read to have a better understanding. Lets say I have a data set consisting of these columns

"A" "B" "C" "D" "Target"

"Target" column is a boolean which I need to predict. My task is to use Particle Swarm Optimization. I know the theory behind PSO, I know it finds the fittest solution out of candidate solutions by using velocity, position, personal best and global best. In R we have a function pso(func, S = 350, lim_inf, lim_sup, e = 0.0001, data = NULL, N = 500, prop = 0.2). The func here is objective function or fitness function. I want to know how do I write a fitness function for my dataset.

Or have I misunderstood PSO and it's implementation. Please point me towards any useful resources.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)
等待大神解答

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to OStack Knowledge Sharing Community for programmer and developer-Open, Learning and Share
Click Here to Ask a Question

2.1m questions

2.1m answers

60 comments

57.0k users

...