In accordance with an example embodiment a method, apparatus and computer program product are provided. The method comprises receiving, at an apparatus, a sampled data associated with an activity from one or more sensors wirelessly coupled to the apparatus. The sampled data is generated at the one or more sensors based on a compressive sampling of an activity data associated with the activity. The compressive sampling is performed based on a sampling information. The activity is classified based at least on the sampled data. An error associated with the classification of the activity is determined. The sampling information is updated or retained based on a comparison of the error with a threshold error. The updated sampling information is utilized for generating an updated sampled data. The updated sampled data facilitates in reclassification of the activity.