deedrop1140 commited on
Commit
76d7e0d
·
verified ·
1 Parent(s): c61ce8c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +88 -3
app.py CHANGED
@@ -539,6 +539,10 @@ def frontpage():
539
  def home():
540
  return render_template('home.html')
541
 
 
 
 
 
542
  @app.route('/supervise')
543
  def supervise():
544
  return render_template('supervise.html', active_page='supervise')
@@ -877,75 +881,156 @@ def run_svr_demo():
877
  def clean_text(text):
878
  return text.lower().strip()
879
 
880
-
881
-
882
  # Gradient-desent route
883
  @app.route('/gradient-descent')
884
  def gradient_descent():
885
- return render_template('Gradient-Descen.html')
 
 
 
 
 
 
886
 
887
  # Gradient-boosting route
888
  @app.route('/gradient-boosting')
889
  def gradient_boosting():
890
  return render_template('Gradient-Boosting.html')
 
 
 
 
 
 
891
 
892
  # Gradient-xgboost route
893
  @app.route('/xgboost-regression')
894
  def xgboost_regression():
895
  return render_template('XGBoost-Regression.html')
896
 
 
 
 
 
 
 
 
 
 
 
897
  #Gradient-lightgbm route
898
  @app.route('/lightgbm')
899
  def lightgbm():
900
  return render_template('LightGBM-Regression.html')
901
 
 
 
 
 
 
 
 
 
 
 
 
902
  #nerual network route for calssifcation
903
  @app.route('/neural-network-classification')
904
  def neural_network_classification():
905
  return render_template('Neural-Networks-for-Classification.html')
906
 
 
 
 
 
 
 
907
  #hierarchical clustering route
908
 
909
  @app.route('/hierarchical-clustering')
910
  def hierarchical_clustering():
911
  return render_template('Hierarchical-Clustering.html')
912
 
 
 
 
 
 
913
  #Gaussian-mixture-models route
914
  @app.route('/gaussian-mixture-models')
915
  def gaussian_mixture_models():
916
  return render_template('Gaussian-Mixture-Models.html')
917
 
 
 
 
 
 
 
 
918
  #Principal-Component-Analysis
919
  @app.route('/pca')
920
  def pca():
921
  return render_template('Principal-Component-Analysis.html')
922
 
 
 
 
 
 
 
923
  #t-sne
924
  @app.route('/t-sne')
925
  def tsne():
926
  return render_template('t-SNE.html')
927
 
 
 
 
 
 
928
  # liner-discriminant-analysis
929
  @app.route('/lda')
930
  def lda():
931
  return render_template('Linear-Discriminant-Analysis.html')
932
 
 
 
 
 
 
 
933
  # Independent-Component-Analysis
934
  @app.route('/ica')
935
  def ica():
936
  return render_template('Independent-Component-Analysis.html')
937
 
 
 
 
 
 
 
 
938
  #Apriori
939
  @app.route('/apriori')
940
  def apriori():
941
  return render_template('Apriori-Algorithm.html')
942
 
 
 
 
 
943
 
944
  # Eclat Algorithm
945
  @app.route('/eclat')
946
  def eclat():
947
  return render_template('Eclat-Algorithm.html')
948
 
 
 
 
 
949
  #genrative models
950
  @app.route('/generative-models')
951
  def generative_models():
 
539
  def home():
540
  return render_template('home.html')
541
 
542
+ @app.route('/Optimization')
543
+ def Optimization():
544
+ return render_template('Optimization.html', active_page='Optimization')
545
+
546
  @app.route('/supervise')
547
  def supervise():
548
  return render_template('supervise.html', active_page='supervise')
 
881
  def clean_text(text):
882
  return text.lower().strip()
883
 
 
 
884
  # Gradient-desent route
885
  @app.route('/gradient-descent')
886
  def gradient_descent():
887
+ return render_template('Gradient-Descen.html')
888
+ #new
889
+
890
+ @app.route('/gradient-descent-three')
891
+ def gradient_descent_three():
892
+ return render_template('gradient-descent-three.html')
893
+
894
 
895
  # Gradient-boosting route
896
  @app.route('/gradient-boosting')
897
  def gradient_boosting():
898
  return render_template('Gradient-Boosting.html')
899
+ #new
900
+ @app.route('/gradient-boosting-three')
901
+ def gradient_boosting_three():
902
+ return render_template('gradient-boosting-three.html')
903
+
904
+
905
 
906
  # Gradient-xgboost route
907
  @app.route('/xgboost-regression')
908
  def xgboost_regression():
909
  return render_template('XGBoost-Regression.html')
910
 
911
+ @app.route('/xgboost-tree-three')
912
+ def xgboost_regression_three():
913
+ return render_template('xboost-tree-three.html')
914
+
915
+ @app.route('/xgboost-graph-three2')
916
+ def xgboost_regression_three2():
917
+ return render_template('xbost-graph-three.html')
918
+
919
+
920
+
921
  #Gradient-lightgbm route
922
  @app.route('/lightgbm')
923
  def lightgbm():
924
  return render_template('LightGBM-Regression.html')
925
 
926
+
927
+ @app.route('/Naive-Bayes-Simulator')
928
+ def Naive_Bayes_Simulator():
929
+ return render_template('Naive-Bayes-Simulator.html')
930
+
931
+ @app.route('/svm-model-three')
932
+ def svm_model_three():
933
+ return render_template('SVM_Simulator_3D.html')
934
+
935
+
936
+
937
  #nerual network route for calssifcation
938
  @app.route('/neural-network-classification')
939
  def neural_network_classification():
940
  return render_template('Neural-Networks-for-Classification.html')
941
 
942
+ @app.route('/Neural-Networks-for-Classification-three')
943
+ def Neural_Networks_for_Classification_three():
944
+ return render_template('Neural-Networks-for-Classification-three.html')
945
+
946
+
947
+
948
  #hierarchical clustering route
949
 
950
  @app.route('/hierarchical-clustering')
951
  def hierarchical_clustering():
952
  return render_template('Hierarchical-Clustering.html')
953
 
954
+ @app.route('/hierarchical-three')
955
+ def hierarchical_three():
956
+ return render_template('Hierarchical-three.html')
957
+
958
+
959
  #Gaussian-mixture-models route
960
  @app.route('/gaussian-mixture-models')
961
  def gaussian_mixture_models():
962
  return render_template('Gaussian-Mixture-Models.html')
963
 
964
+ @app.route('/gaussian-mixture-three')
965
+ def gaussian_mixture_three():
966
+ return render_template('gmm-threejs.html')
967
+
968
+
969
+
970
+
971
  #Principal-Component-Analysis
972
  @app.route('/pca')
973
  def pca():
974
  return render_template('Principal-Component-Analysis.html')
975
 
976
+ @app.route('/pca-three')
977
+ def pca_three():
978
+ return render_template('pca-threejs.html')
979
+
980
+
981
+
982
  #t-sne
983
  @app.route('/t-sne')
984
  def tsne():
985
  return render_template('t-SNE.html')
986
 
987
+ @app.route('/t-sne-three')
988
+ def tsne_three():
989
+ return render_template('t-sne-three.html')
990
+
991
+
992
  # liner-discriminant-analysis
993
  @app.route('/lda')
994
  def lda():
995
  return render_template('Linear-Discriminant-Analysis.html')
996
 
997
+
998
+ @app.route('/lda-three')
999
+ def lda_three():
1000
+ return render_template('lda-three.html')
1001
+
1002
+
1003
  # Independent-Component-Analysis
1004
  @app.route('/ica')
1005
  def ica():
1006
  return render_template('Independent-Component-Analysis.html')
1007
 
1008
+
1009
+
1010
+ @app.route('/ica-three')
1011
+ def ica_three():
1012
+ return render_template('ica-threejs.html')
1013
+
1014
+
1015
  #Apriori
1016
  @app.route('/apriori')
1017
  def apriori():
1018
  return render_template('Apriori-Algorithm.html')
1019
 
1020
+ @app.route('/apriori-three')
1021
+ def apriori_three():
1022
+ return render_template('Apriori-Simulator-three.html')
1023
+
1024
 
1025
  # Eclat Algorithm
1026
  @app.route('/eclat')
1027
  def eclat():
1028
  return render_template('Eclat-Algorithm.html')
1029
 
1030
+ @app.route('/eclat-three')
1031
+ def eclat_three():
1032
+ return render_template('Eclat-Algorithm-three.html')
1033
+
1034
  #genrative models
1035
  @app.route('/generative-models')
1036
  def generative_models():