Category: News
Have booking page default to first date rather than todays date
Hi there
Does anyone know if it’s possible to set the default view on the public booking page to display the month bookings are available, rather than starting on today’s date.
We only have bookings available for a service in September, and want users to land on the September month view on bookings page. Currently the app defaults to the month showing the current date and users have to scroll across to September to see the available slots.
We have availability set to just September and have played around with the custom and default scheduling policy with no success.
Appreciate any advice on this. Or if anyone else has faced this without success it’d be great to know that too.
Many thanks
Ian
Hi there Does anyone know if it’s possible to set the default view on the public booking page to display the month bookings are available, rather than starting on today’s date. We only have bookings available for a service in September, and want users to land on the September month view on bookings page. Currently the app defaults to the month showing the current date and users have to scroll across to September to see the available slots. We have availability set to just September and have played around with the custom and default scheduling policy with no success. Appreciate any advice on this. Or if anyone else has faced this without success it’d be great to know that too. Many thanksIan Read More
How to remove Schema Legacy LAPS
Before that we try extent schema Legacy LAPS. Now how to remove schema this LAPS.
I try find out more document to update to new Windows LAPS. but no need document remove old schema laps
Before that we try extent schema Legacy LAPS. Now how to remove schema this LAPS. I try find out more document to update to new Windows LAPS. but no need document remove old schema laps Read More
Tre colonne da un database studenti sempre aggiornate in altro foglio
Buonasera. Sono nuovo su questo forum ed ho la seguente esigenza.
Ho un database in cui raccolgo dati di studenti al momento della loro iscrizione.
Vorrei che tre di questi dati (rispettivamente cognome, nome e codice fiscale), risultassero anche in un altro foglio e si aggiornassero ogniqualvolta verranno modificati nel database principale.
Inoltre, vorrei che aggiungendo o rimuovendo qualche riga nel data base principale (quindi se aggiungo o rimuovo qualche studente), anche nell’altro foglio che riporta i vari cognomi, nomi e codici fiscali si verificassero le stesse modifiche. Ho provato con l’opzione Power query ma non mi sembra andare bene.
Grazie.
Accetto risposte anche in inglese.
Buonasera. Sono nuovo su questo forum ed ho la seguente esigenza.Ho un database in cui raccolgo dati di studenti al momento della loro iscrizione.Vorrei che tre di questi dati (rispettivamente cognome, nome e codice fiscale), risultassero anche in un altro foglio e si aggiornassero ogniqualvolta verranno modificati nel database principale.Inoltre, vorrei che aggiungendo o rimuovendo qualche riga nel data base principale (quindi se aggiungo o rimuovo qualche studente), anche nell’altro foglio che riporta i vari cognomi, nomi e codici fiscali si verificassero le stesse modifiche. Ho provato con l’opzione Power query ma non mi sembra andare bene.Grazie.Accetto risposte anche in inglese. Read More
Parallelization is not working in Matlab
Hello,
I am trying to paralleliza my code in Matlab. Below is a part of my code.
Basically, I am finding the minimum position and the value given 4 state variables.
I want to speed up my code by using parallelization so I changed ‘for i_a = 1:Na’ to ‘parfor i_a = 1:Na’ but it doesn’t seem like Matlab parallelize the code because if I see the result at the end of each loop (disp([i_a i_d i_y i_t toc])), it seems like Matlab is calculating minimum value one by one. (And I don’t think the code is faster also)
Am I doing something wrong? (I don’t think there is false sharing issue here because the one I update is Vnew and Vnew is not used during the calculation)
for i_a = 1:Na %Loop over state variable a
for i_d = 1:Nd %Loop over state variable d
for i_y = 1:Ny %Loop over state variable y
for i_t = 1:Nt %Loop over state variable t
tic;
utilityadj = @(adjf) -(((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R + (1-delta)*D(i_d) – adjf(1) – adjf(2) – fixed*(1-delta)*D(i_d))>0)*((1/(1-elasticity)*( ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R + (1-delta)*D(i_d) – adjf(1) – adjf(2) – fixed*(1-delta)*D(i_d))^relutility) * (adjf(2)^(1-relutility)) )^(1-elasticity)) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(1),T(1))*transition(i_y,1)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(2),T(1))*transition(i_y,2)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(3),T(1))*transition(i_y,3)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(4),T(1))*transition(i_y,4)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(5),T(1))*transition(i_y,5)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(6),T(1))*transition(i_y,6)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(7),T(1))*transition(i_y,7)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(1),T(2))*transition(i_y,1)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(2),T(2))*transition(i_y,2)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(3),T(2))*transition(i_y,3)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(4),T(2))*transition(i_y,4)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(5),T(2))*transition(i_y,5)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(6),T(2))*transition(i_y,6)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(7),T(2))*transition(i_y,7)*prob(2)) …
+ ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R + (1-delta)*D(i_d) – adjf(1) – adjf(2) – fixed*(1-delta)*D(i_d))<=0)*(-1e10));
noadj_damount = (1-delta)*D(i_d);
if i_d == 1
noadj_damount = d_min;
end
utilitynoadj = @(noadjf) -(((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R – noadjf)>0)*((1/(1-elasticity)*( ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R – noadjf)^relutility) * (((1-delta)*D(i_d))^(1-relutility)) )^(1-elasticity)) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(1),T(1))*transition(i_y,1)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(2),T(1))*transition(i_y,2)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(3),T(1))*transition(i_y,3)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(4),T(1))*transition(i_y,4)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(5),T(1))*transition(i_y,5)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(6),T(1))*transition(i_y,6)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(7),T(1))*transition(i_y,7)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(1),T(2))*transition(i_y,1)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(2),T(2))*transition(i_y,2)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(3),T(2))*transition(i_y,3)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(4),T(2))*transition(i_y,4)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(5),T(2))*transition(i_y,5)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(6),T(2))*transition(i_y,6)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(7),T(2))*transition(i_y,7)*prob(2)) …
+ ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R – noadjf)<=0)*(-1e10));
lb = [a_min-10,d_min-10];
ub = [a_max+10,d_max+10];
a = [];
b = [];
aeq = [];
beq = [];
x0 = (lb + ub) / 2;
options = optimoptions(‘fmincon’,’Display’,’off’);
[adjchoice,adjval] = fmincon(utilityadj,x0,a,b,aeq,beq,lb,ub,a,options);
[noadjchoice,noadjval] = fmincon(utilitynoadj,a_min,a,b,aeq,beq,a_min-10,a_max+10,a,options);
Vnew(i_a,i_d,i_y,i_t) = -min(adjval, noadjval);
if Vnew(i_a,i_d,i_y,i_t) == -adjval
indpol_ap(i_a,i_d,i_y,i_t) = adjchoice(1);
indpol_dp(i_a,i_d,i_y,i_t) = adjchoice(2);
indadj(i_a,i_d,i_y,i_t) = 1;
else
indpol_ap(i_a,i_d,i_y,i_t) = noadjchoice;
indpol_dp(i_a,i_d,i_y,i_t) = noadj_damount;
indadj(i_a,i_d,i_y,i_t) = 0;
end
disp([i_a i_d i_y i_t toc])
end
end
end
endHello,
I am trying to paralleliza my code in Matlab. Below is a part of my code.
Basically, I am finding the minimum position and the value given 4 state variables.
I want to speed up my code by using parallelization so I changed ‘for i_a = 1:Na’ to ‘parfor i_a = 1:Na’ but it doesn’t seem like Matlab parallelize the code because if I see the result at the end of each loop (disp([i_a i_d i_y i_t toc])), it seems like Matlab is calculating minimum value one by one. (And I don’t think the code is faster also)
Am I doing something wrong? (I don’t think there is false sharing issue here because the one I update is Vnew and Vnew is not used during the calculation)
for i_a = 1:Na %Loop over state variable a
for i_d = 1:Nd %Loop over state variable d
for i_y = 1:Ny %Loop over state variable y
for i_t = 1:Nt %Loop over state variable t
tic;
utilityadj = @(adjf) -(((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R + (1-delta)*D(i_d) – adjf(1) – adjf(2) – fixed*(1-delta)*D(i_d))>0)*((1/(1-elasticity)*( ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R + (1-delta)*D(i_d) – adjf(1) – adjf(2) – fixed*(1-delta)*D(i_d))^relutility) * (adjf(2)^(1-relutility)) )^(1-elasticity)) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(1),T(1))*transition(i_y,1)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(2),T(1))*transition(i_y,2)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(3),T(1))*transition(i_y,3)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(4),T(1))*transition(i_y,4)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(5),T(1))*transition(i_y,5)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(6),T(1))*transition(i_y,6)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(7),T(1))*transition(i_y,7)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(1),T(2))*transition(i_y,1)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(2),T(2))*transition(i_y,2)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(3),T(2))*transition(i_y,3)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(4),T(2))*transition(i_y,4)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(5),T(2))*transition(i_y,5)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(6),T(2))*transition(i_y,6)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(7),T(2))*transition(i_y,7)*prob(2)) …
+ ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R + (1-delta)*D(i_d) – adjf(1) – adjf(2) – fixed*(1-delta)*D(i_d))<=0)*(-1e10));
noadj_damount = (1-delta)*D(i_d);
if i_d == 1
noadj_damount = d_min;
end
utilitynoadj = @(noadjf) -(((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R – noadjf)>0)*((1/(1-elasticity)*( ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R – noadjf)^relutility) * (((1-delta)*D(i_d))^(1-relutility)) )^(1-elasticity)) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(1),T(1))*transition(i_y,1)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(2),T(1))*transition(i_y,2)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(3),T(1))*transition(i_y,3)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(4),T(1))*transition(i_y,4)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(5),T(1))*transition(i_y,5)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(6),T(1))*transition(i_y,6)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(7),T(1))*transition(i_y,7)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(1),T(2))*transition(i_y,1)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(2),T(2))*transition(i_y,2)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(3),T(2))*transition(i_y,3)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(4),T(2))*transition(i_y,4)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(5),T(2))*transition(i_y,5)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(6),T(2))*transition(i_y,6)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(7),T(2))*transition(i_y,7)*prob(2)) …
+ ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R – noadjf)<=0)*(-1e10));
lb = [a_min-10,d_min-10];
ub = [a_max+10,d_max+10];
a = [];
b = [];
aeq = [];
beq = [];
x0 = (lb + ub) / 2;
options = optimoptions(‘fmincon’,’Display’,’off’);
[adjchoice,adjval] = fmincon(utilityadj,x0,a,b,aeq,beq,lb,ub,a,options);
[noadjchoice,noadjval] = fmincon(utilitynoadj,a_min,a,b,aeq,beq,a_min-10,a_max+10,a,options);
Vnew(i_a,i_d,i_y,i_t) = -min(adjval, noadjval);
if Vnew(i_a,i_d,i_y,i_t) == -adjval
indpol_ap(i_a,i_d,i_y,i_t) = adjchoice(1);
indpol_dp(i_a,i_d,i_y,i_t) = adjchoice(2);
indadj(i_a,i_d,i_y,i_t) = 1;
else
indpol_ap(i_a,i_d,i_y,i_t) = noadjchoice;
indpol_dp(i_a,i_d,i_y,i_t) = noadj_damount;
indadj(i_a,i_d,i_y,i_t) = 0;
end
disp([i_a i_d i_y i_t toc])
end
end
end
end Hello,
I am trying to paralleliza my code in Matlab. Below is a part of my code.
Basically, I am finding the minimum position and the value given 4 state variables.
I want to speed up my code by using parallelization so I changed ‘for i_a = 1:Na’ to ‘parfor i_a = 1:Na’ but it doesn’t seem like Matlab parallelize the code because if I see the result at the end of each loop (disp([i_a i_d i_y i_t toc])), it seems like Matlab is calculating minimum value one by one. (And I don’t think the code is faster also)
Am I doing something wrong? (I don’t think there is false sharing issue here because the one I update is Vnew and Vnew is not used during the calculation)
for i_a = 1:Na %Loop over state variable a
for i_d = 1:Nd %Loop over state variable d
for i_y = 1:Ny %Loop over state variable y
for i_t = 1:Nt %Loop over state variable t
tic;
utilityadj = @(adjf) -(((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R + (1-delta)*D(i_d) – adjf(1) – adjf(2) – fixed*(1-delta)*D(i_d))>0)*((1/(1-elasticity)*( ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R + (1-delta)*D(i_d) – adjf(1) – adjf(2) – fixed*(1-delta)*D(i_d))^relutility) * (adjf(2)^(1-relutility)) )^(1-elasticity)) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(1),T(1))*transition(i_y,1)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(2),T(1))*transition(i_y,2)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(3),T(1))*transition(i_y,3)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(4),T(1))*transition(i_y,4)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(5),T(1))*transition(i_y,5)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(6),T(1))*transition(i_y,6)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(7),T(1))*transition(i_y,7)*prob(1) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(1),T(2))*transition(i_y,1)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(2),T(2))*transition(i_y,2)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(3),T(2))*transition(i_y,3)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(4),T(2))*transition(i_y,4)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(5),T(2))*transition(i_y,5)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(6),T(2))*transition(i_y,6)*prob(2) …
+ beta * interpn(A,D,YS,T,V,adjf(1),adjf(2),YS(7),T(2))*transition(i_y,7)*prob(2)) …
+ ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R + (1-delta)*D(i_d) – adjf(1) – adjf(2) – fixed*(1-delta)*D(i_d))<=0)*(-1e10));
noadj_damount = (1-delta)*D(i_d);
if i_d == 1
noadj_damount = d_min;
end
utilitynoadj = @(noadjf) -(((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R – noadjf)>0)*((1/(1-elasticity)*( ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R – noadjf)^relutility) * (((1-delta)*D(i_d))^(1-relutility)) )^(1-elasticity)) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(1),T(1))*transition(i_y,1)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(2),T(1))*transition(i_y,2)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(3),T(1))*transition(i_y,3)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(4),T(1))*transition(i_y,4)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(5),T(1))*transition(i_y,5)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(6),T(1))*transition(i_y,6)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(7),T(1))*transition(i_y,7)*prob(1) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(1),T(2))*transition(i_y,1)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(2),T(2))*transition(i_y,2)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(3),T(2))*transition(i_y,3)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(4),T(2))*transition(i_y,4)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(5),T(2))*transition(i_y,5)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(6),T(2))*transition(i_y,6)*prob(2) …
+ beta * interpn(A,D,YS,T,V,noadjf,noadj_damount,YS(7),T(2))*transition(i_y,7)*prob(2)) …
+ ((wage*hour*YS(i_y) + T(i_t) + A(i_a)*R – noadjf)<=0)*(-1e10));
lb = [a_min-10,d_min-10];
ub = [a_max+10,d_max+10];
a = [];
b = [];
aeq = [];
beq = [];
x0 = (lb + ub) / 2;
options = optimoptions(‘fmincon’,’Display’,’off’);
[adjchoice,adjval] = fmincon(utilityadj,x0,a,b,aeq,beq,lb,ub,a,options);
[noadjchoice,noadjval] = fmincon(utilitynoadj,a_min,a,b,aeq,beq,a_min-10,a_max+10,a,options);
Vnew(i_a,i_d,i_y,i_t) = -min(adjval, noadjval);
if Vnew(i_a,i_d,i_y,i_t) == -adjval
indpol_ap(i_a,i_d,i_y,i_t) = adjchoice(1);
indpol_dp(i_a,i_d,i_y,i_t) = adjchoice(2);
indadj(i_a,i_d,i_y,i_t) = 1;
else
indpol_ap(i_a,i_d,i_y,i_t) = noadjchoice;
indpol_dp(i_a,i_d,i_y,i_t) = noadj_damount;
indadj(i_a,i_d,i_y,i_t) = 0;
end
disp([i_a i_d i_y i_t toc])
end
end
end
end parallel computing MATLAB Answers — New Questions
how to change the number of Newton method iterations
I am using the ksdensity as follows
ksdensity(a,b,’function’,’icdf’);
but I get a warning on the non-convergence.
I know that the kernel density first fit an initial inverse CDF and then refines the estimation using the Newton method. However, the newton iteration take 100 steps only and then stops. In order to see if I can converge I would like to increase this value.
Can anybody help to understand how to change such parameter (number of iterations)?I am using the ksdensity as follows
ksdensity(a,b,’function’,’icdf’);
but I get a warning on the non-convergence.
I know that the kernel density first fit an initial inverse CDF and then refines the estimation using the Newton method. However, the newton iteration take 100 steps only and then stops. In order to see if I can converge I would like to increase this value.
Can anybody help to understand how to change such parameter (number of iterations)? I am using the ksdensity as follows
ksdensity(a,b,’function’,’icdf’);
but I get a warning on the non-convergence.
I know that the kernel density first fit an initial inverse CDF and then refines the estimation using the Newton method. However, the newton iteration take 100 steps only and then stops. In order to see if I can converge I would like to increase this value.
Can anybody help to understand how to change such parameter (number of iterations)? ksdensity, warnings, iteration MATLAB Answers — New Questions
if my modis image on my DESKTOP HOW I OPEN IT??
AND HOW I EXTRACT HISTOGRAM BAND 31 , 20 OR 30 .. OR ALL TOGETHER FOR EXAMPLE ..
I DONT KNOWE ANY THING .. PLESE LET ME LOVE MATLAB !!
THX FOR HELP..AND HOW I EXTRACT HISTOGRAM BAND 31 , 20 OR 30 .. OR ALL TOGETHER FOR EXAMPLE ..
I DONT KNOWE ANY THING .. PLESE LET ME LOVE MATLAB !!
THX FOR HELP.. AND HOW I EXTRACT HISTOGRAM BAND 31 , 20 OR 30 .. OR ALL TOGETHER FOR EXAMPLE ..
I DONT KNOWE ANY THING .. PLESE LET ME LOVE MATLAB !!
THX FOR HELP.. modis MATLAB Answers — New Questions
how to determine the position of points which belong to a circle ?
Hi
how to determine the points of a circle (their x, y coordinates) if we knew the position of the center and the radius of the circle
thanks!!!!Hi
how to determine the points of a circle (their x, y coordinates) if we knew the position of the center and the radius of the circle
thanks!!!! Hi
how to determine the points of a circle (their x, y coordinates) if we knew the position of the center and the radius of the circle
thanks!!!! circle, points MATLAB Answers — New Questions
What is the best way to update actuals against MS Project Tasks?
We are currently working with PWA and Microsoft Project Professional. We conduct all of our estimates in hours and task contributors advise of progress by providing hours progress against each task. The PM then inputs this information against the task.
Our question is, which is the most efficient method to enter these ‘progress’ hours against a task:
Gantt View?Task Usage?Resource Usage?Task Sheet?
Thanks in anticipation of your support
We are currently working with PWA and Microsoft Project Professional. We conduct all of our estimates in hours and task contributors advise of progress by providing hours progress against each task. The PM then inputs this information against the task. Our question is, which is the most efficient method to enter these ‘progress’ hours against a task:Gantt View?Task Usage?Resource Usage?Task Sheet?Thanks in anticipation of your support Read More
Direct action quietly dropped
Has anyone else noticed that under MC788953 / roadmap 393937 we lose the ability to run remediations direct from Threat Explorer? Instead, the action goes to the Action Center where I have to (a) wait for it to appear, (b) find it amongst all of the automated clutter with none of the information I originally input in the Threat Explorer and (c) approve it. Is the rest of the civilised universe all on third-party tools working through the APIs?
https://www.microsoft.com/en-GB/microsoft-365/roadmap?filters=&searchterms=393937
Has anyone else noticed that under MC788953 / roadmap 393937 we lose the ability to run remediations direct from Threat Explorer? Instead, the action goes to the Action Center where I have to (a) wait for it to appear, (b) find it amongst all of the automated clutter with none of the information I originally input in the Threat Explorer and (c) approve it. Is the rest of the civilised universe all on third-party tools working through the APIs? https://www.microsoft.com/en-GB/microsoft-365/roadmap?filters=&searchterms=393937 Read More
iOS device showing only 2 days of email in Outlook Mobile App
Anyone ever deal with a new enrolled iOS device only seeing 2 days of emails? It seems like it has only happened to a handful of devices, but they are all getting the same config profile and policy.
Anyone ever deal with a new enrolled iOS device only seeing 2 days of emails? It seems like it has only happened to a handful of devices, but they are all getting the same config profile and policy. Read More
Hilarious word experience
Hello Microsoft.
I have a usb stick – and somehow the word on the usb stick, got corrupted.
Look at this :
The word document is corrupted – it brings up this error when im trying.
The paper was supposed to be printed out, and giving to the teacher.
I have tried multiple guides on how to helping it.
But it seems most of them dont work, because the word document was saved on a usb stick.
The best solutions I found was :
But thats a solution requiring to send it to him.
I have spent around 45 minutes now, because its exam paper – but i simply can not figure out how to save it.
Also the anwers to the exam is around 22 to 24 kb, so it ain’t much.
I feel like all those weird “files” is my word document split up in multiple pieces.
There are nothing I can do with those files.
If you count them together its around 28 kb – so no doubt thats the originally file splitted to a million pieces.
I also tried repairing online – but without success.
Hello Microsoft.I have a usb stick – and somehow the word on the usb stick, got corrupted.Look at this : The word document is corrupted – it brings up this error when im trying. The paper was supposed to be printed out, and giving to the teacher.I have tried multiple guides on how to helping it.But it seems most of them dont work, because the word document was saved on a usb stick. The best solutions I found was : https://answers.microsoft.com/en-us/msoffice/forum/all/corrupted-word-documents-from-editing-on-usb/6ff92864-f432-42eb-84ec-01ecbf4d048bBut thats a solution requiring to send it to him.I have spent around 45 minutes now, because its exam paper – but i simply can not figure out how to save it.Also the anwers to the exam is around 22 to 24 kb, so it ain’t much.I feel like all those weird “files” is my word document split up in multiple pieces.There are nothing I can do with those files.If you count them together its around 28 kb – so no doubt thats the originally file splitted to a million pieces.I also tried repairing online – but without success. Read More
Will the SharePoint migration assessment tool work on a windows server 2019 shared drive?
I’m migrating an on premise Fileshare to Sharepoint online. I need to run the assessment tool to see if we will run into any errors. will it work on a file share and if not what is the best way to go about it? Also, Will the migration tool migrate 1TB of data in one operation or is there a 250GB limit?
I’m migrating an on premise Fileshare to Sharepoint online. I need to run the assessment tool to see if we will run into any errors. will it work on a file share and if not what is the best way to go about it? Also, Will the migration tool migrate 1TB of data in one operation or is there a 250GB limit? Read More
Learn about Prosperi’s Microsoft 365 partner solution in Microsoft AppSource
Microsoft 365 lets you create, share, and collaborate all in one place with your favorite apps. Learn about an offer from Prosperi, a high-performing Microsoft partner on Microsoft AppSource:
Teams Ideas for Innovation: Teams Ideas streamlines innovation management, enabling organizations to launch campaigns, discover ideas, and develop them into impactful results. In today’s business environment, leveraging internal resources for innovative solutions is paramount for resilience and growth across product development, new services, and cutting-edge marketing. With customizable evaluation tools, personal skill-building features, and seamless integration with Microsoft Teams, Teams Ideas from Prosperi empowers colleagues to collaborate, develop, and innovate efficiently. Collaborate better, develop faster, and innovate smarter with Teams Ideas!
Microsoft Tech Community – Latest Blogs –Read More
Why Is My QuickBooks Database Server Manager Stopped Working
I’m encountering an issue with QuickBooks Database Server Manager; it keeps crashing. Whenever I try to open it, I get an error message saying “QuickBooks Database Server Manager stopped working.” What could be causing this problem, and how can I fix it? I’m in urgent need of a solution as it’s affecting my work productivity.
I’m encountering an issue with QuickBooks Database Server Manager; it keeps crashing. Whenever I try to open it, I get an error message saying “QuickBooks Database Server Manager stopped working.” What could be causing this problem, and how can I fix it? I’m in urgent need of a solution as it’s affecting my work productivity. Read More
Capability to connect Excel to a protected OData Feed by OAuth2.
I am working in a utility company and we have some OData Feeds (build via asp.NET Core) that we expose to the business so they can consume their data and build by their own the reports they want.
As we consider security seriously, we are protecting all our service endpoints with OAuth2 and check also if the person has or not access to the data.
One of the top feature expected from the business users is to have access to their Data in a protected way via Excel/Power BI so only authorized people can see and consume them!
In Excel and Power BI, doing this is not possible (I have opened a case for that via our services hub portal) and we need votes to increase the visibility on this feature so this can be considered by the Office365 team.
Thanks in advance.
I am working in a utility company and we have some OData Feeds (build via asp.NET Core) that we expose to the business so they can consume their data and build by their own the reports they want. As we consider security seriously, we are protecting all our service endpoints with OAuth2 and check also if the person has or not access to the data. One of the top feature expected from the business users is to have access to their Data in a protected way via Excel/Power BI so only authorized people can see and consume them! In Excel and Power BI, doing this is not possible (I have opened a case for that via our services hub portal) and we need votes to increase the visibility on this feature so this can be considered by the Office365 team. Thanks in advance. Read More
A list of the groups could not be retrieved in GroupCalendar Web Part
When i try to add a GroupCalendar Web Part to a modern Sharepoint site I only get this message:
A list of the groups could not be retrieved.
The message is translated from the German version. Sorry don’t have a English version at hand. And in the Web Part it says: “You need to join the group”
I tested different scenarios with different users. It does not wort even when I’m the owner and also a member of the Group. When I Click on the link in the WebPart it say “You already joined this group”
What am I doing worng? Did something change in the Sharepoint universe that i have missed?
We are only using Sharepoint Online, no on prem Server.
AD is synced with Azure. But for this use case with M365 Groups that should not be the problem as they are created in the Admin Center.
I am at a loss. Any help is appreciated.
Regards
When i try to add a GroupCalendar Web Part to a modern Sharepoint site I only get this message: A list of the groups could not be retrieved. The message is translated from the German version. Sorry don’t have a English version at hand. And in the Web Part it says: “You need to join the group” I tested different scenarios with different users. It does not wort even when I’m the owner and also a member of the Group. When I Click on the link in the WebPart it say “You already joined this group” What am I doing worng? Did something change in the Sharepoint universe that i have missed?We are only using Sharepoint Online, no on prem Server. AD is synced with Azure. But for this use case with M365 Groups that should not be the problem as they are created in the Admin Center. I am at a loss. Any help is appreciated.Regards Read More
Delete Version History
Hello Team,
I’m looking for help with deleting the version history of specific files in SharePoint, but retaining the last 10 versions. I can see that I can manually delete the version history, but this is going to be a rather long task for this particular file, or i can delete them all which we don’t want. I’ve found powershell commands which will go through all files in a document library but nothing for a specific file. Does anyone have anything which will do this?
Thank you.
Hello Team, I’m looking for help with deleting the version history of specific files in SharePoint, but retaining the last 10 versions. I can see that I can manually delete the version history, but this is going to be a rather long task for this particular file, or i can delete them all which we don’t want. I’ve found powershell commands which will go through all files in a document library but nothing for a specific file. Does anyone have anything which will do this? Thank you. Read More
SSIS & Azure SQL Managed Instance with MFA
We’ve been testing out Azure SQL Managed Instance and created SSIS packages to run against it. We set connections using the ADO.Net connection manager and all worked well.
We recently had to apply MFA to all logins and this is causing issues within SSIS as there is no MFA option for logins like there is in SSMS. We can connect if we use SQL Server Authentication but we’d rather not do that. When using Active Directory Integrated Authentication, all of our test connections fail and the package will not run locally. In SSMS, there is an integrated authentication with MFA option and that works from within SSMS.
How can we use SSIS and connect to the database using Windows Authentication when MFA is required?
We’ve been testing out Azure SQL Managed Instance and created SSIS packages to run against it. We set connections using the ADO.Net connection manager and all worked well.We recently had to apply MFA to all logins and this is causing issues within SSIS as there is no MFA option for logins like there is in SSMS. We can connect if we use SQL Server Authentication but we’d rather not do that. When using Active Directory Integrated Authentication, all of our test connections fail and the package will not run locally. In SSMS, there is an integrated authentication with MFA option and that works from within SSMS. How can we use SSIS and connect to the database using Windows Authentication when MFA is required? Read More
Azure subscription owners
Hi
Is there any script (Azure CLI) to get the list of owners of Azure subscription. We have a around 500 subscription. we need to get a owners of each subscription.
I’ve searched in Google but haven’t got any script to specifically to get owners list.
James
Hi Is there any script (Azure CLI) to get the list of owners of Azure subscription. We have a around 500 subscription. we need to get a owners of each subscription. I’ve searched in Google but haven’t got any script to specifically to get owners list. James Read More
Pushbutton sends app designer panel to the back.
I have an app with two buttons that use uigetfile to open a file, then the third processes them. When I push either of the first two buttons, it pushes the panel to the back. It looks like it has crashed. I have to click on tabs to get the panel back to the front to proceed. I have to process quite a few files. It seems there should be an easy solution, but it eludes me.
properties (Access = private)
RNETPath
RNETTable
KTMTable
end
% Callbacks that handle component events
methods (Access = private)
% Button pushed function: ReadRNETButton
function ReadRNETButtonPushed(app, event)
[RNETFilename, app.RNETPath]=uigetfile("*.csv");
% app.StatusEditField.Value=’Read and Process Test Iads’;
% Combine filename and path strings
RNETFileandPath=append(app.RNETPath,RNETFilename);
app.RNETTable = readtable(RNETFileandPath);
%
end
% Button pushed function: ReadKTMButton
function ReadKTMButtonPushed(app, event)
[KTMFilename, KTMPath]=uigetfile("*.csv");
%
% Combine filename and path strings
%
KTMFileandPath=append(KTMPath,KTMFilename);
app.KTMTable = readtable(KTMFileandPath);
endI have an app with two buttons that use uigetfile to open a file, then the third processes them. When I push either of the first two buttons, it pushes the panel to the back. It looks like it has crashed. I have to click on tabs to get the panel back to the front to proceed. I have to process quite a few files. It seems there should be an easy solution, but it eludes me.
properties (Access = private)
RNETPath
RNETTable
KTMTable
end
% Callbacks that handle component events
methods (Access = private)
% Button pushed function: ReadRNETButton
function ReadRNETButtonPushed(app, event)
[RNETFilename, app.RNETPath]=uigetfile("*.csv");
% app.StatusEditField.Value=’Read and Process Test Iads’;
% Combine filename and path strings
RNETFileandPath=append(app.RNETPath,RNETFilename);
app.RNETTable = readtable(RNETFileandPath);
%
end
% Button pushed function: ReadKTMButton
function ReadKTMButtonPushed(app, event)
[KTMFilename, KTMPath]=uigetfile("*.csv");
%
% Combine filename and path strings
%
KTMFileandPath=append(KTMPath,KTMFilename);
app.KTMTable = readtable(KTMFileandPath);
end I have an app with two buttons that use uigetfile to open a file, then the third processes them. When I push either of the first two buttons, it pushes the panel to the back. It looks like it has crashed. I have to click on tabs to get the panel back to the front to proceed. I have to process quite a few files. It seems there should be an easy solution, but it eludes me.
properties (Access = private)
RNETPath
RNETTable
KTMTable
end
% Callbacks that handle component events
methods (Access = private)
% Button pushed function: ReadRNETButton
function ReadRNETButtonPushed(app, event)
[RNETFilename, app.RNETPath]=uigetfile("*.csv");
% app.StatusEditField.Value=’Read and Process Test Iads’;
% Combine filename and path strings
RNETFileandPath=append(app.RNETPath,RNETFilename);
app.RNETTable = readtable(RNETFileandPath);
%
end
% Button pushed function: ReadKTMButton
function ReadKTMButtonPushed(app, event)
[KTMFilename, KTMPath]=uigetfile("*.csv");
%
% Combine filename and path strings
%
KTMFileandPath=append(KTMPath,KTMFilename);
app.KTMTable = readtable(KTMFileandPath);
end pushbutton uigetfile panel on top MATLAB Answers — New Questions