ZIYANGSONG2003 / AI-Enhanced-WordPress-Development-Toolkit

COMP3500
3 stars 8 forks source link

B2.1 By observing the code of the button on WordPress, we can summarize the code used to train AI. #191

Closed Guanweiyi1999 closed 1 month ago

Guanweiyi1999 commented 1 month ago

Collect button code data

  1. Manually or automatically extract HTML/CSS/JavaScript button code snippets from WordPress themes, plugins, or existing websites. Include codes for different types of buttons (such as text buttons, icon buttons, buttons with different colors, shapes, sizes, special effects, etc.).
  2. Make sure that the dataset covers buttons of different uses and styles, including ordinary buttons, submit buttons, hover effects, dynamic loading buttons, etc.

Cleaning and normalization

  1. Remove redundant code, standardize code format, and ensure data consistency.

Data splitting

  1. Split the dataset into training set, validation set, and test set (for example, 70% for training, 15% for validation, and 15% for testing).
  2. Make sure each dataset covers different types of buttons to improve the generalization ability of the model.
BillyHeYifan commented 1 month ago

Overall, your work plan is very detailed and comprehensive, covering the entire process from data collection to cleaning and normalization, and finally to data splitting. I believe these steps lay a solid foundation for the subsequent model training and evaluation. I hope you can continue to maintain attention to detail during the implementation, and further optimize the data diversity and the model's generalization ability. I’m looking forward to seeing the results of your work!