Skip to content

Commit

Permalink
make improvements of the svg geometry handler
Browse files Browse the repository at this point in the history
  • Loading branch information
xieguigang committed Nov 1, 2024
1 parent c29d009 commit 404abd7
Show file tree
Hide file tree
Showing 119 changed files with 7,196 additions and 5,267 deletions.
Original file line number Diff line number Diff line change
@@ -1,57 +1,57 @@
#Region "Microsoft.VisualBasic::59621032113849533ede49e629ae4ea9, Data_science\DataMining\DataMining\Clustering\HDBSCAN\Hdbscanstar\HdbscanAlgorithm.vb"

' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
'
' GNU GENERAL PUBLIC LICENSE (GPL3)
'
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.



' /********************************************************************************/

' Summaries:


' Code Statistics:

' Total Lines: 546
' Code Lines: 345 (63.19%)
' Comment Lines: 115 (21.06%)
' - Xml Docs: 61.74%
'
' Blank Lines: 86 (15.75%)
' File Size: 30.10 KB


' Class HdbscanAlgorithm
'
' Function: CalculateCoreDistances, CalculateOutlierScores, ComputeHierarchyAndClusterTree, ConstructMst, CreateNewCluster
' FindProminentClusters, PropagateTree
'
' Sub: CalculateNumConstraintsSatisfied
'
'
' /********************************************************************************/
#Region "Microsoft.VisualBasic::54ca1db4c44bd0022554f3d4d772b92b, Data_science\DataMining\DataMining\Clustering\HDBSCAN\Hdbscanstar\HdbscanAlgorithm.vb"

' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
'
' GNU GENERAL PUBLIC LICENSE (GPL3)
'
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.



' /********************************************************************************/

' Summaries:


' Code Statistics:

' Total Lines: 550
' Code Lines: 349 (63.45%)
' Comment Lines: 115 (20.91%)
' - Xml Docs: 61.74%
'
' Blank Lines: 86 (15.64%)
' File Size: 30.39 KB


' Class HdbscanAlgorithm
'
' Function: CalculateCoreDistances, CalculateOutlierScores, ComputeHierarchyAndClusterTree, ConstructMst, CreateNewCluster
' FindProminentClusters, PropagateTree
'
' Sub: CalculateNumConstraintsSatisfied
'
'
' /********************************************************************************/

#End Region

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Region "Microsoft.VisualBasic::de445f222ae8a549c9d3d6c81b1126f2, Data_science\DataMining\DataMining\Evaluation\LabelEvaluate\FakeAUCGenerator.vb"
#Region "Microsoft.VisualBasic::e6ecd19cab8bfb5bd347aaf56de84f68, Data_science\DataMining\DataMining\Evaluation\LabelEvaluate\FakeAUCGenerator.vb"

' Author:
'
Expand Down Expand Up @@ -35,12 +35,12 @@
' Code Statistics:

' Total Lines: 83
' Code Lines: 62 (74.70%)
' Comment Lines: 6 (7.23%)
' - Xml Docs: 100.00%
' Code Lines: 60 (72.29%)
' Comment Lines: 9 (10.84%)
' - Xml Docs: 66.67%
'
' Blank Lines: 15 (18.07%)
' File Size: 3.17 KB
' Blank Lines: 14 (16.87%)
' File Size: 3.29 KB


' Module FakeAUCGenerator
Expand Down
14 changes: 7 additions & 7 deletions Data_science/DataMining/DataMining/Evaluation/ROC.vb
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#Region "Microsoft.VisualBasic::ea32fe8e1509a8d1bac5a2bf1d8ab6dc, Data_science\DataMining\DataMining\Evaluation\ROC.vb"
#Region "Microsoft.VisualBasic::174d4a1d5f5fdce4c52257c339d70190, Data_science\DataMining\DataMining\Evaluation\ROC.vb"

' Author:
'
Expand Down Expand Up @@ -34,13 +34,13 @@

' Code Statistics:

' Total Lines: 139
' Code Lines: 73 (52.52%)
' Comment Lines: 51 (36.69%)
' - Xml Docs: 86.27%
' Total Lines: 151
' Code Lines: 78 (51.66%)
' Comment Lines: 53 (35.10%)
' - Xml Docs: 83.02%
'
' Blank Lines: 15 (10.79%)
' File Size: 5.33 KB
' Blank Lines: 20 (13.25%)
' File Size: 5.60 KB


' Module ROC
Expand Down
106 changes: 53 additions & 53 deletions Data_science/DataMining/DataMining/Evaluation/RegressionClassify.vb
Original file line number Diff line number Diff line change
@@ -1,56 +1,56 @@
#Region "Microsoft.VisualBasic::d098abc1b9f8528d5aaa10cf4ba44ad7, Data_science\DataMining\DataMining\Evaluation\RegressionClassify.vb"

' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
'
' GNU GENERAL PUBLIC LICENSE (GPL3)
'
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.



' /********************************************************************************/

' Summaries:


' Code Statistics:

' Total Lines: 29
' Code Lines: 16 (55.17%)
' Comment Lines: 7 (24.14%)
' - Xml Docs: 100.00%
'
' Blank Lines: 6 (20.69%)
' File Size: 786 B


' Class RegressionClassify
'
' Properties: actual, errors, predicts, sampleID
'
' Function: ToString
'
'
' /********************************************************************************/
#Region "Microsoft.VisualBasic::071ba879b853e83d31a344eee042f44a, Data_science\DataMining\DataMining\Evaluation\RegressionClassify.vb"

' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
'
' GNU GENERAL PUBLIC LICENSE (GPL3)
'
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.



' /********************************************************************************/

' Summaries:


' Code Statistics:

' Total Lines: 29
' Code Lines: 16 (55.17%)
' Comment Lines: 7 (24.14%)
' - Xml Docs: 100.00%
'
' Blank Lines: 6 (20.69%)
' File Size: 780 B


' Class RegressionClassify
'
' Properties: actual, errors, predicts, sampleID
'
' Function: ToString
'
'
' /********************************************************************************/

#End Region

Expand Down
107 changes: 56 additions & 51 deletions Data_science/DataMining/DataMining/Evaluation/RegressionROC.vb
Original file line number Diff line number Diff line change
@@ -1,54 +1,59 @@
#Region "Microsoft.VisualBasic::b7a38f375afa824c0d5309b49db8ee61, Data_science\DataMining\DataMining\Evaluation\RegressionROC.vb"

' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
'
' GNU GENERAL PUBLIC LICENSE (GPL3)
'
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.



' /********************************************************************************/

' Summaries:


' Code Statistics:

' Total Lines: 51
' Code Lines: 35 (68.63%)
' Comment Lines: 7 (13.73%)
' - Xml Docs: 100.00%
'
' Blank Lines: 9 (17.65%)
' File Size: 1.73 KB


' Module RegressionROC
'
' Function: ROC
'
'
' /********************************************************************************/
#Region "Microsoft.VisualBasic::4b62438d4bcd653b5f3a6212110858da, Data_science\DataMining\DataMining\Evaluation\RegressionROC.vb"

' Author:
'
' asuka (amethyst.asuka@gcmodeller.org)
' xie (genetics@smrucc.org)
' xieguigang (xie.guigang@live.com)
'
' Copyright (c) 2018 GPL3 Licensed
'
'
' GNU GENERAL PUBLIC LICENSE (GPL3)
'
'
' This program is free software: you can redistribute it and/or modify
' it under the terms of the GNU General Public License as published by
' the Free Software Foundation, either version 3 of the License, or
' (at your option) any later version.
'
' This program is distributed in the hope that it will be useful,
' but WITHOUT ANY WARRANTY; without even the implied warranty of
' MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
' GNU General Public License for more details.
'
' You should have received a copy of the GNU General Public License
' along with this program. If not, see <http://www.gnu.org/licenses/>.



' /********************************************************************************/

' Summaries:


' Code Statistics:

' Total Lines: 94
' Code Lines: 73 (77.66%)
' Comment Lines: 7 (7.45%)
' - Xml Docs: 100.00%
'
' Blank Lines: 14 (14.89%)
' File Size: 3.48 KB


' Module RegressionROC
'
' Function: (+2 Overloads) ROC
' Class RegressionHelper
'
' Function: label, predict
'
'
'
'
' /********************************************************************************/

#End Region

Expand Down
Loading

0 comments on commit 404abd7

Please sign in to comment.