Update README.md
Browse files1234567891011121314151617181920212223242526272829303132333435363738394041424344license: openraillanguage:enmetrics:accuracypipeline_tag: image-classificationbase_model:tensorflow/kerastraining_process:CNN with 3 convolutional layers, max pooling, and 2 dense layersTrained on custom stock chart image datasetBinary classification (bullish vs bearish)datasets:Custom stock chart image dataset (train/val/test splits)Model OverviewThis Convolutional Neural Network (CNN) classifies stock chart images as bullish or bearish, using a binary classification approach to predict market trends based on visual patterns.Model DetailsArchitecture: Sequential CNN with 3 Convolutional layers, MaxPooling, Flatten, and 2 Dense layersInput: RGB images (150x150 pixels)Output: Binary classification (0 for bearish, 1 for bullish)Training Data: Custom dataset of stock chart images, split into train/validation/test setsMetrics: Accuracy, Precision, Recall, F1-ScoreIntended UsePrimary Use: Automated classification of stock chart patternsIntended Users: Financial analysts, traders, automated trading systemsOut-of-Scope Uses: Real-time trading decisions without human oversight, long-term market predictionsPerformance and LimitationsMetrics: Accuracy: 0.57Limitations:Binary classification onlyMay not capture complex market dynamicsPerformance depends on training data qualityEthical ConsiderationsPotential for dataset-based biasesNot to be used as sole basis for financial decisionsMay perpetuate existing market trendsCaveats and RecommendationsRegular retraining with recent data recommendedUse alongside other analysis tools and human expertiseConsider expanding to multi-class classification123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384stock_trend_analysis:model:architecture:image_branch:input_shape: [150, 150, 3]layers:- Conv2D_1:filters: 32kernel_size: [3, 3]activation: relu- MaxPooling2D_1:pool_size: [2, 2]- Conv2D_2:filters: 64kernel_size: [3, 3]activation: relu- MaxPooling2D_2:pool_size: [2, 2]- Conv2D_3:filters: 128kernel_size: [3, 3]activation: relu- MaxPooling2D_3:pool_size: [2, 2]- Flattennumerical_branch:input_shape: [5] # 5 technical indicatorslayers:- Dense:units: 64activation: relucombined_layers:- Dense:units: 128activation: relu- Dense:units: 1activation: sigmoiddata_generator:class: CombinedDataGeneratorparameters:batch_size: 32img_size: [150, 150]shuffle: truefeature_extraction:image_processing:- grayscale_conversion- edge_detection:method: Cannythreshold1: 50threshold2: 150- line_detection:method: HoughLinesPmin_line_length: 20max_line_gap: 5technical_indicators:- slope:method: polyfitdegree: 1- volatility:method: standard_deviation- trend_strength:method: mean_absolute_diff- momentum:method: price_differenceperiod: 10- support_resistance:method: min_max_differencetraining:optimizer: adamloss: binary_crossentropymetrics: [accuracy]requirements:- tensorflow- opencv-python- numpy- scikit-learn
README.md+80-40