Search found 11 matches

by kidd
Tue Nov 09, 2010 2:23 am
Forum: Optimization
Topic: Optimized data
Replies: 4
Views: 15131

Re: Optimized data

Yes in MulRunFitter and the optimized data. I just want y data of the optimized trace. Should I write the code in func efun() ?
by kidd
Mon Nov 08, 2010 1:26 pm
Forum: Getting started
Topic: Mean square error
Replies: 2
Views: 2215

Re: Mean square error

thanx alot :)
by kidd
Mon Nov 08, 2010 6:23 am
Forum: Optimization
Topic: Optimized data
Replies: 4
Views: 15131

Re: Optimized data

i want to save the data programmatically and without using the gui, but i don't know where neuron keep the result data? i mean in which hoc file i can access to the vector or matrix that has the data af the optimized curve ?
by kidd
Sun Nov 07, 2010 2:59 pm
Forum: Getting started
Topic: Mean square error
Replies: 2
Views: 2215

Mean square error

hi
i used praxis to optimize my data. now i have two traces, one is the original data and the other is the optimized data. how can i use meansqerr function to calculate the error now? the documentation is not very clear
by kidd
Wed Nov 03, 2010 12:03 pm
Forum: Optimization
Topic: Optimized data
Replies: 4
Views: 15131

Optimized data

Hello
after the optimization is done we have a black curve that is the result of optimization. can we save the data of that black curve in a file.dat? i mean the X and the Y of the curve
by kidd
Wed Oct 27, 2010 2:34 am
Forum: Optimization
Topic: Mistake in fit_praxis documentation
Replies: 11
Views: 27096

Re: Mistake in fit_praxis documentation

hi 1. yes i double click the hoc file and i run it with Neuron 7.1 under winXp. 2.no , just the following code objref vec vec = new Vector(2) // vec.x[0] is x, vec.x[1] is y func efun() {local x, y x = $&2[0] y = $&2[1] return (x+y - 5)^2 + 5*(x-y - 15)^2 } attr_praxis(1e-5, .5, 0) e = fit_p...
by kidd
Tue Oct 26, 2010 2:16 pm
Forum: Optimization
Topic: Mistake in fit_praxis documentation
Replies: 11
Views: 27096

Re: Mistake in fit_praxis documentation

this is the same code i used and this have the same error...! i copy-paste it in notepad++ and saved it as .hoc . should i do something else?
by kidd
Tue Oct 26, 2010 6:40 am
Forum: Optimization
Topic: Mistake in fit_praxis documentation
Replies: 11
Views: 27096

Re: Mistake in fit_praxis documentation

here : http://www.neuron.yale.edu/neuron/stati ... fit_praxis
this is a new help for fit_praxis. the 'Hoc example' have this error :

Code: Select all

bad stack access: expecting (double *); really (Object **)
nrniv: interpreter stack type error
by kidd
Mon Oct 25, 2010 10:24 am
Forum: Optimization
Topic: Mistake in fit_praxis documentation
Replies: 11
Views: 27096

Mistake in fit_praxis documentation

the example in the tutorial have error
"bad stack access : expecting (double*)..." how can dissolve it, i need to run the example to check how it works
by kidd
Sun Oct 03, 2010 4:08 am
Forum: Optimization
Topic: Minimizing the error in praxis
Replies: 3
Views: 14139

Re: Minimizing the error in praxis

thank you
is there anyway using GUI instead of code writing? im not familier with that!
-- can i use a function to minimize the error? like some famous error functions (SSE,...) i mean like the MRF i insert a function in Neuron and that function controls the amount of error in praxis
by kidd
Sat Oct 02, 2010 7:35 am
Forum: Optimization
Topic: Minimizing the error in praxis
Replies: 3
Views: 14139

Minimizing the error in praxis

Hi
i want to fit a model and i want to restrict the amount of the error so that the Praxis stop the fitting when it reachs that amount of error. how can i do that?