regarding machine learning onramp

6 views (last 30 days)
Poojalakshmi N .B
Poojalakshmi N .B on 24 May 2020
Answered: Sudharshan on 10 Nov 2024
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.

Answers (3)

VISHAL
VISHAL on 30 May 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 Comments
sarthak bagadi
sarthak bagadi on 26 Oct 2022
Edited: sarthak bagadi on 26 Oct 2022
thanks bro!
JAWHAR HUSSAIN
JAWHAR HUSSAIN on 31 Aug 2024
can you please give answer for task 4

Sign in to comment.


Logesh B
Logesh B on 1 Jan 2022
preprocds = transform(letterds,@scale)
  6 Comments
Jose
Jose on 13 Feb 2024
same here. Has someone managed to overcome this message?
Image Analyst
Image Analyst on 13 Feb 2024
Edited: Image Analyst on 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?

Sign in to comment.


Sudharshan
Sudharshan on 10 Nov 2024
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

Categories

Find more on Develop Apps Using App Designer in Help Center and File Exchange

Community Treasure Hunt

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

Start Hunting!