Skip to content

Commit

Permalink
fix(notes): merged obsidian duplicate folders
Browse files Browse the repository at this point in the history
  • Loading branch information
f-aguzzi committed Apr 23, 2024
1 parent c794037 commit 234b200
Show file tree
Hide file tree
Showing 17 changed files with 105 additions and 101 deletions.
1 change: 0 additions & 1 deletion Notes/.obsidian/app.json

This file was deleted.

22 changes: 0 additions & 22 deletions Notes/.obsidian/graph.json

This file was deleted.

8 changes: 0 additions & 8 deletions Notes/PCA-LR.md

This file was deleted.

7 changes: 0 additions & 7 deletions Notes/SVM.md

This file was deleted.

6 changes: 0 additions & 6 deletions Notes/To-do.md

This file was deleted.

3 changes: 3 additions & 0 deletions notes/.obsidian/app.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"alwaysUpdateLinks": true
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
127 changes: 74 additions & 53 deletions Notes/.obsidian/workspace.json → notes/.obsidian/workspace.json
Original file line number Diff line number Diff line change
@@ -1,52 +1,88 @@
{
"main": {
"id": "eb01d0a6f1962f5e",
"id": "1203c0229df73e1e",
"type": "split",
"children": [
{
"id": "2beb91efac296fab",
"id": "94e9d5803f612753",
"type": "tabs",
"children": [
{
"id": "2b877e54fb75ec5c",
"id": "66517fa92e5e4e46",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Devlog/2024-04-22.md",
"file": "Constructors.md",
"mode": "source",
"source": false
}
}
},
{
"id": "52bce96610409a39",
"id": "2caa76305fb5b8b4",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Devlog/2024-04-22.md",
"file": "Logistic Regression.md",
"mode": "source",
"source": false
}
}
},
{
"id": "6dda70db89ad2933",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "PCA.md",
"mode": "source",
"source": false
}
}
},
{
"id": "660d4d9168670a42",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "SVM.md",
"mode": "source",
"source": false
}
}
},
{
"id": "e4df7a70f5352317",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "kNN.md",
"mode": "source",
"source": false
}
}
}
],
"currentTab": 1
"currentTab": 4
}
],
"direction": "vertical"
},
"left": {
"id": "04ff4c025f2c16e0",
"id": "60af4f6feb533499",
"type": "split",
"children": [
{
"id": "f8a3cdc60aeabbad",
"id": "0203dda5098272ec",
"type": "tabs",
"children": [
{
"id": "fdbd6f5fd01aaf1f",
"id": "4965870b0e947e00",
"type": "leaf",
"state": {
"type": "file-explorer",
Expand All @@ -56,7 +92,7 @@
}
},
{
"id": "f11db3628b3fdb5f",
"id": "69b4f60d7fac2867",
"type": "leaf",
"state": {
"type": "search",
Expand All @@ -71,7 +107,7 @@
}
},
{
"id": "e92032a007c3f6a0",
"id": "a20b4a3d4c90e97a",
"type": "leaf",
"state": {
"type": "bookmarks",
Expand All @@ -85,20 +121,27 @@
"width": 300
},
"right": {
"id": "fb9c98fe6cf3074d",
"id": "a352c7f8678ea16b",
"type": "split",
"children": [
{
"id": "9c827f25e4c30ca8",
"id": "f08fdf8c7580018a",
"type": "tabs",
"children": [
{
"id": "54ea5e06480672de",
"id": "b1dfdb5fede05fdf",
"type": "leaf",
"state": {
"type": "calendar",
"state": {}
}
},
{
"id": "1fde85fb63aa0611",
"type": "leaf",
"state": {
"type": "backlink",
"state": {
"file": "Devlog/2024-04-22.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
Expand All @@ -110,19 +153,18 @@
}
},
{
"id": "dbaafc75a16bb96e",
"id": "8b992b1cd0869514",
"type": "leaf",
"state": {
"type": "outgoing-link",
"state": {
"file": "Devlog/2024-04-22.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
}
},
{
"id": "9748e0ec4e037ed9",
"id": "4f9460d1b07202ef",
"type": "leaf",
"state": {
"type": "tag",
Expand All @@ -133,29 +175,21 @@
}
},
{
"id": "bce02055278d228a",
"id": "4e0d56138da7c14f",
"type": "leaf",
"state": {
"type": "outline",
"state": {
"file": "Devlog/2024-04-22.md"
"file": "Docs/LLDF.md"
}
}
},
{
"id": "d5a5c176fb47d770",
"type": "leaf",
"state": {
"type": "calendar",
"state": {}
}
}
],
"currentTab": 4
]
}
],
"direction": "horizontal",
"width": 300
"width": 300,
"collapsed": true
},
"left-ribbon": {
"hiddenItems": {
Expand All @@ -167,30 +201,17 @@
"command-palette:Apri riquadro comandi": false
}
},
"active": "52bce96610409a39",
"active": "4965870b0e947e00",
"lastOpenFiles": [
"UML/Components.md",
"Devlog/2024-04-22.md",
"Devlog/2024-04-23.md",
"UML/Sequence.md",
"UML/Process state machine.md",
"Devlog/2024-04-20.md",
"Devlog/2024-04-19.md",
"Templates/Daily devlog.md",
"UML/Use cases.md",
"To-do.md",
"Kanban.md",
"Devlog",
"Templates",
"PEP coding standards.md",
"Use Case Diagram.md",
"UML",
"Conventional Commits.md",
"kNN.md",
"Docs/LLDF.md",
"Docs",
"Use Case Diagram.md",
"To do.md",
"SVM.md",
"Linear Regression.md",
"PCA.md",
"Logistic Regression.md",
"PCA-LR.md",
"Constructors.md",
"PCA.md"
"Constructors.md"
]
}
6 changes: 4 additions & 2 deletions Notes/Constructors.md → notes/Constructors.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,15 +8,16 @@ class Person:
self.name = name
```

The constructor always takes the name of `__init()__`.
The first parameter of the constructor is always a self-reference and is conventionally named `self` but it could take any other name.
The constructor always takes the name of `__init()__`. The first parameter of the constructor is always a self-reference and is conventionally named self but it could take any other name.

The constructor from the previous example can be instantiated this way:

```python
person = Person("Bob")
```

In the case of a [[Subclass|subclass]], we can invoke the superclass constructor this way:

```python
class Employee(Person):
def __init__(self, name, employee_id):
Expand All @@ -25,6 +26,7 @@ class Employee(Person):
```

Constructors can be overloaded in the sense that some of their parameters can be made optional by providing them with a default value: This piece of code, for example, will initialize a bank account with no owner and a balance of 0€:

```python
class BankAccount:
def __init__(self, owner=None, balance=0):
Expand Down
File renamed without changes.
8 changes: 8 additions & 0 deletions notes/PCA-LR.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#statistics

Applies [[PCA]] to reduce data dimensionality and then [[Logistic Regression]] to classify data.

Pros:
- easy, robust, flexible
Cons:
- usually not the best classifier for chemical data
2 changes: 1 addition & 1 deletion Notes/PCA.md → notes/PCA.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#statistics

**Principal Component Analysis** is a statistical technique used to reduce the dimensionality of data while retaining the maximum possible covariance.
**Principal Component Analysis** is a statistical technique used to reduce the dimensionality of data while retaining the maximum possible covariance.

Correlation between components indicates that those components are not orthogonal. By re-projecting data onto a lower number of orthogonal axes (therefore with no correlation), PCA allows to use the minimum possible amount of axes to explain the data, with the catch that those new axes will often not bear any resemblance to the original axes.
7 changes: 7 additions & 0 deletions notes/SVM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#statistics

**Support Vector Machines** is a statistical classification algorithm that provides binary classification through a hyperplane that maximises the margin of separation.

The _support vectors_ are the data points closest to the hyperplane, which have the highest influence on its position.

SVM forces the data to be linearly separable by re-projecting it onto a higher-dimension space until linear separability through a hyperplane is achievable.
7 changes: 7 additions & 0 deletions notes/To do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#statistics #todo

- [ ]  PCA-QDA
- [ ]  QDA
- [ ]  PLSDA
- [ ]  PCA-LDA
- [ ]  LDA
2 changes: 1 addition & 1 deletion Notes/kNN.md → notes/kNN.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#statistics

**k-Nearest-Neighbors** is a classification technique that classifies new data points based on the class of the closest data sample in the reference dataset.
**k-Nearest-Neighbors** is a classification technique that classifies new data points based on the class of the closest data sample in the reference dataset.

It's a non-parametric technique that doesn't assume any distribution and does not require training. However, it's highly sensitive to outliers and wrongly classified points in the reference data.

0 comments on commit 234b200

Please sign in to comment.