Question: Please code in Python: age sex fracture weight_kg height_cm medication waiting_time bmd 57.0527678 1 0 64 155.5 1 18 0.8793 75.7412248 1 0 78 162
Please code in Python:

| age | sex | fracture | weight_kg | height_cm | medication | waiting_time | bmd |
| 57.0527678 | 1 | 0 | 64 | 155.5 | 1 | 18 | 0.8793 |
| 75.7412248 | 1 | 0 | 78 | 162 | 0 | 56 | 0.79460001 |
| 70.7789 | 0 | 0 | 73 | 170.5 | 0 | 10 | 0.90670002 |
| 78.2471753 | 1 | 0 | 60 | 148 | 0 | 14 | 0.7112 |
| 54.1918766 | 0 | 0 | 55 | 161 | 0 | 20 | 0.79089999 |
| 77.1777515 | 0 | 0 | 65 | 168 | 0 | 7 | 0.73009998 |
| 56.1806177 | 0 | 0 | 77 | 159 | 0 | 26 | 1.0096 |
| 49.9161399 | 1 | 0 | 59 | 150 | 0 | 9 | 0.73100001 |
| 68.4084033 | 0 | 0 | 64 | 167 | 1 | 6 | 0.6893 |
| 66.256648 | 0 | 0 | 72 | 159.5 | 0 | 10 | 0.94660002 |
The dataset linked above contains information about patients who may have bone fractures. The dataset contains the following information: - Age - Gender: Male (0), Female (1) - Fracture: No (0), Yes (1) -> Target variable - Weight in kg - Height in centimeters - Medication: No medication (0), Anticonvulsant or Glucocorticoids (1) - Waiting time - Bone mineral density (BMD) a. Partition the data into training and testing dataset in the ration of 7:3 (10 pts). b. Build the model using artificial neural networks and validate the model. Please provide your explanation if you need when you built the model (15 pts)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
