Python Allocation Optimization

200.0 USD

200.0 USD peopleperhour 技术与编程 海外
706天前

详细信息

I'm embarking on a new project and would like some help. I am attempting to optimize facings on a shelf from a range of products to generate the highest return of Gross Profit $'s. This project needs to take things into consideration such as Diminishing Returns. I will be able to provide 3 years worth of data for this project.
These are aspects of the project I'm considering.
#1 Data Preprocessing: Start by cleaning and preprocessing your data. Handle missing values, outliers, and normalize or standardize variables as needed.
#2 Exploratory Data Analysis (EDA): Perform EDA on the preprocessed data to gain insights and understand the relationships between variables. Visualize the data and conduct correlation analysis to identify patterns and trends.
#3 Regression Analysis: Use regression analysis to identify the coefficients for each product and understand the relationship between facings and Gross Profit. This step will provide you with a foundation for further optimization.
#4 Consider Diminishing Returns: Analyze the historical data to identify the point of diminishing returns for each product. Determine the inflection point where additional facings provide less value in terms of Gross Profit.
#5 Optimal Facing Determination: Use the coefficients obtained from the regression analysis to calculate the optimal facing for each product. Consider the Gross Profit generated by each product at different facing levels and identify the facing level that maximizes the Gross Profit for each product individually.
#6 Marginal Increase/Decrease: Calculate the marginal increase or decrease in Gross Profit for each additional facing, based on the inflection point determined in the previous step. Understand the incremental impact of facings on Gross Profit.
#7 Allocation of Facings: Utilize the insights gained from the previous steps to allocate the optimal number of facings for each product. Distribute the facings among the products in a way that maximizes the overall Gross Profit while considering the optimal facing determined for each product.
#8 Model Evaluation and Validation: Split your data into training and testing sets. Evaluate the performance of your regression models on unseen data using appropriate metrics like mean squared error (MSE), R-squared, or adjusted R-squared. This step ensures that your models have good predictive power.
#9 Implementation in Python: Once you have a clear understanding of the approach and steps involved, implement the optimization process in Python. Utilize libraries such as scikit-learn, pandas, and scipy to automate the analysis and decision-making processes.
I've worked out some of the code, but I'm running into an issue that I can't seem to figure out. I am by no means a skilled programmer, novice at best, and this project has taken me nearly 9-months to learn and try to figure out.
I'm sure I am doing a lot wrong here, but the main issue I'm having is when I attempt to Run data2.csv with 90 facings, it will generate 0 allocation facings for each product. The same happens for any number higher than 90 and even 89, 88, 87...all the way to 84. At 83 it will optimize.
Likewise, similar issues if I utilize data.csv instead of data2.csv and set it to anything above 20 facings.
I'm looking for this to be remedied and any processes to be corrected.

免责声明

该外包需求信息来源于站外平台,本站仅提供公开信息部分字段展示与订阅服务,更多请查看免责声明

关注公众号,不定期副业成功案例分享
关注公众号

不定期副业成功案例分享

领先一步获取最新的外包任务吗?

立即订阅

类似推荐

430.0 EUR 技术与编程 peopleperhour 海外
3天前
Advanced Web Scraping Specialist for Amazon Price Monitoring and Notification System Duration: 3 - 6 Months (Possibly Longer) Start Date: ASAP Overview: We are seeking an experienced and highly skilled freelancer to create a complex web scraping system that will monitor product prices on Amazon in real-time. This system must be able to efficiently scrape Amazon's product listings, detect price changes, and notify users of these changes with high accuracy and speed. This project requires a strong understanding of web scraping, API integration, and advanced data handling techniques. You should be comfortable with large-scale data extraction, working with multiple product categories, and managing frequent updates. Key Responsibilities: Web Scraping: Build a scalable web scraper to extract product data (price, title, product description, reviews, etc.) from multiple Amazon product pages. This includes handling pages with dynamic content and CAPTCHAs. - Price Change Detection: Implement a robust system to track price changes for thousands of products on Amazon in real-time. Ensure that the system can identify price fluctuations, including minor adjustments. Notification System: Develop a user-friendly notification system that alerts users when a product price changes. Notifications should be sent via email or push notifications (based on user preference). - Data Storage: Build an efficient data storage solution for the scraped data, ensuring historical price tracking is available. You must optimize storage and retrieval of large volumes of data. Scaling: Ensure that the scraper can scale effectively, with the ability to handle high volumes of products and frequent price updates. - Accuracy & Reliability: The scraper should minimize errors (false positives/negatives) in price change detection and be able to handle rate-limiting and anti-scraping mechanisms implemented by Amazon. - User Interface (Optional): If feasible, create a simple front-end interface where users can track their selected products, receive notifications, and customize their preferences. Follow best practices to avoid being blocked or banned by Amazon. - Required Skills & Experience: Advanced Web Scraping: Proven experience with advanced scraping techniques using tools like BeautifulSoup, Scrapy, Selenium, or Puppeteer. - API Integration: Strong experience with integrating third-party APIs, especially for notification systems (e.g., SendGrid, Twilio). - Real-Time Data Processing: Expertise in setting up real-time data pipelines and event-driven architectures. - Cloud Infrastructure: Knowledge of cloud platforms (AWS, GCP, Azure) to deploy the system and manage resources efficiently. - Data Storage & Databases: Proficient in designing and maintaining databases, with experience in relational and NoSQL databases (PostgreSQL, MongoDB, etc.). - Programming: Strong knowledge of Python, JavaScript, or other relevant languages. Experience with multithreading, async programming, and handling large-scale data. - Anti-Scraping Measures: Deep understanding of IP rotation, proxy servers, CAPTCHAs, and other countermeasures to avoid being blocked by Amazon’s anti-scraping mechanisms. - Attention to Detail: Ability to deliver accurate and well-tested solutions with minimal oversight. Nice-to-Haves: - Experience with Headless Browsers: Familiarity with using headless browsers (e.g., Puppeteer, Playwright) to interact with dynamic Amazon pages. - Machine Learning: Experience with machine learning for detecting patterns in price changes or predicting future price trends (optional but a plus). - Prior Amazon Scraping Projects: Any prior experience scraping Amazon and handling its anti-scraping protocols will be an advantage. Start your Proposal with "My Prior Experience in this" Deliverables: - A fully functional Amazon price monitoring system that tracks price changes and notifies users. - A detailed report of the system architecture, installation guides, and any relevant documentation. - Source code and technical documentation for future updates or changes. Why Work With Us: - Challenging Project: You’ll be tackling a high-complexity project that will require innovation and technical expertise. - Collaborative Team: You’ll work closely with a team of developers and product managers to bring this project to life. - Long-Term Opportunity: A successful completion could lead to more projects in the future as we expand our platform. If you are an experienced, detail-oriented developer who enjoys tackling complex challenges and building scalable systems, we want to hear from you! How to Apply: Please provide: 1. A brief description of similar projects you’ve worked on. 2. A portfolio of relevant work or Resume + Linkedin/GitHub repositories. 3. Your approach to handling large-scale web scraping and price monitoring systems. 4. Estimated timeline for completing the project. 5. Hourly rate or project rate. Looking forward to working with you!
750.0 USD 技术与编程 peopleperhour 海外
59分钟前