regarding machine learning onramp

sir i am stuck at module 3.3 of machine learning onramp course at task 1.
please do help me to continue with the course.

Risposte (3)

VISHAL
VISHAL il 30 Mag 2020
letterds = datastore("*_M_*.txt");
data = read(letterds);
data = scale(data);
plot(data.X,data.Y)
axis equal
plot(data.Time,data.Y)
ylabel("Vertical position")
xlabel("Time")
function data = scale(data)
data.Time = (data.Time - data.Time(1))/1000;
data.X = 1.5*data.X;
end

2 Commenti

sarthak bagadi
sarthak bagadi il 26 Ott 2022
Modificato: sarthak bagadi il 26 Ott 2022
thanks bro!
can you please give answer for task 4

Accedi per commentare.

Logesh B
Logesh B il 1 Gen 2022

0 voti

preprocds = transform(letterds,@scale)

6 Commenti

It keeps coming up with an error message when I enter that code into task 2, is there an alternative code?
I echo the same question. It keeps saying " does the variable preprocds exist?"
same here.
same here
Jose
Jose il 13 Feb 2024
same here. Has someone managed to overcome this message?
Image Analyst
Image Analyst il 13 Feb 2024
Modificato: Image Analyst il 13 Feb 2024
What is the link for the on-ramp course. If I call it up can I jump to that question or do I have to do all the prior tasks before getting to that?

Accedi per commentare.

function data = scale(data)
data.Time = (data.Time - data.Time(1))/1000;
data.X = 1.5*data.X;
data.X = data.X - mean(data.X);
data.Y = data.Y - mean(data.Y);
end

Categorie

Scopri di più su Develop Apps Using App Designer in Centro assistenza e File Exchange

Richiesto:

il 24 Mag 2020

Risposto:

il 10 Nov 2024

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by