Adeiladwch eich geirfa ar gyfer codio yn Python ac archwilio AI! Dysgwch siarad am strwythur cod, llyfrgelloedd, a datblygiadau technoleg newydd wrth wella'ch sgiliau rhaglennu. Perffaith ar gyfer dysgwyr canolradd sy'n dymuno trafod pynciau technoleg yn rhuglach.
Stories
Lena Optimizes Python Algorithm
English
Lena loves writing code in Python. She has been working on an AI project for a large company, but her algorithm hasn't been optimized yet. "Have you debugged the program yet?" her team asked last week. She said she had processed the datasets efficiently, but the model still needed work. Despite being complex, the project was not impossible. They used an outdated library, so she had to implement a new one. "May we train the models quickly?" she asked. The scientists confirmed they could. Every day, she writes code to analyze data and improve features. He used to debug manually, but now they automate the process. Your project? It might be next!
Neural Network Improves Over Time
English
The scientists were excited about their new neural network. They had built it last month to automate repetitive tasks, but the initial results weren’t accurate. "Have you preprocessed the data correctly?" she asked. He admitted the dataset wasn’t analyzed properly before training. Despite their difficulties, they decided to refactor the old code. "We must fine-tune the parameters," he said. They integrated new APIs and deployed the model on the server. Even though errors crashed the program at first, it now handles them gracefully. The results are better this week. "Were the tasks automated yet?" she wondered. Next, they will visualize the data to improve accuracy.
Model Training Challenges
English
The team was excited—they had just trained a new classifier. The data had been split into training and test sets, and the features were encoded manually. Despite their efforts, the model was overfit. "Have you evaluated the performance yet?" asked the lead engineer. She confirmed the results were incomplete. "We must normalize the data," she said. They scaled the variables, but the model still underfit. "May we try regularization?" someone suggested. By morning, the model had been reevaluated. The normalization improved accuracy, but the performance was not high enough. "Your dataset might be too small," he warned. "Has the model been loaded successfully?" They visualized the results and found a mistake—some features had not been scaled properly. "Did you check the encoding?" she asked. The team used to encode data automatically, but now they did it manually. Despite the challenges, they were determined to improve the model. "We must train it again," she said. The classifier has been working since yesterday, but the results have not improved yet. "Have you tried adjusting the hyperparameters?" he asked. The team knew they had to be patient—good models take time.
Sample flashcards 20
ysgrifennu cod→to write code
Mae hi'n ysgrifennu cod bob dydd.→She writes code every day.
Ydy e'n ysgrifennu cod ar gyfer ei brosiectau?→Does he write code for his projects?
Dydyn nhw ddim yn ysgrifennu cod yn Python.→They do not write code in Python.
debugio rhaglen→to debug a program
Ydych chi wedi debugio'r rhaglen eto?→Have you debugged the program yet?
Dydy'r rhaglen ddim wedi'i debugio eto.→The program hasn't been debugged yet.
defnyddio llyfrgell→to use a library
defnyddio llyfrgell Python→to use a Python library
Gawn ni ddefnyddio'r llyfrgell Python hon ar gyfer ein prosiect?→May we use this Python library for our project?
Efallai na fydd eich tîm yn defnyddio'r llyfrgell hen ffasiwn honno.→Your team may not use that outdated library.
hyfforddi model→to train a model
Mae gwyddonwyr yn hyfforddi modelau AI gyda setiau data mawr.→Scientists train AI models with large datasets.
Ydy'r model wedi'i hyfforddi eto?→Has the model been trained yet?
optimeiddio algorithm→to optimize an algorithm
optimeiddio'r algorithm→to optimize the algorithm
Dywedodd eu bod wedi optimeiddio'r algorithm.→He said they had optimized the algorithm.
Er ei fod yn gymhleth, cafodd y algorithm ei optimeiddio'n gyflym.→Despite being complex, the algorithm was optimized quickly.
gweithredu nodwedd→to implement a feature
Roedden ni'n arfer gweithredu nodweddion â llaw.→We used to implement features manually.
A sample of the collection — the full set lives in the app.
Learn this topic in Taalhammer
Spaced repetition, pronunciation and audio — in the app.